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.001926/0.001926, allocations: 93.47 kB / 19.44 MB, free: 336 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.002032/0.002032, allocations: 169.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.558/1.558, allocations: 177.1 MB / 203.1 MB, free: 5.566 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.003255/0.003255, allocations: 246.4 kB / 259.8 MB, free: 12.87 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.168/1.168, allocations: 138.4 MB / 454.7 MB, free: 1.484 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.242e-06/1.242e-06, allocations: 0 / 0.5543 GB, free: 0.918 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.349e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.008005/0.008028, allocations: 4.736 MB / 0.5589 GB, free: 12.15 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3929/0.401, allocations: 146.3 MB / 0.7017 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008719/0.4018, allocations: 23.81 kB / 0.7017 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005911/0.4024, allocations: 205.4 kB / 0.7019 GB, free: 5.695 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.4041, allocations: 0.5667 MB / 0.7025 GB, free: 5.141 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.4059, allocations: 0.8511 MB / 0.7033 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001003/0.4069, allocations: 1.431 MB / 0.7047 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000556/0.4075, allocations: 392 kB / 0.7051 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006776/0.4081, allocations: 0.7211 MB / 0.7058 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004106/0.4085, allocations: 390.9 kB / 0.7062 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.4087, allocations: 116 kB / 0.7063 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009088/0.4096, allocations: 0.4901 MB / 0.7068 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.4098, allocations: 299 kB / 0.7071 GB, free: 488 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003163/0.4101, allocations: 387 kB / 0.7074 GB, free: 100 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002491/0.4126, allocations: 1.756 MB / 0.7091 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4126, allocations: 0 / 0.7091 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4126, allocations: 0 / 0.7091 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.4126, allocations: 0 / 0.7091 GB, free: 14.34 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.003178/0.4158, allocations: 1.58 MB / 0.7107 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.4159, allocations: 8.75 kB / 0.7107 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.4174, allocations: 327.5 kB / 0.711 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.4189, allocations: 0.7247 MB / 0.7117 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-05/0.419, allocations: 63.44 kB / 0.7118 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.4191, allocations: 83.94 kB / 0.7118 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.4212, allocations: 1.2 MB / 0.713 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.4212, allocations: 0 / 0.713 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.533e-05/0.4213, allocations: 32 kB / 0.713 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.4213, allocations: 20 kB / 0.7131 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.4232, allocations: 1.018 MB / 0.7141 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004845/0.428, allocations: 3.019 MB / 0.717 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.4295, allocations: 0.6556 MB / 0.7176 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/0.43, allocations: 242.2 kB / 0.7179 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.624e-05/0.4301, allocations: 28.64 kB / 0.7179 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009964/0.4311, allocations: 0.5842 MB / 0.7185 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 2.415e-06/0.4311, allocations: 0 / 0.7185 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.003466/0.4345, allocations: 1.016 MB / 0.7195 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.4347, allocations: 200.6 kB / 0.7197 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.4358, allocations: 0.7651 MB / 0.7204 GB, free: 2.371 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.09e-05/0.4358, allocations: 41.7 kB / 0.7204 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004909/0.4363, allocations: 491.7 kB / 0.7209 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/0.4366, allocations: 277.8 kB / 0.7212 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003405/0.437, allocations: 196.2 kB / 0.7214 GB, free: 1.363 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004342/0.4374, allocations: 0.6094 MB / 0.722 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004915/0.4379, allocations: 209.9 kB / 0.7222 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007413/0.4386, allocations: 485.5 kB / 0.7226 GB, free: 8 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.4397, allocations: 0.5321 MB / 0.7231 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4397, allocations: 4 kB / 0.7232 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00202/0.4418, allocations: 0.7895 MB / 0.7239 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4418, allocations: 4 kB / 0.7239 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.4418, allocations: 3.938 kB / 0.7239 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.4428, allocations: 151.6 kB / 0.7241 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/0.4434, allocations: 147.8 kB / 0.7242 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.4463, allocations: 2.035 MB / 0.7262 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006075/0.4469, allocations: 71.59 kB / 0.7263 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.737e-05/0.447, allocations: 35.98 kB / 0.7263 GB, free: 12.08 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.0004494/0.4474, allocations: 283.5 kB / 0.7266 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.4476, allocations: 107.5 kB / 0.7267 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/0.45, allocations: 0.967 MB / 0.7276 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.45, allocations: 12.62 kB / 0.7276 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.45, allocations: 4 kB / 0.7276 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.45, allocations: 3.984 kB / 0.7276 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.4512, allocations: 0.7606 MB / 0.7284 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.4512, allocations: 1.812 kB / 0.7284 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005633/0.4517, allocations: 139.8 kB / 0.7285 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000758/0.4525, allocations: 123.6 kB / 0.7286 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.828e-05/0.4525, allocations: 27.98 kB / 0.7287 GB, free: 9.613 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00242/0.455, allocations: 2.057 MB / 0.7307 GB, free: 7.434 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.455, allocations: 0.625 kB / 0.7307 GB, free: 7.434 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.4571, allocations: 0.907 MB / 0.7316 GB, free: 6.496 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004637/0.4575, allocations: 195.1 kB / 0.7317 GB, free: 6.305 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.4576, allocations: 19.94 kB / 0.7318 GB, free: 6.285 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000492/0.4581, allocations: 45.23 kB / 0.7318 GB, free: 6.242 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.4583, allocations: 72.8 kB / 0.7319 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.311e-05/0.4584, allocations: 39.97 kB / 0.7319 GB, free: 6.133 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006863/0.4591, allocations: 495 kB / 0.7324 GB, free: 5.652 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.4591, allocations: 0 / 0.7324 GB, free: 5.652 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001003/0.4601, allocations: 339 kB / 0.7327 GB, free: 5.32 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.003384/0.4635, allocations: 0.6444 MB / 0.7333 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001924/0.4654, allocations: 0.8197 MB / 0.7341 GB, free: 4.102 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4654, allocations: 4.25 kB / 0.7341 GB, free: 4.098 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.4664, allocations: 0.5479 MB / 0.7347 GB, free: 3.531 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.4677, allocations: 338.5 kB / 0.735 GB, free: 3.242 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/0.4709, allocations: 1.634 MB / 0.7366 GB, free: 1.578 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.4715, allocations: 435.9 kB / 0.737 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007281/0.4722, allocations: 242.5 kB / 0.7372 GB, free: 0.875 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/0.4725, allocations: 104.4 kB / 0.7373 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of SimCode: time 9.31e-07/0.4725, allocations: 0 / 0.7373 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of Templates: time 0.02977/0.5022, allocations: 15.24 MB / 0.7522 GB, free: 1.793 MB / 0.5574 GB " [Timeout remaining time 659] 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: 6.8660220470046625]