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.001417/0.001417, allocations: 105.6 kB / 16.4 MB, free: 6.5 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.001648/0.001648, allocations: 193.2 kB / 17.34 MB, free: 5.73 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8102/0.8102, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00253/0.00253, allocations: 66.7 kB / 0.568 GB, free: 29.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1647, allocations: 77.93 MB / 0.6441 GB, free: 9.402 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.6284/0.7931, allocations: 166 MB / 0.8062 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.8052, allocations: 7.809 MB / 0.8138 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.8069, allocations: 35.91 kB / 0.8139 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.808, allocations: 412.1 kB / 0.8143 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004014/0.8121, allocations: 1.352 MB / 0.8156 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003568/0.8156, allocations: 1.171 MB / 0.8167 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00293/0.8186, allocations: 2.372 MB / 0.819 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.8203, allocations: 1.187 MB / 0.8202 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.8216, allocations: 0.8331 MB / 0.821 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.823, allocations: 0.7863 MB / 0.8218 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002417/0.8232, allocations: 153.6 kB / 0.8219 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.8257, allocations: 1.126 MB / 0.823 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004292/0.8261, allocations: 425.2 kB / 0.8234 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000863/0.827, allocations: 0.786 MB / 0.8242 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003948/0.8309, allocations: 2.412 MB / 0.8265 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.831, allocations: 1.906 kB / 0.8265 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.312e-06/0.831, allocations: 0 / 0.8265 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.335e-05/0.831, allocations: 4 kB / 0.8266 GB, free: 3.77 MB / 0.5919 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.003873/0.8349, allocations: 1.939 MB / 0.8284 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.835, allocations: 10.69 kB / 0.8285 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002281/0.8352, allocations: 175.2 kB / 0.8286 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/0.8371, allocations: 335.2 kB / 0.8289 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/0.8386, allocations: 1.019 MB / 0.8299 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-05/0.8387, allocations: 91.56 kB / 0.83 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.8389, allocations: 113 kB / 0.8301 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.8409, allocations: 1.166 MB / 0.8313 GB, free: 364 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.841, allocations: 0 / 0.8313 GB, free: 364 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.8411, allocations: 48.69 kB / 0.8313 GB, free: 328 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.767e-05/0.8411, allocations: 49.23 kB / 0.8314 GB, free: 312 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.8433, allocations: 1.305 MB / 0.8326 GB, free: 15.68 MB / 0.6075 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.00535/0.8486, allocations: 3.814 MB / 0.8364 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.8503, allocations: 0.9988 MB / 0.8373 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006165/0.8509, allocations: 399.1 kB / 0.8377 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.6e-05/0.851, allocations: 30.7 kB / 0.8378 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009588/0.852, allocations: 0.5977 MB / 0.8383 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=102): time 2.655e-06/0.852, allocations: 0 / 0.8383 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.003424/0.8554, allocations: 1.449 MB / 0.8397 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.962e-05/0.8555, allocations: 191 kB / 0.8399 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009708/0.8565, allocations: 0.8312 MB / 0.8407 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.906e-05/0.8566, allocations: 49.06 kB / 0.8408 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/0.857, allocations: 0.5315 MB / 0.8413 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.8572, allocations: 360.1 kB / 0.8417 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.8575, allocations: 185.5 kB / 0.8418 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.8576, allocations: 343.8 kB / 0.8422 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005658/0.8582, allocations: 310.2 kB / 0.8425 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006943/0.8589, allocations: 476 kB / 0.8429 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.8602, allocations: 0.7731 MB / 0.8437 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.8602, allocations: 4 kB / 0.8437 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002148/0.8623, allocations: 1.035 MB / 0.8447 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.8624, allocations: 8 kB / 0.8447 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.8624, allocations: 0 / 0.8447 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005898/0.863, allocations: 88.98 kB / 0.8448 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008472/0.8638, allocations: 199.8 kB / 0.845 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.8658, allocations: 1.644 MB / 0.8466 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.8668, allocations: 107.4 kB / 0.8467 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.476e-05/0.8669, allocations: 43.97 kB / 0.8467 GB, free: 4.668 MB / 0.6075 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.00053/0.8674, allocations: 321.5 kB / 0.847 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.8677, allocations: 119.2 kB / 0.8471 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/0.8703, allocations: 1.244 MB / 0.8483 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.8703, allocations: 12 kB / 0.8484 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.8703, allocations: 3.938 kB / 0.8484 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.8703, allocations: 7.922 kB / 0.8484 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.8718, allocations: 1.169 MB / 0.8495 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.8718, allocations: 0 / 0.8495 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008783/0.8727, allocations: 207.8 kB / 0.8497 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004369/0.8732, allocations: 72.78 kB / 0.8498 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.801e-05/0.8733, allocations: 31.97 kB / 0.8498 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.8751, allocations: 1.664 MB / 0.8514 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.8751, allocations: 7.875 kB / 0.8514 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002987/0.8781, allocations: 1.582 MB / 0.853 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005742/0.8787, allocations: 324 kB / 0.8533 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.8789, allocations: 27.94 kB / 0.8533 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008571/0.8798, allocations: 69.8 kB / 0.8534 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.8799, allocations: 80.89 kB / 0.8535 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.641e-05/0.88, allocations: 47.97 kB / 0.8535 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000821/0.8808, allocations: 0.5821 MB / 0.8541 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8808, allocations: 0 / 0.8541 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001116/0.882, allocations: 427 kB / 0.8545 GB, free: 12.46 MB / 0.6231 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.004512/0.8865, allocations: 2.655 MB / 0.8571 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001914/0.8884, allocations: 0.9643 MB / 0.858 GB, free: 9 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.8884, allocations: 4 kB / 0.858 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.8894, allocations: 0.5979 MB / 0.8586 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.8915, allocations: 0.4919 MB / 0.8591 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.9045, allocations: 8.248 MB / 0.8671 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006743/0.9052, allocations: 1.158 MB / 0.8683 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001229/0.9064, allocations: 321.2 kB / 0.8686 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008064/0.9072, allocations: 0.5109 MB / 0.8691 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of SimCode: time 1.903e-06/0.9072, allocations: 0 / 0.8691 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06733/0.9746, allocations: 29.56 MB / 0.8979 GB, free: 268 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.21, allocations: 15.25 kB / 0.898 GB, free: 256 kB / 0.6544 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)