Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000909/0.000909, allocations: 89.7 kB / 16.66 MB, free: 6.109 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.001145/0.001146, allocations: 183.3 kB / 17.58 MB, free: 5.82 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.271/1.271, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7547/0.7547, allocations: 115.5 MB / 408.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.000319, allocations: 11.98 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3515, allocations: 77.51 MB / 0.5606 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.004538/0.3561, allocations: 4.654 MB / 0.5651 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1579/0.5141, allocations: 146.7 MB / 0.7084 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009622/0.5151, allocations: 15.94 kB / 0.7084 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007292/0.5158, allocations: 154.8 kB / 0.7086 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.5178, allocations: 484.9 kB / 0.709 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.5202, allocations: 0.7213 MB / 0.7098 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001762/0.5219, allocations: 1.33 MB / 0.7111 GB, free: 8.793 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.523, allocations: 0.5597 MB / 0.7116 GB, free: 8.207 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006575/0.5237, allocations: 358.3 kB / 0.7119 GB, free: 7.855 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006569/0.5243, allocations: 413.8 kB / 0.7123 GB, free: 7.449 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.5245, allocations: 28 kB / 0.7124 GB, free: 7.422 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008531/0.5253, allocations: 371.6 kB / 0.7127 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002586/0.5256, allocations: 191.1 kB / 0.7129 GB, free: 6.871 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005808/0.5262, allocations: 490.8 kB / 0.7134 GB, free: 6.383 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.5276, allocations: 1.2 MB / 0.7145 GB, free: 5.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.5276, allocations: 0 / 0.7145 GB, free: 5.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5276, allocations: 0 / 0.7145 GB, free: 5.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.627e-05/0.5277, allocations: 0 / 0.7145 GB, free: 5.18 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002634/0.5303, allocations: 1.252 MB / 0.7158 GB, free: 3.883 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.5304, allocations: 15.97 kB / 0.7158 GB, free: 3.867 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.5314, allocations: 199.3 kB / 0.716 GB, free: 3.672 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.5329, allocations: 0.7547 MB / 0.7167 GB, free: 2.875 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.899e-05/0.533, allocations: 62 kB / 0.7168 GB, free: 2.812 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.5332, allocations: 87.98 kB / 0.7168 GB, free: 2.727 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.535, allocations: 0.9379 MB / 0.7178 GB, free: 1.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.535, allocations: 0 / 0.7178 GB, free: 1.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-05/0.5351, allocations: 36 kB / 0.7178 GB, free: 1.715 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.5351, allocations: 24 kB / 0.7178 GB, free: 1.691 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.537, allocations: 1.132 MB / 0.7189 GB, free: 0.5586 MB / 0.545 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.004646/0.5416, allocations: 2.794 MB / 0.7217 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.5431, allocations: 0.8214 MB / 0.7225 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/0.5437, allocations: 314.6 kB / 0.7228 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.641e-05/0.5438, allocations: 36.59 kB / 0.7228 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009218/0.5447, allocations: 499.1 kB / 0.7233 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.415e-06/0.5448, allocations: 4 kB / 0.7233 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003232/0.548, allocations: 1.227 MB / 0.7245 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.5481, allocations: 196.5 kB / 0.7247 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008007/0.5489, allocations: 0.641 MB / 0.7253 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.377e-05/0.549, allocations: 41.7 kB / 0.7253 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/0.5493, allocations: 408.4 kB / 0.7257 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.5496, allocations: 272.1 kB / 0.726 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.5497, allocations: 69.62 kB / 0.726 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.5499, allocations: 386.8 kB / 0.7264 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000537/0.5504, allocations: 277.8 kB / 0.7267 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006239/0.551, allocations: 371.1 kB / 0.727 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.5522, allocations: 0.619 MB / 0.7276 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5522, allocations: 4 kB / 0.7276 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001971/0.5542, allocations: 0.872 MB / 0.7285 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.5542, allocations: 8 kB / 0.7285 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.5542, allocations: 0 / 0.7285 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006039/0.5548, allocations: 84.86 kB / 0.7286 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/0.5555, allocations: 179.7 kB / 0.7287 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.5578, allocations: 1.512 MB / 0.7302 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007675/0.5586, allocations: 112.3 kB / 0.7303 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/0.5586, allocations: 36.16 kB / 0.7304 GB, free: 4.41 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 (97): * Single equations (assignments): 96 * 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.000451/0.5591, allocations: 280.2 kB / 0.7306 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.5592, allocations: 82.97 kB / 0.7307 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.5617, allocations: 1.073 MB / 0.7318 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.5617, allocations: 8 kB / 0.7318 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5618, allocations: 3.938 kB / 0.7318 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.5618, allocations: 7.922 kB / 0.7318 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.5628, allocations: 0.9035 MB / 0.7327 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.5628, allocations: 3.984 kB / 0.7327 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/0.5635, allocations: 159.7 kB / 0.7328 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000528/0.564, allocations: 80.78 kB / 0.7329 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.666e-05/0.5641, allocations: 27.97 kB / 0.7329 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.566, allocations: 1.548 MB / 0.7344 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.566, allocations: 4.031 kB / 0.7344 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/0.5687, allocations: 1.351 MB / 0.7358 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003816/0.5691, allocations: 279.8 kB / 0.736 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.5692, allocations: 27.98 kB / 0.736 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006888/0.5699, allocations: 89.09 kB / 0.7361 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.5701, allocations: 72.89 kB / 0.7362 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.092e-05/0.5701, allocations: 31.98 kB / 0.7362 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005908/0.5707, allocations: 475 kB / 0.7367 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5708, allocations: 0 / 0.7367 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008618/0.5716, allocations: 323.3 kB / 0.737 GB, free: 13.36 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 (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.001446/0.5731, allocations: 0.6075 MB / 0.7376 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001712/0.5748, allocations: 0.8429 MB / 0.7384 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5748, allocations: 3.938 kB / 0.7384 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009429/0.5758, allocations: 0.5161 MB / 0.7389 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.577, allocations: 280.2 kB / 0.7392 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/0.5806, allocations: 2.308 MB / 0.7414 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007062/0.5813, allocations: 1.031 MB / 0.7424 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/0.5816, allocations: 111.4 kB / 0.7425 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.5817, allocations: 3.938 kB / 0.7426 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of Templates: time 0.2666/0.8483, allocations: 18.62 MB / 0.7607 GB, free: 166.9 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)