Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.0009736/0.0009736, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001145/0.001145, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.016/1.016, allocations: 177.2 MB / 203.8 MB, free: 5.492 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.001782/0.001782, allocations: 254.7 kB / 260.5 MB, free: 12.71 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.7409/0.7409, allocations: 138.4 MB / 402.2 MB, free: 0.5234 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.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.63e-05, allocations: 5.359 kB / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005675/0.005691, allocations: 4.97 MB / 467.3 MB, free: 13.61 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1585/0.1642, allocations: 146 MB / 0.599 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009334/0.1652, allocations: 23.81 kB / 0.599 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.1657, allocations: 202.1 kB / 0.5992 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.1672, allocations: 0.5889 MB / 0.5997 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.1686, allocations: 0.8433 MB / 0.6006 GB, free: 9.746 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0009335/0.1695, allocations: 1.474 MB / 0.602 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000542/0.1701, allocations: 422.8 kB / 0.6024 GB, free: 7.824 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008707/0.1709, allocations: 0.7717 MB / 0.6032 GB, free: 7.051 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003616/0.1713, allocations: 386.8 kB / 0.6035 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.796e-05/0.1714, allocations: 108 kB / 0.6036 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005891/0.172, allocations: 0.511 MB / 0.6041 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.1722, allocations: 291 kB / 0.6044 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002462/0.1724, allocations: 386.9 kB / 0.6048 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.1735, allocations: 1.249 MB / 0.606 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1735, allocations: 0 / 0.606 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1735, allocations: 0 / 0.606 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.1735, allocations: 0 / 0.606 GB, free: 4.137 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001358/0.1749, allocations: 1.385 MB / 0.6074 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.1749, allocations: 8.75 kB / 0.6074 GB, free: 2.719 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008087/0.1757, allocations: 300.2 kB / 0.6077 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006564/0.1763, allocations: 0.5862 MB / 0.6082 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.1764, allocations: 70.69 kB / 0.6083 GB, free: 1.742 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.591e-05/0.1765, allocations: 88 kB / 0.6084 GB, free: 1.656 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006977/0.1772, allocations: 0.8641 MB / 0.6092 GB, free: 0.707 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.1772, allocations: 4 kB / 0.6092 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.1773, allocations: 38.91 kB / 0.6093 GB, free: 0.668 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.1773, allocations: 20 kB / 0.6093 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000815/0.1781, allocations: 0.5869 MB / 0.6099 GB, free: 60 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.1799, allocations: 1.607 MB / 0.6114 GB, free: 14.42 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/0.1803, allocations: 394.7 kB / 0.6118 GB, free: 14.05 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.1805, allocations: 130.7 kB / 0.6119 GB, free: 13.92 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.194e-05/0.1805, allocations: 28.64 kB / 0.612 GB, free: 13.89 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003512/0.1809, allocations: 437.8 kB / 0.6124 GB, free: 13.42 MB / 0.573 GB Notification: Performance of pre-optimization done (n=82): time 2.013e-06/0.1809, allocations: 0 / 0.6124 GB, free: 13.42 MB / 0.573 GB Notification: Performance of matching and sorting (n=82): time 0.00103/0.1819, allocations: 0.5414 MB / 0.6129 GB, free: 12.87 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.182, allocations: 196.6 kB / 0.6131 GB, free: 12.64 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.1823, allocations: 0.5094 MB / 0.6136 GB, free: 12.11 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.071e-05/0.1824, allocations: 45.7 kB / 0.6136 GB, free: 12.06 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.1826, allocations: 338.2 kB / 0.6139 GB, free: 11.72 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.1827, allocations: 281.6 kB / 0.6142 GB, free: 11.45 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.1828, allocations: 154.5 kB / 0.6144 GB, free: 11.29 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1829, allocations: 394.5 kB / 0.6147 GB, free: 10.89 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.1831, allocations: 88.78 kB / 0.6148 GB, free: 10.8 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.1833, allocations: 299.6 kB / 0.6151 GB, free: 10.47 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.1836, allocations: 315.4 kB / 0.6154 GB, free: 10.15 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1836, allocations: 0 / 0.6154 GB, free: 10.15 MB / 0.573 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006045/0.1842, allocations: 439 kB / 0.6158 GB, free: 9.707 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1842, allocations: 4 kB / 0.6158 GB, free: 9.703 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1842, allocations: 0 / 0.6158 GB, free: 9.703 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004163/0.1846, allocations: 120.7 kB / 0.616 GB, free: 9.582 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.185, allocations: 187.6 kB / 0.6161 GB, free: 9.398 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.1863, allocations: 1.311 MB / 0.6174 GB, free: 8.004 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.1865, allocations: 68.47 kB / 0.6175 GB, free: 7.938 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.1865, allocations: 27.97 kB / 0.6175 GB, free: 7.91 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 (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.0001826/0.1867, allocations: 168.3 kB / 0.6177 GB, free: 7.738 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-05/0.1868, allocations: 83.86 kB / 0.6177 GB, free: 7.656 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008128/0.1876, allocations: 0.5911 MB / 0.6183 GB, free: 7.062 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.1876, allocations: 8 kB / 0.6183 GB, free: 7.055 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.1876, allocations: 3.984 kB / 0.6183 GB, free: 7.051 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1876, allocations: 11.92 kB / 0.6183 GB, free: 7.039 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.1881, allocations: 453.9 kB / 0.6188 GB, free: 6.574 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1881, allocations: 7.938 kB / 0.6188 GB, free: 6.566 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.1884, allocations: 154.3 kB / 0.6189 GB, free: 6.418 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003093/0.1887, allocations: 104.8 kB / 0.619 GB, free: 6.312 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.1888, allocations: 27.97 kB / 0.6191 GB, free: 6.285 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008504/0.1896, allocations: 1.324 MB / 0.6203 GB, free: 4.875 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1896, allocations: 7.984 kB / 0.6204 GB, free: 4.867 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007572/0.1904, allocations: 0.6111 MB / 0.621 GB, free: 4.234 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.1906, allocations: 151.2 kB / 0.6211 GB, free: 4.086 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.345e-05/0.1906, allocations: 35.44 kB / 0.6211 GB, free: 4.055 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.1908, allocations: 35.97 kB / 0.6212 GB, free: 4.02 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.1909, allocations: 65.95 kB / 0.6212 GB, free: 3.957 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.916e-05/0.191, allocations: 27.97 kB / 0.6213 GB, free: 3.93 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001892/0.1912, allocations: 247.4 kB / 0.6215 GB, free: 3.691 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-08/0.1912, allocations: 3.938 kB / 0.6215 GB, free: 3.688 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005014/0.1917, allocations: 339.1 kB / 0.6218 GB, free: 3.355 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 (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.001494/0.1931, allocations: 0.7463 MB / 0.6225 GB, free: 2.969 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005754/0.1937, allocations: 493.2 kB / 0.623 GB, free: 2.473 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.1937, allocations: 8.188 kB / 0.623 GB, free: 2.465 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.194, allocations: 363 kB / 0.6234 GB, free: 2.094 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/0.1946, allocations: 320.5 kB / 0.6237 GB, free: 1.816 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.1968, allocations: 1.585 MB / 0.6252 GB, free: 208 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.1969, allocations: 198.4 kB / 0.6254 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003522/0.1972, allocations: 185.4 kB / 0.6256 GB, free: 15.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004946/0.1977, allocations: 311 kB / 0.6259 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of SimCode: time 9.32e-07/0.1977, allocations: 7.938 kB / 0.6259 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of Templates: time 0.01925/0.217, allocations: 16.66 MB / 0.6422 GB, free: 15.18 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.452740544918925]