Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.001175/0.001175, allocations: 103 kB / 16.27 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 189.8 kB / 17.2 MB, free: 5.59 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.305/1.305, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7513/0.7513, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 55.91 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3526, allocations: 77.93 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.188/0.5407, allocations: 166 MB / 0.7294 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01419/0.5549, allocations: 7.804 MB / 0.737 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001976/0.5569, allocations: 35.81 kB / 0.7371 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.5583, allocations: 397 kB / 0.7374 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00423/0.5625, allocations: 1.317 MB / 0.7387 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003127/0.5657, allocations: 1.162 MB / 0.7399 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003434/0.5691, allocations: 2.348 MB / 0.7422 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.571, allocations: 1.182 MB / 0.7433 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.5723, allocations: 0.8095 MB / 0.7441 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.5739, allocations: 0.798 MB / 0.7449 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002217/0.5741, allocations: 152 kB / 0.745 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002376/0.5765, allocations: 1.1 MB / 0.7461 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005098/0.577, allocations: 430.7 kB / 0.7465 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008479/0.5778, allocations: 0.7852 MB / 0.7473 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3591/0.937, allocations: 2.359 MB / 0.7496 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.937, allocations: 0.75 kB / 0.7496 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.944e-06/0.937, allocations: 0 / 0.7496 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.194e-05/0.9371, allocations: 0.625 kB / 0.7496 GB, free: 8.281 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003452/0.9406, allocations: 1.873 MB / 0.7514 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.9406, allocations: 10.09 kB / 0.7514 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/0.9408, allocations: 169.6 kB / 0.7516 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/0.9426, allocations: 328.6 kB / 0.7519 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.9441, allocations: 0.9801 MB / 0.7529 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-05/0.9442, allocations: 85.38 kB / 0.7529 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.9444, allocations: 109.7 kB / 0.753 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.9465, allocations: 1.174 MB / 0.7542 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.9465, allocations: 3.938 kB / 0.7542 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.9466, allocations: 50.56 kB / 0.7542 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-05/0.9467, allocations: 43.97 kB / 0.7543 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.949, allocations: 1.302 MB / 0.7556 GB, free: 6.746 MB / 0.5762 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.005998/0.955, allocations: 3.846 MB / 0.7593 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.957, allocations: 0.9967 MB / 0.7603 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007835/0.9578, allocations: 401.8 kB / 0.7607 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.9579, allocations: 35.94 kB / 0.7607 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/0.9591, allocations: 0.5865 MB / 0.7613 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=102): time 3.376e-06/0.9591, allocations: 0 / 0.7613 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102): time 0.003663/0.9628, allocations: 1.442 MB / 0.7627 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.9628, allocations: 194.1 kB / 0.7629 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.964, allocations: 0.8294 MB / 0.7637 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.916e-05/0.9641, allocations: 50.02 kB / 0.7637 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/0.9644, allocations: 0.5276 MB / 0.7642 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.9647, allocations: 340.3 kB / 0.7646 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.965, allocations: 183 kB / 0.7647 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.9651, allocations: 342.5 kB / 0.7651 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005861/0.9657, allocations: 313.4 kB / 0.7654 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006935/0.9664, allocations: 477.8 kB / 0.7658 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.9676, allocations: 0.7748 MB / 0.7666 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.9676, allocations: 5.281 kB / 0.7666 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00216/0.9698, allocations: 1.025 MB / 0.7676 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.9698, allocations: 6.125 kB / 0.7676 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.9698, allocations: 3.25 kB / 0.7676 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005771/0.9704, allocations: 84.41 kB / 0.7677 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007857/0.9712, allocations: 207.6 kB / 0.7679 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.973, allocations: 1.642 MB / 0.7695 GB, free: 17.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009818/0.974, allocations: 106.1 kB / 0.7696 GB, free: 17.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.338e-05/0.974, allocations: 41.75 kB / 0.7696 GB, free: 17.92 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.0005181/0.9746, allocations: 317 kB / 0.7699 GB, free: 17.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.9748, allocations: 115.8 kB / 0.77 GB, free: 17.74 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/0.9773, allocations: 1.25 MB / 0.7712 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.9773, allocations: 11.03 kB / 0.7713 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.9773, allocations: 0 / 0.7713 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.9773, allocations: 9.312 kB / 0.7713 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.9786, allocations: 1.167 MB / 0.7724 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.9786, allocations: 0 / 0.7724 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007909/0.9794, allocations: 207.9 kB / 0.7726 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004023/0.9798, allocations: 78.73 kB / 0.7727 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.903e-05/0.9799, allocations: 28.22 kB / 0.7727 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.9815, allocations: 1.668 MB / 0.7743 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9815, allocations: 1.031 kB / 0.7743 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/0.9843, allocations: 1.571 MB / 0.7759 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/0.9848, allocations: 316.4 kB / 0.7762 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.985, allocations: 29.97 kB / 0.7762 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008218/0.9858, allocations: 68.45 kB / 0.7763 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.986, allocations: 90.55 kB / 0.7764 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/0.9861, allocations: 40.83 kB / 0.7764 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000662/0.9867, allocations: 0.5813 MB / 0.777 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9867, allocations: 1 kB / 0.777 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001039/0.9878, allocations: 422.2 kB / 0.7774 GB, free: 15.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.004068/0.9919, allocations: 2.644 MB / 0.7799 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002665/0.9945, allocations: 1.238 MB / 0.7812 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.9946, allocations: 3.75 kB / 0.7812 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009135/0.9955, allocations: 0.6009 MB / 0.7817 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/0.9975, allocations: 0.4972 MB / 0.7822 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/1.01, allocations: 8.647 MB / 0.7907 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007611/1.011, allocations: 1.155 MB / 0.7918 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001249/1.012, allocations: 321.7 kB / 0.7921 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005911/1.013, allocations: 0.5208 MB / 0.7926 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of SimCode: time 8.02e-07/1.013, allocations: 0 / 0.7926 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05989/1.072, allocations: 29.28 MB / 0.8212 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.46, allocations: 8.406 kB / 0.8212 GB, free: 10.91 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)