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.0009611/0.0009611, allocations: 80.94 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.001021/0.001021, allocations: 177 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 1.028/1.028, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.003051/0.003051, allocations: 243.6 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.7333/0.7333, allocations: 138.4 MB / 402.2 MB, free: 0.5586 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 2.174e-06/2.174e-06, allocations: 0.7031 kB / 462.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.633e-05, allocations: 6.516 kB / 462.3 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007217/0.007243, allocations: 5.056 MB / 467.4 MB, free: 13.57 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1539/0.1611, allocations: 146.1 MB / 0.5991 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009529/0.1621, allocations: 23.81 kB / 0.5991 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000546/0.1626, allocations: 218 kB / 0.5993 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.1639, allocations: 0.5905 MB / 0.5999 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.1655, allocations: 0.8489 MB / 0.6007 GB, free: 9.641 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001371/0.1669, allocations: 1.507 MB / 0.6022 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005739/0.1675, allocations: 426.7 kB / 0.6026 GB, free: 7.684 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008586/0.1683, allocations: 0.7952 MB / 0.6034 GB, free: 6.887 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004405/0.1688, allocations: 386.8 kB / 0.6037 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.1689, allocations: 112 kB / 0.6038 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008035/0.1697, allocations: 0.5148 MB / 0.6044 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.1699, allocations: 302.9 kB / 0.6046 GB, free: 5.586 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.1702, allocations: 383 kB / 0.605 GB, free: 5.211 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.1715, allocations: 1.269 MB / 0.6062 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1715, allocations: 0 / 0.6062 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1715, allocations: 0 / 0.6062 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.1715, allocations: 4 kB / 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.001649/0.1731, allocations: 1.412 MB / 0.6076 GB, free: 2.496 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.1732, allocations: 12.75 kB / 0.6076 GB, free: 2.484 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008374/0.174, allocations: 300.2 kB / 0.6079 GB, free: 2.191 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007105/0.1747, allocations: 0.5978 MB / 0.6085 GB, free: 1.566 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.1748, allocations: 66.12 kB / 0.6086 GB, free: 1.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/0.1748, allocations: 92.81 kB / 0.6087 GB, free: 1.41 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007073/0.1755, allocations: 0.8797 MB / 0.6095 GB, free: 456 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.1756, allocations: 1.172 kB / 0.6095 GB, free: 456 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.584e-05/0.1756, allocations: 36 kB / 0.6096 GB, free: 420 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.1756, allocations: 27.94 kB / 0.6096 GB, free: 392 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006135/0.1762, allocations: 0.5908 MB / 0.6102 GB, free: 15.79 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.1781, allocations: 1.629 MB / 0.6117 GB, free: 14.14 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005229/0.1786, allocations: 415.3 kB / 0.6121 GB, free: 13.73 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.1788, allocations: 138.6 kB / 0.6123 GB, free: 13.59 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.864e-05/0.1788, allocations: 28.62 kB / 0.6123 GB, free: 13.57 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000363/0.1792, allocations: 455 kB / 0.6127 GB, free: 13.09 MB / 0.573 GB Notification: Performance of pre-optimization done (n=85): time 2.064e-06/0.1792, allocations: 0 / 0.6127 GB, free: 13.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=85): time 0.001032/0.1802, allocations: 0.5576 MB / 0.6133 GB, free: 12.52 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.1803, allocations: 192.9 kB / 0.6135 GB, free: 12.29 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.1806, allocations: 0.5172 MB / 0.614 GB, free: 11.75 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002582/0.1809, allocations: 49.7 kB / 0.614 GB, free: 11.7 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.1811, allocations: 346.2 kB / 0.6143 GB, free: 11.35 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.1812, allocations: 289.5 kB / 0.6146 GB, free: 11.07 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.1814, allocations: 162.5 kB / 0.6148 GB, free: 10.9 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.1815, allocations: 402.5 kB / 0.6152 GB, free: 10.5 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.1816, allocations: 84.78 kB / 0.6152 GB, free: 10.42 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.1818, allocations: 307.6 kB / 0.6155 GB, free: 10.07 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.1821, allocations: 320.7 kB / 0.6158 GB, free: 9.746 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1821, allocations: 4 kB / 0.6158 GB, free: 9.742 MB / 0.573 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0006111/0.1827, allocations: 442.9 kB / 0.6163 GB, free: 9.301 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1828, allocations: 12.09 kB / 0.6163 GB, free: 9.289 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1828, allocations: 1.125 kB / 0.6163 GB, free: 9.289 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004054/0.1832, allocations: 128.7 kB / 0.6164 GB, free: 9.16 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.1836, allocations: 178.3 kB / 0.6166 GB, free: 8.988 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.1846, allocations: 1.313 MB / 0.6179 GB, free: 7.582 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.1848, allocations: 71.89 kB / 0.6179 GB, free: 7.516 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.1849, allocations: 27.97 kB / 0.618 GB, free: 7.488 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.0001762/0.1851, allocations: 171 kB / 0.6181 GB, free: 7.312 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-05/0.1851, allocations: 79.92 kB / 0.6182 GB, free: 7.234 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008307/0.186, allocations: 0.6142 MB / 0.6188 GB, free: 6.613 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.186, allocations: 8 kB / 0.6188 GB, free: 6.605 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.186, allocations: 1.5 kB / 0.6188 GB, free: 6.605 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.186, allocations: 11.91 kB / 0.6188 GB, free: 6.594 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.1864, allocations: 459.5 kB / 0.6193 GB, free: 6.129 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1864, allocations: 4 kB / 0.6193 GB, free: 6.125 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/0.1868, allocations: 159.8 kB / 0.6194 GB, free: 5.969 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003155/0.1871, allocations: 112.7 kB / 0.6195 GB, free: 5.855 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.1872, allocations: 26.42 kB / 0.6195 GB, free: 5.832 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00085/0.188, allocations: 1.328 MB / 0.6208 GB, free: 4.414 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.188, allocations: 4.031 kB / 0.6208 GB, free: 4.41 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.1891, allocations: 0.6384 MB / 0.6215 GB, free: 3.754 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.1893, allocations: 147.2 kB / 0.6216 GB, free: 3.609 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.1894, allocations: 18.02 kB / 0.6216 GB, free: 3.594 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.1896, allocations: 42.44 kB / 0.6217 GB, free: 3.555 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.1897, allocations: 72.86 kB / 0.6217 GB, free: 3.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.1897, allocations: 23.98 kB / 0.6218 GB, free: 3.457 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001973/0.1899, allocations: 259.4 kB / 0.622 GB, free: 3.207 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.1899, allocations: 0 / 0.622 GB, free: 3.207 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005259/0.1905, allocations: 351 kB / 0.6223 GB, free: 2.863 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.001493/0.192, allocations: 0.7486 MB / 0.6231 GB, free: 2.473 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005858/0.1925, allocations: 0.4969 MB / 0.6236 GB, free: 1.965 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.729e-06/0.1926, allocations: 8 kB / 0.6236 GB, free: 1.957 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003509/0.1929, allocations: 367.2 kB / 0.6239 GB, free: 1.586 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005601/0.1935, allocations: 316.8 kB / 0.6242 GB, free: 1.312 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.1957, allocations: 1.647 MB / 0.6258 GB, free: 15.63 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.1958, allocations: 190.8 kB / 0.626 GB, free: 15.43 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004076/0.1962, allocations: 198.7 kB / 0.6262 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000532/0.1968, allocations: 315 kB / 0.6265 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of SimCode: time 1.042e-06/0.1968, allocations: 3.938 kB / 0.6265 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of Templates: time 0.02206/0.2188, allocations: 16.84 MB / 0.6429 GB, free: 14.45 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.311364843975753]