Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009481/0.0009481, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009712/0.0009712, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9627/0.9627, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001621/0.001621, allocations: 249.4 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.734/0.734, allocations: 138.4 MB / 402.2 MB, free: 0.5508 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 462.3 MB, free: 0.875 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.091e-05, allocations: 3.734 kB / 462.3 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005202/0.005223, allocations: 5.015 MB / 467.3 MB, free: 13.55 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1401/0.1453, allocations: 146.1 MB / 0.599 GB, free: 11.33 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008751/0.1462, allocations: 19.88 kB / 0.599 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005655/0.1468, allocations: 214 kB / 0.5992 GB, free: 11.1 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.1484, allocations: 0.6034 MB / 0.5998 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.1499, allocations: 0.8819 MB / 0.6007 GB, free: 9.609 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001437/0.1514, allocations: 1.503 MB / 0.6021 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005975/0.152, allocations: 422.7 kB / 0.6025 GB, free: 7.66 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000971/0.1529, allocations: 0.7951 MB / 0.6033 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007251/0.1537, allocations: 390.8 kB / 0.6037 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.1538, allocations: 116 kB / 0.6038 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007545/0.1546, allocations: 499.2 kB / 0.6043 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.1548, allocations: 299 kB / 0.6046 GB, free: 5.586 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000292/0.155, allocations: 390.6 kB / 0.6049 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.1564, allocations: 1.265 MB / 0.6062 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1564, allocations: 4 kB / 0.6062 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1564, allocations: 0 / 0.6062 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.1565, allocations: 0 / 0.6062 GB, free: 3.934 MB / 0.5573 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.001604/0.1581, allocations: 1.416 MB / 0.6076 GB, free: 2.492 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.1581, allocations: 16.75 kB / 0.6076 GB, free: 2.477 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007772/0.1589, allocations: 288.2 kB / 0.6078 GB, free: 2.195 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000717/0.1596, allocations: 0.5978 MB / 0.6084 GB, free: 1.57 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/0.1596, allocations: 70.12 kB / 0.6085 GB, free: 1.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.341e-05/0.1597, allocations: 92 kB / 0.6086 GB, free: 1.41 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006905/0.1604, allocations: 0.8836 MB / 0.6095 GB, free: 452 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.1604, allocations: 0 / 0.6095 GB, free: 452 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.037e-05/0.1605, allocations: 36.98 kB / 0.6095 GB, free: 416 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.1605, allocations: 24 kB / 0.6095 GB, free: 392 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006006/0.1611, allocations: 0.5952 MB / 0.6101 GB, free: 15.79 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.1632, allocations: 1.62 MB / 0.6117 GB, free: 14.14 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005073/0.1637, allocations: 419.3 kB / 0.6121 GB, free: 13.73 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.1638, allocations: 136.1 kB / 0.6122 GB, free: 13.59 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.776e-05/0.1639, allocations: 28.62 kB / 0.6122 GB, free: 13.57 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003403/0.1642, allocations: 447 kB / 0.6127 GB, free: 13.09 MB / 0.573 GB Notification: Performance of pre-optimization done (n=85): time 2.185e-06/0.1642, allocations: 4 kB / 0.6127 GB, free: 13.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=85): time 0.001004/0.1652, allocations: 0.5654 MB / 0.6132 GB, free: 12.52 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.1653, allocations: 192.9 kB / 0.6134 GB, free: 12.28 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003557/0.1656, allocations: 0.5133 MB / 0.6139 GB, free: 11.75 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/0.1657, allocations: 45.7 kB / 0.6139 GB, free: 11.7 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.1658, allocations: 350.2 kB / 0.6143 GB, free: 11.35 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.166, allocations: 289.5 kB / 0.6146 GB, free: 11.07 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.1661, allocations: 162.5 kB / 0.6147 GB, free: 10.9 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1663, allocations: 398.5 kB / 0.6151 GB, free: 10.5 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1664, allocations: 88.77 kB / 0.6152 GB, free: 10.42 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.1666, allocations: 311.6 kB / 0.6155 GB, free: 10.07 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.1669, allocations: 312.7 kB / 0.6158 GB, free: 9.75 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1669, allocations: 0 / 0.6158 GB, free: 9.75 MB / 0.573 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0006178/0.1675, allocations: 450.9 kB / 0.6162 GB, free: 9.301 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1675, allocations: 8 kB / 0.6162 GB, free: 9.293 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1675, allocations: 1.25 kB / 0.6162 GB, free: 9.293 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003951/0.1679, allocations: 136.7 kB / 0.6163 GB, free: 9.156 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.1683, allocations: 155.8 kB / 0.6165 GB, free: 9.004 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.1694, allocations: 1.306 MB / 0.6178 GB, free: 7.605 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.1697, allocations: 80.5 kB / 0.6178 GB, free: 7.527 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.1697, allocations: 27.97 kB / 0.6179 GB, free: 7.5 MB / 0.573 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0001897/0.1699, allocations: 164.1 kB / 0.618 GB, free: 7.332 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.951e-05/0.17, allocations: 83.86 kB / 0.6181 GB, free: 7.25 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007913/0.1708, allocations: 0.6132 MB / 0.6187 GB, free: 6.629 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.1708, allocations: 12 kB / 0.6187 GB, free: 6.617 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.1708, allocations: 3.984 kB / 0.6187 GB, free: 6.613 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1708, allocations: 3.984 kB / 0.6187 GB, free: 6.609 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.1713, allocations: 460.5 kB / 0.6192 GB, free: 6.145 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.1713, allocations: 0 / 0.6192 GB, free: 6.145 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/0.1716, allocations: 143.8 kB / 0.6193 GB, free: 6.004 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002913/0.1719, allocations: 114.5 kB / 0.6194 GB, free: 5.891 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.1719, allocations: 23.97 kB / 0.6194 GB, free: 5.867 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007861/0.1727, allocations: 1.328 MB / 0.6207 GB, free: 4.453 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1727, allocations: 0 / 0.6207 GB, free: 4.453 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007487/0.1734, allocations: 0.6423 MB / 0.6213 GB, free: 3.793 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.1736, allocations: 143.2 kB / 0.6215 GB, free: 3.652 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.563e-05/0.1737, allocations: 27.92 kB / 0.6215 GB, free: 3.625 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.1739, allocations: 35.97 kB / 0.6215 GB, free: 3.59 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.174, allocations: 64.88 kB / 0.6216 GB, free: 3.523 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.174, allocations: 23.97 kB / 0.6216 GB, free: 3.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001883/0.1742, allocations: 263.4 kB / 0.6219 GB, free: 3.246 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1742, allocations: 4.031 kB / 0.6219 GB, free: 3.242 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005834/0.1748, allocations: 351 kB / 0.6222 GB, free: 2.898 MB / 0.573 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.001476/0.1762, allocations: 0.7487 MB / 0.623 GB, free: 2.512 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005853/0.1768, allocations: 0.5047 MB / 0.6234 GB, free: 1.996 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.1768, allocations: 4 kB / 0.6234 GB, free: 1.992 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.1772, allocations: 367 kB / 0.6238 GB, free: 1.621 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005732/0.1777, allocations: 316.9 kB / 0.6241 GB, free: 1.348 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.1801, allocations: 1.647 MB / 0.6257 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.1802, allocations: 198.8 kB / 0.6259 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000376/0.1806, allocations: 194.1 kB / 0.6261 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004869/0.1811, allocations: 307 kB / 0.6264 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of SimCode: time 1.322e-06/0.1811, allocations: 0 / 0.6264 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of Templates: time 0.02323/0.2043, allocations: 16.75 MB / 0.6427 GB, free: 14.57 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.338221081998199]