Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 197.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002362/0.002362, allocations: 279 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.019/1.019, allocations: 178.6 MB / 0.5073 GB, free: 4.562 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002593/0.002593, allocations: 96.61 kB / 0.6065 GB, free: 24.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1571, allocations: 89.15 MB / 0.6936 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007083/0.1642, allocations: 5.097 MB / 0.6986 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4688/0.633, allocations: 150.6 MB / 0.8457 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006919/0.6337, allocations: 16.34 kB / 0.8457 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005264/0.6343, allocations: 198.1 kB / 0.8459 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.6358, allocations: 0.5596 MB / 0.8464 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.6376, allocations: 0.8347 MB / 0.8472 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00145/0.6391, allocations: 1.416 MB / 0.8486 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007962/0.6399, allocations: 0.5948 MB / 0.8492 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006123/0.6405, allocations: 492.5 kB / 0.8497 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006254/0.6412, allocations: 0.5138 MB / 0.8502 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.6413, allocations: 122.1 kB / 0.8503 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008447/0.6422, allocations: 455.7 kB / 0.8507 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002789/0.6425, allocations: 305 kB / 0.851 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005354/0.643, allocations: 0.5859 MB / 0.8516 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.6448, allocations: 1.62 MB / 0.8532 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6448, allocations: 4 kB / 0.8532 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6448, allocations: 0 / 0.8532 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.403e-05/0.6449, allocations: 1.438 kB / 0.8532 GB, free: 1.977 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002471/0.6473, allocations: 1.474 MB / 0.8546 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.6474, allocations: 10.03 kB / 0.8546 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/0.6475, allocations: 135.2 kB / 0.8548 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008953/0.6484, allocations: 197.5 kB / 0.8549 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.6495, allocations: 0.7573 MB / 0.8557 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.6496, allocations: 65.28 kB / 0.8557 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.6497, allocations: 83.03 kB / 0.8558 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.6511, allocations: 0.9323 MB / 0.8567 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.6512, allocations: 2.594 kB / 0.8567 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.097e-05/0.6512, allocations: 35.47 kB / 0.8568 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.6513, allocations: 26.88 kB / 0.8568 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.6529, allocations: 1.121 MB / 0.8579 GB, free: 14.77 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003918/0.6569, allocations: 2.777 MB / 0.8606 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.6583, allocations: 0.8051 MB / 0.8614 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/0.6588, allocations: 307.8 kB / 0.8617 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.389e-05/0.6589, allocations: 33.06 kB / 0.8617 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008333/0.6597, allocations: 0.4919 MB / 0.8622 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.084e-06/0.6597, allocations: 0 / 0.8622 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003098/0.6628, allocations: 1.203 MB / 0.8634 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.663, allocations: 202.5 kB / 0.8636 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007835/0.6638, allocations: 0.6386 MB / 0.8642 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.059e-05/0.6638, allocations: 45.08 kB / 0.8642 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/0.6642, allocations: 411.7 kB / 0.8646 GB, free: 10 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.6644, allocations: 271.4 kB / 0.8649 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.6647, allocations: 147.4 kB / 0.865 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.6648, allocations: 390.6 kB / 0.8654 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/0.6653, allocations: 245 kB / 0.8656 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/0.6659, allocations: 362.1 kB / 0.866 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.667, allocations: 0.5885 MB / 0.8665 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.667, allocations: 4 kB / 0.8665 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001849/0.6688, allocations: 0.8124 MB / 0.8673 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.6689, allocations: 10.47 kB / 0.8674 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.6689, allocations: 2.531 kB / 0.8674 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005769/0.6695, allocations: 87.81 kB / 0.8674 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005865/0.6701, allocations: 155.8 kB / 0.8676 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.6722, allocations: 1.626 MB / 0.8692 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006822/0.6729, allocations: 85.97 kB / 0.8693 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.658e-05/0.6729, allocations: 40.7 kB / 0.8693 GB, free: 6.457 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004301/0.6734, allocations: 261.3 kB / 0.8695 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.6735, allocations: 84.91 kB / 0.8696 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/0.6758, allocations: 1.083 MB / 0.8707 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.6759, allocations: 12 kB / 0.8707 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.6759, allocations: 0 / 0.8707 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.6759, allocations: 3.984 kB / 0.8707 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.677, allocations: 0.9111 MB / 0.8716 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.6771, allocations: 0 / 0.8716 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006124/0.6777, allocations: 155.8 kB / 0.8717 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004388/0.6781, allocations: 72.78 kB / 0.8718 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.522e-05/0.6782, allocations: 31.86 kB / 0.8718 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.6802, allocations: 1.662 MB / 0.8735 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6802, allocations: 3.938 kB / 0.8735 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002777/0.683, allocations: 1.332 MB / 0.8748 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004599/0.6834, allocations: 275.8 kB / 0.875 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.6836, allocations: 16.75 kB / 0.875 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006196/0.6842, allocations: 71.92 kB / 0.8751 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.6844, allocations: 68.84 kB / 0.8752 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.587e-05/0.6844, allocations: 39.97 kB / 0.8752 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006829/0.6851, allocations: 467 kB / 0.8757 GB, free: 192 kB / 0.5919 GB Notification: Performance of sort global known variables: time 4.1e-07/0.6851, allocations: 0 / 0.8757 GB, free: 192 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001121/0.6863, allocations: 327.2 kB / 0.876 GB, free: 15.87 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004833/0.6911, allocations: 2.387 MB / 0.8783 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002374/0.6935, allocations: 1.008 MB / 0.8793 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.6935, allocations: 4 kB / 0.8793 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009464/0.6945, allocations: 0.5198 MB / 0.8798 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.6957, allocations: 301.1 kB / 0.8801 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.7061, allocations: 6.602 MB / 0.8865 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/0.7068, allocations: 1.031 MB / 0.8875 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008173/0.7077, allocations: 266.8 kB / 0.8878 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005356/0.7082, allocations: 395.2 kB / 0.8882 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of SimCode: time 7.01e-07/0.7082, allocations: 4 kB / 0.8882 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05821/0.7664, allocations: 21.71 MB / 0.9094 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.39, allocations: 11.02 kB / 0.9094 GB, free: 13.97 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)