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.0009381/0.0009381, allocations: 93.06 kB / 19.65 MB, free: 280 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.001028/0.001028, allocations: 165 kB / 23.02 MB, free: 1.551 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.034/1.034, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.001966/0.001966, allocations: 233.4 kB / 260.2 MB, free: 12.8 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.7876/0.7876, allocations: 138.4 MB / 455.2 MB, free: 1.531 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.583e-06/1.583e-06, allocations: 0 / 0.5551 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.167e-05/5.325e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005958/0.006011, allocations: 4.798 MB / 0.5598 GB, free: 11.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3388/0.3448, allocations: 146.5 MB / 0.7029 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007753/0.3455, allocations: 19.88 kB / 0.7029 GB, free: 5.43 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005769/0.3461, allocations: 198.1 kB / 0.7031 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.3475, allocations: 0.5709 MB / 0.7036 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.3489, allocations: 0.8641 MB / 0.7045 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000981/0.3499, allocations: 1.427 MB / 0.7059 GB, free: 2.402 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005228/0.3504, allocations: 390 kB / 0.7062 GB, free: 2 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006429/0.3511, allocations: 0.7172 MB / 0.7069 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.3514, allocations: 386.9 kB / 0.7073 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.779e-05/0.3515, allocations: 116 kB / 0.7074 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007495/0.3523, allocations: 0.4906 MB / 0.7079 GB, free: 312 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.3524, allocations: 299 kB / 0.7082 GB, free: 12 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003132/0.3528, allocations: 388.6 kB / 0.7086 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.3542, allocations: 1.245 MB / 0.7098 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3542, allocations: 7.938 kB / 0.7098 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3542, allocations: 0 / 0.7098 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.3543, allocations: 0 / 0.7098 GB, free: 14.38 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.001864/0.3561, allocations: 1.491 MB / 0.7112 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3562, allocations: 12.69 kB / 0.7112 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008861/0.357, allocations: 327.5 kB / 0.7116 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008341/0.3579, allocations: 0.7092 MB / 0.7122 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.549e-05/0.3579, allocations: 62.56 kB / 0.7123 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.999e-05/0.358, allocations: 92.5 kB / 0.7124 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.359, allocations: 0.9931 MB / 0.7134 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.359, allocations: 0 / 0.7134 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.337e-05/0.3591, allocations: 40 kB / 0.7134 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.3591, allocations: 20 kB / 0.7134 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009347/0.3601, allocations: 0.7841 MB / 0.7142 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.3627, allocations: 2.322 MB / 0.7165 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007771/0.3634, allocations: 469.3 kB / 0.7169 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.3637, allocations: 157.6 kB / 0.7171 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-05/0.3637, allocations: 28.64 kB / 0.7171 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005325/0.3643, allocations: 466.9 kB / 0.7175 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 2.295e-06/0.3643, allocations: 4 kB / 0.7175 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.001719/0.366, allocations: 0.7935 MB / 0.7183 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/0.3661, allocations: 192.6 kB / 0.7185 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/0.3666, allocations: 0.5855 MB / 0.7191 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.3667, allocations: 41.7 kB / 0.7191 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.3669, allocations: 467.7 kB / 0.7195 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.3671, allocations: 265.8 kB / 0.7198 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.3673, allocations: 164.2 kB / 0.72 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3674, allocations: 0.5586 MB / 0.7205 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.3677, allocations: 125.9 kB / 0.7206 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.368, allocations: 377.4 kB / 0.721 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004839/0.3685, allocations: 368.9 kB / 0.7213 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.3685, allocations: 4 kB / 0.7213 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001155/0.3696, allocations: 0.6254 MB / 0.7219 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.3697, allocations: 12.75 kB / 0.722 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3697, allocations: 0 / 0.722 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004827/0.3702, allocations: 127.6 kB / 0.7221 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.3705, allocations: 155.7 kB / 0.7222 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.3722, allocations: 1.907 MB / 0.7241 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004099/0.3726, allocations: 71.59 kB / 0.7242 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.507e-05/0.3727, allocations: 31.98 kB / 0.7242 GB, free: 14.98 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.0003311/0.373, allocations: 206.9 kB / 0.7244 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.3732, allocations: 107.5 kB / 0.7245 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.3744, allocations: 0.8116 MB / 0.7253 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.3744, allocations: 15.94 kB / 0.7253 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3744, allocations: 0 / 0.7253 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.3744, allocations: 3.984 kB / 0.7253 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006581/0.3751, allocations: 0.5933 MB / 0.7259 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.3751, allocations: 0 / 0.7259 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.3754, allocations: 139.8 kB / 0.726 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000376/0.3758, allocations: 123.5 kB / 0.7261 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.3758, allocations: 23.98 kB / 0.7262 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.377, allocations: 1.914 MB / 0.728 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.377, allocations: 0 / 0.728 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.3782, allocations: 0.7273 MB / 0.7287 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/0.3784, allocations: 195.2 kB / 0.7289 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.725e-05/0.3785, allocations: 23.92 kB / 0.7289 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.3787, allocations: 44.2 kB / 0.729 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.3789, allocations: 76.86 kB / 0.7291 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.555e-05/0.3789, allocations: 35.97 kB / 0.7291 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003126/0.3792, allocations: 399 kB / 0.7295 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.3792, allocations: 0 / 0.7295 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000813/0.38, allocations: 335.1 kB / 0.7298 GB, free: 9.043 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.001313/0.3813, allocations: 0.6115 MB / 0.7304 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009201/0.3823, allocations: 0.6364 MB / 0.731 GB, free: 8.016 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3823, allocations: 0 / 0.731 GB, free: 8.016 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004565/0.3827, allocations: 473 kB / 0.7315 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007057/0.3834, allocations: 333.3 kB / 0.7318 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.3858, allocations: 1.525 MB / 0.7333 GB, free: 5.695 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.386, allocations: 187.2 kB / 0.7334 GB, free: 5.492 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004893/0.3864, allocations: 248.7 kB / 0.7337 GB, free: 5.246 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.3866, allocations: 112.4 kB / 0.7338 GB, free: 5.137 MB / 0.5417 GB Notification: Performance of SimCode: time 1.242e-06/0.3866, allocations: 0 / 0.7338 GB, free: 5.137 MB / 0.5417 GB Notification: Performance of Templates: time 0.02/0.4066, allocations: 15.26 MB / 0.7487 GB, free: 6.141 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.700526993256062]