Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.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: translateModel(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 111 kB / 16.53 MB, free: 6.734 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.001365/0.001365, allocations: 199.1 kB / 17.45 MB, free: 6.051 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.302/1.302, allocations: 222.9 MB / 241.1 MB, free: 13.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7193/0.7193, allocations: 115.3 MB / 406.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 63.89 kB / 493.5 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3579, allocations: 76.17 MB / 0.5564 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005763/0.3637, allocations: 5.188 MB / 0.5614 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1545/0.5182, allocations: 148.4 MB / 0.7063 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.5193, allocations: 15.94 kB / 0.7063 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008393/0.5202, allocations: 158.8 kB / 0.7065 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.5222, allocations: 495.7 kB / 0.707 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002193/0.5244, allocations: 0.7318 MB / 0.7077 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002213/0.5267, allocations: 1.354 MB / 0.709 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.5277, allocations: 0.5793 MB / 0.7096 GB, free: 7.293 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007394/0.5285, allocations: 450.2 kB / 0.71 GB, free: 6.852 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007276/0.5292, allocations: 0.4899 MB / 0.7105 GB, free: 6.359 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002432/0.5295, allocations: 59.98 kB / 0.7105 GB, free: 6.301 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.5305, allocations: 403.6 kB / 0.7109 GB, free: 5.906 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003212/0.5309, allocations: 247 kB / 0.7111 GB, free: 5.664 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006468/0.5315, allocations: 0.5282 MB / 0.7117 GB, free: 5.133 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.5331, allocations: 1.243 MB / 0.7129 GB, free: 3.887 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5331, allocations: 0 / 0.7129 GB, free: 3.887 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5331, allocations: 0 / 0.7129 GB, free: 3.887 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.267e-05/0.5331, allocations: 0 / 0.7129 GB, free: 3.887 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003142/0.5363, allocations: 1.501 MB / 0.7143 GB, free: 2.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.5363, allocations: 15.97 kB / 0.7144 GB, free: 2.324 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.5374, allocations: 187.3 kB / 0.7145 GB, free: 2.141 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.5386, allocations: 0.7663 MB / 0.7153 GB, free: 1.332 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.868e-05/0.5386, allocations: 66 kB / 0.7153 GB, free: 1.266 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.5388, allocations: 84 kB / 0.7154 GB, free: 1.184 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.5405, allocations: 0.9574 MB / 0.7164 GB, free: 192 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.5405, allocations: 0 / 0.7164 GB, free: 192 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.952e-05/0.5406, allocations: 40 kB / 0.7164 GB, free: 152 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.5406, allocations: 20 kB / 0.7164 GB, free: 132 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/0.5425, allocations: 1.132 MB / 0.7175 GB, free: 15 MB / 0.5606 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.004372/0.5469, allocations: 2.805 MB / 0.7203 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.5485, allocations: 0.8513 MB / 0.7211 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005493/0.549, allocations: 330.7 kB / 0.7214 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.768e-05/0.5491, allocations: 28.62 kB / 0.7214 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009324/0.5501, allocations: 0.5101 MB / 0.7219 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=85): time 3.065e-06/0.5501, allocations: 0 / 0.7219 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85): time 0.003253/0.5533, allocations: 1.251 MB / 0.7232 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.973e-05/0.5535, allocations: 188.9 kB / 0.7233 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000863/0.5543, allocations: 0.6528 MB / 0.724 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.304e-05/0.5544, allocations: 41.7 kB / 0.724 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.5547, allocations: 404.5 kB / 0.7244 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.555, allocations: 283.9 kB / 0.7247 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/0.5552, allocations: 170.5 kB / 0.7248 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.5554, allocations: 390.7 kB / 0.7252 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005618/0.556, allocations: 273.9 kB / 0.7255 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000647/0.5567, allocations: 379 kB / 0.7258 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.5578, allocations: 0.6321 MB / 0.7264 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5578, allocations: 3.938 kB / 0.7264 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002065/0.5599, allocations: 0.8799 MB / 0.7273 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.5599, allocations: 8 kB / 0.7273 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5599, allocations: 3.984 kB / 0.7273 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006091/0.5605, allocations: 84.81 kB / 0.7274 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007072/0.5613, allocations: 179.7 kB / 0.7276 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.5634, allocations: 1.508 MB / 0.729 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008874/0.5643, allocations: 103.3 kB / 0.7291 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.5644, allocations: 35.97 kB / 0.7292 GB, free: 2.621 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (100): * Single equations (assignments): 99 * 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.0005158/0.565, allocations: 271.3 kB / 0.7294 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/0.5652, allocations: 90.97 kB / 0.7295 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.5678, allocations: 1.097 MB / 0.7306 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.5678, allocations: 11.94 kB / 0.7306 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.5678, allocations: 0 / 0.7306 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.5678, allocations: 12.02 kB / 0.7306 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.569, allocations: 0.9231 MB / 0.7315 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.569, allocations: 3.984 kB / 0.7315 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006544/0.5697, allocations: 151.8 kB / 0.7317 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005308/0.5702, allocations: 84.89 kB / 0.7317 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.942e-05/0.5703, allocations: 27.92 kB / 0.7318 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.5722, allocations: 1.544 MB / 0.7333 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5722, allocations: 3.938 kB / 0.7333 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/0.575, allocations: 1.363 MB / 0.7346 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000437/0.5754, allocations: 279.7 kB / 0.7349 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.5756, allocations: 20 kB / 0.7349 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006889/0.5763, allocations: 67.98 kB / 0.735 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.5765, allocations: 80.83 kB / 0.735 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.97e-05/0.5766, allocations: 32.05 kB / 0.7351 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006308/0.5772, allocations: 479 kB / 0.7355 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5772, allocations: 0 / 0.7355 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009067/0.5781, allocations: 335 kB / 0.7358 GB, free: 11.53 MB / 0.5762 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 (96): * Single equations (assignments): 90 * 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.001375/0.5795, allocations: 0.6064 MB / 0.7364 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001774/0.5813, allocations: 0.8508 MB / 0.7373 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5813, allocations: 0 / 0.7373 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009703/0.5823, allocations: 0.5393 MB / 0.7378 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.5835, allocations: 275.2 kB / 0.7381 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003687/0.5872, allocations: 2.333 MB / 0.7403 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/0.5879, allocations: 1.04 MB / 0.7414 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/0.5883, allocations: 119.4 kB / 0.7415 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of SimCode: time 6.62e-07/0.5883, allocations: 0 / 0.7415 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of Templates: time 0.2539/0.8423, allocations: 19.07 MB / 0.7601 GB, free: 168.9 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)