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.001893/0.001893, allocations: 85.48 kB / 19.44 MB, free: 344 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.002048/0.002048, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.637/1.637, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.003242/0.003242, allocations: 245.2 kB / 259.8 MB, free: 12.86 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 1.301/1.301, allocations: 138.4 MB / 454.7 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.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 1.332e-06/1.332e-06, allocations: 0 / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.549e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.875 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007975/0.008001, allocations: 5.048 MB / 0.5593 GB, free: 11.8 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.403/0.411, allocations: 146.3 MB / 0.7021 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.412, allocations: 27.81 kB / 0.7022 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0008971/0.4129, allocations: 206.1 kB / 0.7024 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.4151, allocations: 0.6016 MB / 0.703 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.4172, allocations: 0.8688 MB / 0.7038 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001493/0.4187, allocations: 1.517 MB / 0.7053 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008513/0.4195, allocations: 406.8 kB / 0.7057 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.4209, allocations: 0.7563 MB / 0.7064 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007288/0.4216, allocations: 426.7 kB / 0.7068 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002877/0.4219, allocations: 127.9 kB / 0.7069 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009888/0.4229, allocations: 498 kB / 0.7074 GB, free: 240 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003798/0.4233, allocations: 314.9 kB / 0.7077 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0009203/0.4242, allocations: 410.9 kB / 0.7081 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003459/0.4276, allocations: 1.834 MB / 0.7099 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4276, allocations: 0 / 0.7099 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4276, allocations: 0 / 0.7099 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.207e-05/0.4277, allocations: 0 / 0.7099 GB, free: 13.68 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003907/0.4316, allocations: 1.654 MB / 0.7115 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4317, allocations: 12.75 kB / 0.7115 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/0.4335, allocations: 327.5 kB / 0.7118 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.435, allocations: 0.7442 MB / 0.7126 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.497e-05/0.4351, allocations: 70.56 kB / 0.7126 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.4353, allocations: 91.94 kB / 0.7127 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.4373, allocations: 1.243 MB / 0.7139 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.4374, allocations: 3.938 kB / 0.7139 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.4375, allocations: 40 kB / 0.714 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.4375, allocations: 20 kB / 0.714 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.4396, allocations: 1.046 MB / 0.715 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005293/0.4449, allocations: 2.982 MB / 0.7179 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.4465, allocations: 0.731 MB / 0.7186 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007456/0.4473, allocations: 273.5 kB / 0.7189 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.898e-05/0.4474, allocations: 24.64 kB / 0.7189 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/0.4485, allocations: 0.6086 MB / 0.7195 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=85): time 7.123e-06/0.4485, allocations: 7.938 kB / 0.7195 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85): time 0.003549/0.452, allocations: 1.081 MB / 0.7206 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.4522, allocations: 188.9 kB / 0.7208 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.4533, allocations: 0.7885 MB / 0.7215 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.183e-05/0.4534, allocations: 49.7 kB / 0.7216 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005316/0.4539, allocations: 0.4998 MB / 0.7221 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003346/0.4543, allocations: 309.5 kB / 0.7224 GB, free: 500 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003599/0.4546, allocations: 200.2 kB / 0.7226 GB, free: 288 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004655/0.4551, allocations: 0.621 MB / 0.7232 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005313/0.4556, allocations: 221.9 kB / 0.7234 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008015/0.4564, allocations: 493.8 kB / 0.7239 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.4576, allocations: 0.5688 MB / 0.7244 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.4576, allocations: 4.688 kB / 0.7244 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002286/0.4599, allocations: 0.8286 MB / 0.7252 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.4599, allocations: 8 kB / 0.7252 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.46, allocations: 0 / 0.7252 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.461, allocations: 131.7 kB / 0.7254 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007535/0.4618, allocations: 179.7 kB / 0.7255 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003012/0.4648, allocations: 2.035 MB / 0.7275 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007831/0.4656, allocations: 75.53 kB / 0.7276 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.044e-05/0.4657, allocations: 39.97 kB / 0.7276 GB, free: 10.89 MB / 0.5417 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.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 (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.0005267/0.4662, allocations: 270.5 kB / 0.7279 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/0.4665, allocations: 119.4 kB / 0.728 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002612/0.4691, allocations: 1.016 MB / 0.729 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.4691, allocations: 12 kB / 0.729 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.4691, allocations: 0 / 0.729 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.4691, allocations: 7.969 kB / 0.729 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.4704, allocations: 0.7996 MB / 0.7298 GB, free: 8.621 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4704, allocations: 0 / 0.7298 GB, free: 8.621 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000692/0.4711, allocations: 155.7 kB / 0.7299 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008112/0.4719, allocations: 127.6 kB / 0.7301 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.797e-05/0.4719, allocations: 23.98 kB / 0.7301 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002579/0.4745, allocations: 2.057 MB / 0.7321 GB, free: 6.133 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4745, allocations: 4.031 kB / 0.7321 GB, free: 6.129 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003178/0.4777, allocations: 1.28 MB / 0.7333 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005851/0.4783, allocations: 199.1 kB / 0.7335 GB, free: 4.629 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/0.4785, allocations: 24 kB / 0.7336 GB, free: 4.605 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006292/0.4791, allocations: 43.97 kB / 0.7336 GB, free: 4.562 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/0.4793, allocations: 76.84 kB / 0.7337 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.174e-05/0.4794, allocations: 35.98 kB / 0.7337 GB, free: 4.453 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008887/0.4803, allocations: 0.499 MB / 0.7342 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.4803, allocations: 3.938 kB / 0.7342 GB, free: 3.953 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001159/0.4814, allocations: 351.1 kB / 0.7345 GB, free: 3.609 MB / 0.5417 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.003586/0.485, allocations: 0.6531 MB / 0.7352 GB, free: 3.219 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002054/0.4871, allocations: 0.8585 MB / 0.736 GB, free: 2.34 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4871, allocations: 0 / 0.736 GB, free: 2.34 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.4882, allocations: 0.5832 MB / 0.7366 GB, free: 1.742 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.4898, allocations: 342 kB / 0.7369 GB, free: 1.449 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.4941, allocations: 1.788 MB / 0.7386 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/0.4948, allocations: 449.4 kB / 0.7391 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009213/0.4958, allocations: 250.7 kB / 0.7393 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003502/0.4961, allocations: 108.4 kB / 0.7394 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of SimCode: time 2.424e-06/0.4961, allocations: 0 / 0.7394 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.03303/0.5291, allocations: 15.65 MB / 0.7547 GB, free: 15.42 MB / 0.573 GB " [Timeout remaining time 659] 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.308455972932279]