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.0009986/0.0009986, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001709/0.001709, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.7 MB, free: 5.516 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.001656/0.001656, allocations: 245.9 kB / 260.5 MB, free: 12.66 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.7201/0.7201, allocations: 138.4 MB / 455.5 MB, free: 1.426 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 2.705e-06/2.705e-06, allocations: 4 kB / 0.5556 GB, free: 300 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.532e-05, allocations: 2.312 kB / 0.5556 GB, free: 296 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.01185/0.01188, allocations: 4.7 MB / 0.5602 GB, free: 11.56 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3525/0.3644, allocations: 143.8 MB / 0.7006 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005655/0.365, allocations: 23.81 kB / 0.7006 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.3654, allocations: 194.2 kB / 0.7008 GB, free: 7.41 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0009922/0.3664, allocations: 0.584 MB / 0.7014 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.3675, allocations: 0.864 MB / 0.7022 GB, free: 6 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006035/0.3681, allocations: 1.424 MB / 0.7036 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003837/0.3685, allocations: 389.9 kB / 0.704 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004855/0.3689, allocations: 0.7484 MB / 0.7047 GB, free: 3.418 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.3692, allocations: 362.9 kB / 0.7051 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 7.879e-05/0.3693, allocations: 108 kB / 0.7052 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003961/0.3697, allocations: 485 kB / 0.7056 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.3698, allocations: 291 kB / 0.7059 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.3699, allocations: 359 kB / 0.7063 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0007677/0.3707, allocations: 1.226 MB / 0.7075 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3707, allocations: 0 / 0.7075 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3707, allocations: 0 / 0.7075 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.3707, allocations: 0 / 0.7075 GB, free: 0.6211 MB / 0.5105 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.001264/0.372, allocations: 1.494 MB / 0.7089 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.372, allocations: 12.69 kB / 0.7089 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007171/0.3727, allocations: 315.6 kB / 0.7092 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006212/0.3734, allocations: 0.7033 MB / 0.7099 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.3734, allocations: 58.56 kB / 0.71 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.13e-05/0.3735, allocations: 87.94 kB / 0.7101 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008398/0.3743, allocations: 0.8809 MB / 0.7109 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.3743, allocations: 0 / 0.7109 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.847e-05/0.3744, allocations: 32 kB / 0.711 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.3744, allocations: 20 kB / 0.711 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009944/0.3754, allocations: 0.6689 MB / 0.7116 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.3778, allocations: 2.173 MB / 0.7137 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005665/0.3784, allocations: 417.6 kB / 0.7141 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.3786, allocations: 145.5 kB / 0.7143 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.2e-05/0.3786, allocations: 46.17 kB / 0.7143 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004144/0.379, allocations: 438.8 kB / 0.7147 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 2.786e-06/0.379, allocations: 4 kB / 0.7147 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.001354/0.3804, allocations: 0.7232 MB / 0.7155 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/0.3805, allocations: 188.6 kB / 0.7156 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004219/0.3809, allocations: 0.5578 MB / 0.7162 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/0.3809, allocations: 41.7 kB / 0.7162 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.3812, allocations: 467.5 kB / 0.7167 GB, free: 6.848 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.3814, allocations: 269.7 kB / 0.7169 GB, free: 6.582 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.3815, allocations: 168.2 kB / 0.7171 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3817, allocations: 0.5702 MB / 0.7176 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.3818, allocations: 97.91 kB / 0.7177 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005072/0.3823, allocations: 345.4 kB / 0.7181 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.3827, allocations: 321.9 kB / 0.7184 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3827, allocations: 0 / 0.7184 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0007908/0.3835, allocations: 0.5669 MB / 0.7189 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3835, allocations: 8 kB / 0.7189 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3835, allocations: 0 / 0.7189 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004235/0.3839, allocations: 135.6 kB / 0.7191 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.3842, allocations: 155.8 kB / 0.7192 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.3856, allocations: 1.858 MB / 0.721 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.3859, allocations: 76.06 kB / 0.7211 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.386, allocations: 39.67 kB / 0.7211 GB, free: 2.043 MB / 0.5261 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.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 (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.0002486/0.3862, allocations: 215.7 kB / 0.7213 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.3863, allocations: 111.5 kB / 0.7214 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009773/0.3873, allocations: 0.7482 MB / 0.7222 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3873, allocations: 8 kB / 0.7222 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.3873, allocations: 0 / 0.7222 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3873, allocations: 7.984 kB / 0.7222 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/0.3879, allocations: 483.1 kB / 0.7227 GB, free: 456 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.3879, allocations: 0 / 0.7227 GB, free: 456 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.3881, allocations: 139.8 kB / 0.7228 GB, free: 316 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003272/0.3885, allocations: 111.6 kB / 0.7229 GB, free: 200 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/0.3885, allocations: 32.53 kB / 0.7229 GB, free: 168 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.3896, allocations: 1.897 MB / 0.7248 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3896, allocations: 0 / 0.7248 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.3907, allocations: 0.6648 MB / 0.7254 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.3909, allocations: 183.2 kB / 0.7256 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.318e-05/0.3909, allocations: 19.94 kB / 0.7256 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.3911, allocations: 35.97 kB / 0.7257 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.477e-05/0.3912, allocations: 68.86 kB / 0.7257 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.3913, allocations: 27.98 kB / 0.7257 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002295/0.3915, allocations: 366.9 kB / 0.7261 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3915, allocations: 0 / 0.7261 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006417/0.3921, allocations: 335.1 kB / 0.7264 GB, free: 12.45 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.00122/0.3934, allocations: 0.6179 MB / 0.727 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006731/0.394, allocations: 0.5736 MB / 0.7276 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.394, allocations: 0 / 0.7276 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.3944, allocations: 449.2 kB / 0.728 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006552/0.3951, allocations: 315 kB / 0.7283 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.3972, allocations: 1.504 MB / 0.7298 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.3973, allocations: 195.2 kB / 0.73 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004292/0.3977, allocations: 186.5 kB / 0.7301 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005361/0.3983, allocations: 365.9 kB / 0.7305 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of SimCode: time 1.122e-06/0.3983, allocations: 0 / 0.7305 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of Templates: time 0.02137/0.4197, allocations: 16.28 MB / 0.7464 GB, free: 8.449 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.537285890430212]