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.0009226/0.0009226, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00115/0.00115, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.032/1.032, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.001954/0.001954, allocations: 237 kB / 260.5 MB, free: 12.89 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.7463/0.7463, allocations: 138.4 MB / 455.4 MB, free: 1.496 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.783e-06/1.783e-06, allocations: 0 / 0.555 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.143e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.0126/0.01262, allocations: 4.782 MB / 0.5597 GB, free: 12.08 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.4106/0.4232, allocations: 146.3 MB / 0.7025 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008475/0.4241, allocations: 23.81 kB / 0.7025 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005239/0.4246, allocations: 194.2 kB / 0.7027 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.4258, allocations: 0.5689 MB / 0.7033 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.4271, allocations: 0.8611 MB / 0.7041 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001041/0.4281, allocations: 1.424 MB / 0.7055 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004787/0.4286, allocations: 392.7 kB / 0.7059 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006327/0.4292, allocations: 0.7211 MB / 0.7066 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003574/0.4296, allocations: 394.8 kB / 0.707 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.583e-05/0.4297, allocations: 116 kB / 0.7071 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000654/0.4303, allocations: 497.3 kB / 0.7076 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.4305, allocations: 295 kB / 0.7078 GB, free: 448 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.4307, allocations: 390.9 kB / 0.7082 GB, free: 56 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.432, allocations: 1.242 MB / 0.7094 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4321, allocations: 4 kB / 0.7094 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4321, allocations: 0 / 0.7094 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.702e-05/0.4321, allocations: 4 kB / 0.7094 GB, free: 14.8 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.00168/0.4337, allocations: 1.494 MB / 0.7109 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.4338, allocations: 8.75 kB / 0.7109 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009282/0.4347, allocations: 323.5 kB / 0.7112 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008137/0.4355, allocations: 0.713 MB / 0.7119 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.4356, allocations: 62.56 kB / 0.712 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.628e-05/0.4356, allocations: 87.92 kB / 0.712 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.4367, allocations: 0.9932 MB / 0.713 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.4367, allocations: 0 / 0.713 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-05/0.4368, allocations: 43.94 kB / 0.7131 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.4368, allocations: 20 kB / 0.7131 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009084/0.4377, allocations: 0.784 MB / 0.7138 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002256/0.44, allocations: 2.318 MB / 0.7161 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000891/0.4409, allocations: 466.5 kB / 0.7166 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.4411, allocations: 157.6 kB / 0.7167 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/0.4411, allocations: 28.64 kB / 0.7167 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004522/0.4416, allocations: 474.8 kB / 0.7172 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 1.943e-06/0.4416, allocations: 0 / 0.7172 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.001495/0.4431, allocations: 0.7974 MB / 0.718 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.4431, allocations: 188.6 kB / 0.7181 GB, free: 5.516 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/0.4436, allocations: 0.5888 MB / 0.7187 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.4437, allocations: 41.7 kB / 0.7188 GB, free: 4.871 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.4439, allocations: 459.7 kB / 0.7192 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.444, allocations: 265.8 kB / 0.7194 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.4442, allocations: 168.2 kB / 0.7196 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4444, allocations: 0.5586 MB / 0.7202 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.4446, allocations: 125.9 kB / 0.7203 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.4449, allocations: 377.5 kB / 0.7206 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004732/0.4454, allocations: 364.9 kB / 0.721 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.4454, allocations: 3.938 kB / 0.721 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0009517/0.4463, allocations: 0.6293 MB / 0.7216 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.4463, allocations: 11.98 kB / 0.7216 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4463, allocations: 3.938 kB / 0.7216 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004688/0.4468, allocations: 131.7 kB / 0.7217 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.4472, allocations: 151.8 kB / 0.7219 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.4486, allocations: 1.902 MB / 0.7237 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.4489, allocations: 75.62 kB / 0.7238 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/0.4489, allocations: 40.92 kB / 0.7239 GB, free: 15.4 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.0001935/0.4491, allocations: 202.5 kB / 0.724 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.4492, allocations: 107.5 kB / 0.7242 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.4504, allocations: 0.8118 MB / 0.7249 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.4504, allocations: 8 kB / 0.725 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.4504, allocations: 4 kB / 0.725 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.4504, allocations: 3.984 kB / 0.725 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/0.4509, allocations: 0.5864 MB / 0.7255 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.4509, allocations: 3.062 kB / 0.7255 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.4512, allocations: 139.8 kB / 0.7257 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003507/0.4516, allocations: 119.6 kB / 0.7258 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.4516, allocations: 23.98 kB / 0.7258 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.4527, allocations: 1.914 MB / 0.7277 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4527, allocations: 8.062 kB / 0.7277 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009453/0.4537, allocations: 0.7235 MB / 0.7284 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.4539, allocations: 199.1 kB / 0.7286 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.96e-05/0.454, allocations: 19.94 kB / 0.7286 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.4542, allocations: 46.59 kB / 0.7286 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.4543, allocations: 72.86 kB / 0.7287 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/0.4544, allocations: 35.97 kB / 0.7287 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003034/0.4547, allocations: 403 kB / 0.7291 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.4547, allocations: 0 / 0.7291 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005563/0.4552, allocations: 339 kB / 0.7295 GB, free: 9.465 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.001186/0.4564, allocations: 0.6146 MB / 0.7301 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009438/0.4573, allocations: 0.6361 MB / 0.7307 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4573, allocations: 0 / 0.7307 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004375/0.4578, allocations: 469.3 kB / 0.7311 GB, free: 7.965 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/0.4584, allocations: 332.8 kB / 0.7314 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.4605, allocations: 1.533 MB / 0.7329 GB, free: 6.113 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.4606, allocations: 187.2 kB / 0.7331 GB, free: 5.91 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000425/0.461, allocations: 238.7 kB / 0.7333 GB, free: 5.672 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.4612, allocations: 112.4 kB / 0.7334 GB, free: 5.562 MB / 0.5417 GB Notification: Performance of SimCode: time 5.91e-07/0.4612, allocations: 0 / 0.7334 GB, free: 5.562 MB / 0.5417 GB Notification: Performance of Templates: time 0.01681/0.478, allocations: 15.25 MB / 0.7483 GB, free: 6.57 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.621816613012925]