Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.000917/0.000917, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001105/0.001105, allocations: 173 kB / 23.02 MB, free: 1.547 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.9593/0.9593, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.001683/0.001683, allocations: 234 kB / 260.2 MB, free: 12.82 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.6828/0.6828, allocations: 138.4 MB / 455.2 MB, free: 1.504 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.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255e-05/1.404e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.004898/0.004912, allocations: 4.802 MB / 0.5598 GB, free: 11.71 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3295/0.3345, allocations: 146.5 MB / 0.7029 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007309/0.3352, allocations: 23.81 kB / 0.7029 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004689/0.3357, allocations: 194.2 kB / 0.7031 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.3369, allocations: 0.5915 MB / 0.7036 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.3382, allocations: 0.8524 MB / 0.7045 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0008291/0.339, allocations: 1.424 MB / 0.7059 GB, free: 2.355 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004371/0.3394, allocations: 389.8 kB / 0.7062 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006323/0.3401, allocations: 0.7523 MB / 0.707 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/0.3404, allocations: 370.8 kB / 0.7073 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 8.273e-05/0.3404, allocations: 104 kB / 0.7074 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004751/0.3409, allocations: 477.4 kB / 0.7079 GB, free: 280 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.3411, allocations: 287 kB / 0.7082 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.3413, allocations: 367 kB / 0.7085 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.3424, allocations: 1.218 MB / 0.7097 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3424, allocations: 0 / 0.7097 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3424, allocations: 4 kB / 0.7097 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.3424, allocations: 0 / 0.7097 GB, free: 14.41 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001473/0.3439, allocations: 1.483 MB / 0.7111 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.3439, allocations: 16.69 kB / 0.7112 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008036/0.3447, allocations: 323.6 kB / 0.7115 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006962/0.3454, allocations: 0.6995 MB / 0.7122 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/0.3455, allocations: 70.5 kB / 0.7122 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.882e-05/0.3455, allocations: 83.94 kB / 0.7123 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008585/0.3464, allocations: 0.924 MB / 0.7132 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.3464, allocations: 3.984 kB / 0.7132 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.3465, allocations: 39.98 kB / 0.7132 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.3465, allocations: 20 kB / 0.7133 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007818/0.3473, allocations: 0.7763 MB / 0.714 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.3494, allocations: 2.279 MB / 0.7162 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006443/0.3501, allocations: 469.6 kB / 0.7167 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.3503, allocations: 170.4 kB / 0.7169 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.51e-05/0.3503, allocations: 28.64 kB / 0.7169 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004137/0.3507, allocations: 464.2 kB / 0.7173 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 1.794e-06/0.3507, allocations: 0 / 0.7173 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.001511/0.3522, allocations: 0.7935 MB / 0.7181 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.3523, allocations: 188.6 kB / 0.7183 GB, free: 5.273 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004283/0.3527, allocations: 0.5737 MB / 0.7188 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.496e-05/0.3528, allocations: 41.7 kB / 0.7189 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.353, allocations: 463.7 kB / 0.7193 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.3531, allocations: 269.8 kB / 0.7196 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.3533, allocations: 168.2 kB / 0.7197 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3534, allocations: 0.5586 MB / 0.7203 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.3536, allocations: 121.9 kB / 0.7204 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.3539, allocations: 380.8 kB / 0.7208 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006962/0.3546, allocations: 368.9 kB / 0.7211 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3546, allocations: 0 / 0.7211 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008775/0.3555, allocations: 0.6293 MB / 0.7217 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3555, allocations: 4 kB / 0.7217 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3555, allocations: 128 / 0.7217 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004369/0.3559, allocations: 131.6 kB / 0.7219 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.3563, allocations: 151.8 kB / 0.722 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.3575, allocations: 1.903 MB / 0.7239 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.3577, allocations: 75.62 kB / 0.7239 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.3578, allocations: 39.97 kB / 0.724 GB, free: 15.18 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0001783/0.3579, allocations: 198.5 kB / 0.7242 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.3581, allocations: 111.5 kB / 0.7243 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.3591, allocations: 0.8073 MB / 0.7251 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.3591, allocations: 8 kB / 0.7251 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.3591, allocations: 0 / 0.7251 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.3591, allocations: 3.984 kB / 0.7251 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.3596, allocations: 0.5806 MB / 0.7256 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3596, allocations: 0 / 0.7256 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.3599, allocations: 143.8 kB / 0.7258 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003319/0.3602, allocations: 127.5 kB / 0.7259 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.3602, allocations: 27.05 kB / 0.7259 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.3613, allocations: 1.91 MB / 0.7278 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3613, allocations: 0 / 0.7278 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.3624, allocations: 0.7273 MB / 0.7285 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.3626, allocations: 183.2 kB / 0.7287 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.693e-05/0.3627, allocations: 23.88 kB / 0.7287 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.3629, allocations: 35.97 kB / 0.7287 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.363, allocations: 68.88 kB / 0.7288 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/0.3631, allocations: 35.97 kB / 0.7288 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003/0.3634, allocations: 393.3 kB / 0.7292 GB, free: 9.621 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.3634, allocations: 3.938 kB / 0.7292 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005811/0.3639, allocations: 323.1 kB / 0.7295 GB, free: 9.301 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.001346/0.3653, allocations: 0.6268 MB / 0.7301 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008122/0.3661, allocations: 0.6283 MB / 0.7307 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3661, allocations: 256 / 0.7307 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004521/0.3666, allocations: 473 kB / 0.7312 GB, free: 7.789 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006734/0.3672, allocations: 328.1 kB / 0.7315 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.3693, allocations: 1.525 MB / 0.733 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.3695, allocations: 191.2 kB / 0.7332 GB, free: 5.75 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004246/0.3699, allocations: 242.6 kB / 0.7334 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.3701, allocations: 108.4 kB / 0.7335 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of SimCode: time 6.51e-07/0.3701, allocations: 0 / 0.7335 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of Templates: time 0.02226/0.3923, allocations: 15.96 MB / 0.7491 GB, free: 5.711 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.32734336424619]