Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.002327/0.002327, allocations: 81.5 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.002027/0.002027, 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.605/1.605, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.003259/0.003259, allocations: 242.3 kB / 259.8 MB, free: 12.85 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.203/1.203, allocations: 138.4 MB / 454.7 MB, free: 1.469 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.SimpleHouse3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.347e-05/3.541e-05, allocations: 6.25 kB / 0.5543 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.4331/0.4332, allocations: 161.9 MB / 0.7124 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01619/0.4494, allocations: 8.049 MB / 0.7203 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.4508, allocations: 51.62 kB / 0.7203 GB, free: 3.004 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.4523, allocations: 400.8 kB / 0.7207 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.004377/0.4567, allocations: 1.403 MB / 0.7221 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.003242/0.4599, allocations: 1.211 MB / 0.7233 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004151/0.4641, allocations: 2.438 MB / 0.7256 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/0.4659, allocations: 1.005 MB / 0.7266 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002026/0.4679, allocations: 1.2 MB / 0.7278 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.4695, allocations: 0.668 MB / 0.7284 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002783/0.4698, allocations: 152 kB / 0.7286 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.4723, allocations: 1.037 MB / 0.7296 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000547/0.4728, allocations: 458.4 kB / 0.73 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0007869/0.4736, allocations: 0.53 MB / 0.7306 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.004254/0.4779, allocations: 2.551 MB / 0.733 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4779, allocations: 0 / 0.733 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4779, allocations: 0 / 0.733 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.188e-05/0.4779, allocations: 4 kB / 0.733 GB, free: 5.914 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.004196/0.4821, allocations: 2.076 MB / 0.7351 GB, free: 3.789 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.4821, allocations: 8.75 kB / 0.7351 GB, free: 3.781 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002774/0.4849, allocations: 0.4941 MB / 0.7356 GB, free: 3.285 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.4869, allocations: 0.9851 MB / 0.7365 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.33e-05/0.487, allocations: 82.2 kB / 0.7366 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.4872, allocations: 120 kB / 0.7367 GB, free: 2.074 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002511/0.4897, allocations: 1.533 MB / 0.7382 GB, free: 380 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.4897, allocations: 4 kB / 0.7382 GB, free: 376 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.4898, allocations: 51.98 kB / 0.7383 GB, free: 324 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-05/0.4899, allocations: 38.12 kB / 0.7383 GB, free: 284 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/0.4924, allocations: 1.167 MB / 0.7394 GB, free: 15.1 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006793/0.4992, allocations: 3.721 MB / 0.7431 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.501, allocations: 0.8477 MB / 0.7439 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006599/0.5017, allocations: 322.5 kB / 0.7442 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.264e-05/0.5018, allocations: 31.97 kB / 0.7442 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001279/0.503, allocations: 0.7944 MB / 0.745 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=102): time 3.496e-06/0.503, allocations: 0 / 0.745 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of matching and sorting (n=102): time 0.004227/0.5073, allocations: 1.245 MB / 0.7462 GB, free: 7.941 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001973/0.5075, allocations: 192.9 kB / 0.7464 GB, free: 7.711 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/0.5092, allocations: 0.9915 MB / 0.7474 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.5093, allocations: 49.7 kB / 0.7474 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007029/0.51, allocations: 0.6327 MB / 0.7481 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004765/0.5105, allocations: 385 kB / 0.7484 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004092/0.5109, allocations: 240.2 kB / 0.7487 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003435/0.5112, allocations: 0.5394 MB / 0.7492 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006113/0.5118, allocations: 269.9 kB / 0.7494 GB, free: 4.574 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009327/0.5128, allocations: 0.578 MB / 0.75 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.5142, allocations: 0.731 MB / 0.7507 GB, free: 3.148 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.5142, allocations: 4 kB / 0.7507 GB, free: 3.145 MB / 0.5573 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002582/0.5168, allocations: 0.9962 MB / 0.7517 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.5168, allocations: 14.59 kB / 0.7517 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.5168, allocations: 4 kB / 0.7517 GB, free: 2.125 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.5179, allocations: 139.8 kB / 0.7518 GB, free: 1.984 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009291/0.5188, allocations: 215.7 kB / 0.7521 GB, free: 1.773 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/0.5218, allocations: 2.04 MB / 0.754 GB, free: 15.61 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.5228, allocations: 91.48 kB / 0.7541 GB, free: 15.52 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.523, allocations: 48 kB / 0.7542 GB, free: 15.47 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (124): * Single equations (assignments): 123 * 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.0006322/0.5236, allocations: 314.3 kB / 0.7545 GB, free: 15.16 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003107/0.5239, allocations: 147.2 kB / 0.7546 GB, free: 15.01 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0029/0.5268, allocations: 1.144 MB / 0.7557 GB, free: 13.86 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.5268, allocations: 12 kB / 0.7557 GB, free: 13.85 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.5268, allocations: 3.938 kB / 0.7557 GB, free: 13.84 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.5268, allocations: 7.969 kB / 0.7558 GB, free: 13.84 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.5286, allocations: 1 MB / 0.7567 GB, free: 12.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.5286, allocations: 0 / 0.7567 GB, free: 12.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000929/0.5295, allocations: 207.7 kB / 0.7569 GB, free: 12.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007969/0.5303, allocations: 127.6 kB / 0.7571 GB, free: 12.47 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-05/0.5304, allocations: 27.97 kB / 0.7571 GB, free: 12.44 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002542/0.5329, allocations: 2.053 MB / 0.7591 GB, free: 10.26 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5329, allocations: 0 / 0.7591 GB, free: 10.26 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003512/0.5364, allocations: 1.452 MB / 0.7605 GB, free: 8.785 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006274/0.5371, allocations: 246.9 kB / 0.7607 GB, free: 8.543 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.5372, allocations: 27.98 kB / 0.7608 GB, free: 8.516 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007143/0.5379, allocations: 50.97 kB / 0.7608 GB, free: 8.469 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.5381, allocations: 84.83 kB / 0.7609 GB, free: 8.383 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.5382, allocations: 47.97 kB / 0.7609 GB, free: 8.336 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009664/0.5392, allocations: 0.62 MB / 0.7615 GB, free: 7.723 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5392, allocations: 3.938 kB / 0.7615 GB, free: 7.719 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001259/0.5405, allocations: 438.9 kB / 0.762 GB, free: 7.289 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.003492/0.544, allocations: 0.6818 MB / 0.7626 GB, free: 6.871 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002198/0.5462, allocations: 0.976 MB / 0.7636 GB, free: 5.879 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5462, allocations: 4.062 kB / 0.7636 GB, free: 5.875 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.5474, allocations: 0.6376 MB / 0.7642 GB, free: 5.219 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/0.5498, allocations: 0.5014 MB / 0.7647 GB, free: 4.75 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004779/0.5546, allocations: 2.306 MB / 0.767 GB, free: 2.402 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007296/0.5554, allocations: 0.5635 MB / 0.7675 GB, free: 1.801 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001085/0.5564, allocations: 300.9 kB / 0.7678 GB, free: 1.504 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003617/0.5568, allocations: 132.4 kB / 0.7679 GB, free: 1.375 MB / 0.573 GB Notification: Performance of SimCode: time 1.432e-06/0.5568, allocations: 3.938 kB / 0.7679 GB, free: 1.371 MB / 0.573 GB Notification: Performance of Templates: time 0.0431/0.5999, allocations: 21.65 MB / 0.7891 GB, free: 12.14 MB / 0.6042 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.351208188105375]