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.001926/0.001925, allocations: 108.1 kB / 15.99 MB, free: 6.352 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.002037/0.002037, allocations: 193.3 kB / 16.91 MB, free: 6.191 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.433/1.433, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7551/0.7551, allocations: 115.3 MB / 406.1 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 59.91 kB / 493.2 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4418, allocations: 76.17 MB / 0.556 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1905/0.6324, allocations: 163.7 MB / 0.7159 GB, free: 340 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01405/0.6465, allocations: 7.719 MB / 0.7235 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/0.6489, allocations: 31.81 kB / 0.7235 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.6506, allocations: 334 kB / 0.7238 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004877/0.6555, allocations: 1.199 MB / 0.725 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004391/0.66, allocations: 1.054 MB / 0.726 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003889/0.6639, allocations: 2.345 MB / 0.7283 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002887/0.6668, allocations: 1.182 MB / 0.7294 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002266/0.6691, allocations: 0.8173 MB / 0.7302 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.6713, allocations: 0.813 MB / 0.731 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006223/0.6719, allocations: 148 kB / 0.7312 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002929/0.6749, allocations: 1.131 MB / 0.7323 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006746/0.6756, allocations: 430.6 kB / 0.7327 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001764/0.6774, allocations: 0.789 MB / 0.7335 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004825/0.6822, allocations: 2.407 MB / 0.7358 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.6822, allocations: 0 / 0.7358 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.525e-06/0.6822, allocations: 4 kB / 0.7358 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.352e-05/0.6823, allocations: 0 / 0.7358 GB, free: 11.88 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.004923/0.6873, allocations: 1.875 MB / 0.7377 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.6873, allocations: 12.03 kB / 0.7377 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004037/0.6878, allocations: 172.9 kB / 0.7378 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/0.6901, allocations: 325.8 kB / 0.7381 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/0.6925, allocations: 0.9834 MB / 0.7391 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.6926, allocations: 86.2 kB / 0.7392 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003221/0.6929, allocations: 108 kB / 0.7393 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002745/0.6957, allocations: 1.172 MB / 0.7404 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/0.6958, allocations: 4 kB / 0.7404 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.6959, allocations: 40 kB / 0.7405 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.118e-05/0.696, allocations: 54 kB / 0.7405 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/0.6984, allocations: 1.308 MB / 0.7418 GB, free: 5.555 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.0065/0.7049, allocations: 3.834 MB / 0.7455 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.7068, allocations: 0.9992 MB / 0.7465 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006802/0.7075, allocations: 396.6 kB / 0.7469 GB, free: 120 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-05/0.7076, allocations: 40.95 kB / 0.7469 GB, free: 76 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2491/0.9568, allocations: 0.5852 MB / 0.7475 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=102): time 3.416e-06/0.9568, allocations: 0.5625 kB / 0.7475 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102): time 0.003925/0.9607, allocations: 1.437 MB / 0.7489 GB, free: 173 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.9608, allocations: 196.7 kB / 0.7491 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.9623, allocations: 0.8352 MB / 0.7499 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.9624, allocations: 49.44 kB / 0.75 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004937/0.9629, allocations: 0.5231 MB / 0.7505 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.9632, allocations: 341.9 kB / 0.7508 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/0.9635, allocations: 181.2 kB / 0.751 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.038e-05/0.9636, allocations: 345.9 kB / 0.7513 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006332/0.9642, allocations: 317.3 kB / 0.7516 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006957/0.9649, allocations: 470.7 kB / 0.7521 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.9663, allocations: 0.7784 MB / 0.7528 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.9663, allocations: 0.9375 kB / 0.7528 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002244/0.9686, allocations: 1.023 MB / 0.7538 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.9686, allocations: 8.281 kB / 0.7538 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.9686, allocations: 1.781 kB / 0.7538 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/0.9692, allocations: 88.59 kB / 0.7539 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000811/0.97, allocations: 208.8 kB / 0.7541 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.9719, allocations: 1.634 MB / 0.7557 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.9732, allocations: 117.8 kB / 0.7558 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.9733, allocations: 39.56 kB / 0.7559 GB, free: 168.6 MB / 0.5762 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.0006537/0.974, allocations: 319.7 kB / 0.7562 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/0.9743, allocations: 110.8 kB / 0.7563 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/0.977, allocations: 1.247 MB / 0.7575 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.977, allocations: 11.72 kB / 0.7575 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.977, allocations: 3.938 kB / 0.7575 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.977, allocations: 8.844 kB / 0.7575 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.9789, allocations: 1.163 MB / 0.7586 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.979, allocations: 5.172 kB / 0.7586 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009321/0.9799, allocations: 205 kB / 0.7588 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004867/0.9804, allocations: 77.77 kB / 0.7589 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.961e-05/0.9805, allocations: 27.84 kB / 0.7589 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/0.9822, allocations: 1.669 MB / 0.7606 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.9823, allocations: 0 / 0.7606 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003214/0.9855, allocations: 1.571 MB / 0.7621 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005328/0.986, allocations: 326.7 kB / 0.7624 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.9862, allocations: 23.72 kB / 0.7624 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000935/0.9871, allocations: 81.64 kB / 0.7625 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/0.9874, allocations: 84.25 kB / 0.7626 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.9875, allocations: 47.19 kB / 0.7626 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009257/0.9884, allocations: 0.5844 MB / 0.7632 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9884, allocations: 0 / 0.7632 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001345/0.9898, allocations: 423.5 kB / 0.7636 GB, free: 164.4 MB / 0.5762 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.004661/0.9945, allocations: 2.644 MB / 0.7662 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002975/0.9975, allocations: 1.238 MB / 0.7674 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.9975, allocations: 1.312 kB / 0.7674 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.9985, allocations: 0.5997 MB / 0.768 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/1.001, allocations: 491.3 kB / 0.7685 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/1.016, allocations: 9.176 MB / 0.7774 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007503/1.016, allocations: 1.158 MB / 0.7786 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001422/1.018, allocations: 323.4 kB / 0.7789 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006882/1.018, allocations: 0.5146 MB / 0.7794 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/1.018, allocations: 0 / 0.7794 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05279/1.071, allocations: 29.06 MB / 0.8078 GB, free: 133.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/1.072, allocations: 281.7 kB / 0.808 GB, free: 133.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.693/3.765, allocations: 0 / 0.808 GB, free: 133.5 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)