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.001367/0.001367, allocations: 80.77 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001865/0.001865, allocations: 164.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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.398/1.398, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 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.002543/0.002543, allocations: 237.2 kB / 259.4 MB, free: 444 kB / 238.1 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.043/1.043, allocations: 138.4 MB / 454.3 MB, free: 2.02 MB / 366.1 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.162e-06/1.162e-06, allocations: 0 / 0.6468 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.949e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006379/0.006399, allocations: 4.744 MB / 0.6514 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4235/0.4299, allocations: 132.8 MB / 0.7811 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000914/0.4308, allocations: 19.88 kB / 0.7811 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008464/0.4316, allocations: 206 kB / 0.7813 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002451/0.4341, allocations: 0.6067 MB / 0.7819 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.4366, allocations: 0.8713 MB / 0.7827 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001998/0.4385, allocations: 1.514 MB / 0.7842 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009104/0.4395, allocations: 415.4 kB / 0.7846 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.4408, allocations: 0.768 MB / 0.7854 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007917/0.4416, allocations: 422.7 kB / 0.7858 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002882/0.4419, allocations: 120 kB / 0.7859 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.443, allocations: 0.4915 MB / 0.7864 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003614/0.4434, allocations: 318.9 kB / 0.7867 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006163/0.444, allocations: 403 kB / 0.787 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.4464, allocations: 1.83 MB / 0.7888 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4464, allocations: 0 / 0.7888 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4464, allocations: 0 / 0.7888 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.33e-05/0.4465, allocations: 4 kB / 0.7888 GB, free: 14.95 MB / 0.6231 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.003048/0.4495, allocations: 1.463 MB / 0.7903 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.4496, allocations: 9.344 kB / 0.7903 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.451, allocations: 240 kB / 0.7905 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.4523, allocations: 0.731 MB / 0.7912 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.642e-05/0.4524, allocations: 70.12 kB / 0.7913 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.4525, allocations: 84 kB / 0.7914 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.4543, allocations: 1.208 MB / 0.7925 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.4543, allocations: 7.312 kB / 0.7926 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.796e-05/0.4544, allocations: 40 kB / 0.7926 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.4544, allocations: 27.94 kB / 0.7926 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.4563, allocations: 1.089 MB / 0.7937 GB, free: 9.828 MB / 0.6231 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.003825/0.4601, allocations: 2.169 MB / 0.7958 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.4617, allocations: 0.7987 MB / 0.7966 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005569/0.4623, allocations: 290.7 kB / 0.7969 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.137e-05/0.4624, allocations: 28.56 kB / 0.7969 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009567/0.4633, allocations: 0.6156 MB / 0.7975 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=85): time 2.435e-06/0.4633, allocations: 0 / 0.7975 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of matching and sorting (n=85): time 0.00334/0.4667, allocations: 1.174 MB / 0.7986 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.4668, allocations: 192.9 kB / 0.7988 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007977/0.4676, allocations: 0.6215 MB / 0.7994 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.179e-05/0.4677, allocations: 41.7 kB / 0.7995 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.468, allocations: 433 kB / 0.7999 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.4683, allocations: 285.6 kB / 0.8001 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/0.4685, allocations: 166.5 kB / 0.8003 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.4687, allocations: 390.7 kB / 0.8007 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000564/0.4693, allocations: 285.8 kB / 0.801 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007353/0.47, allocations: 0.4918 MB / 0.8014 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.4712, allocations: 0.6348 MB / 0.8021 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.4712, allocations: 0 / 0.8021 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002098/0.4733, allocations: 0.8804 MB / 0.8029 GB, free: 136 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.4734, allocations: 12.09 kB / 0.8029 GB, free: 124 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.4734, allocations: 0 / 0.8029 GB, free: 124 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006211/0.474, allocations: 84.7 kB / 0.803 GB, free: 36 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007243/0.4747, allocations: 175.7 kB / 0.8032 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.4768, allocations: 1.499 MB / 0.8046 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006946/0.4775, allocations: 84.2 kB / 0.8047 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.808e-05/0.4776, allocations: 39.97 kB / 0.8048 GB, free: 14.14 MB / 0.6387 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.000417/0.478, allocations: 279.7 kB / 0.805 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.4782, allocations: 87.62 kB / 0.8051 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.4807, allocations: 1.083 MB / 0.8062 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.4807, allocations: 15.84 kB / 0.8062 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.4807, allocations: 1.125 kB / 0.8062 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.4807, allocations: 11.91 kB / 0.8062 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009181/0.4817, allocations: 0.6654 MB / 0.8068 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4817, allocations: 0 / 0.8068 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/0.4823, allocations: 159.7 kB / 0.807 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/0.4828, allocations: 76.72 kB / 0.8071 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.43e-05/0.4828, allocations: 27.98 kB / 0.8071 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/0.4848, allocations: 1.522 MB / 0.8086 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.4848, allocations: 0.5469 kB / 0.8086 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/0.4876, allocations: 1.375 MB / 0.8099 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003955/0.488, allocations: 195.2 kB / 0.8101 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.4882, allocations: 28 kB / 0.8101 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006367/0.4888, allocations: 60 kB / 0.8102 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.489, allocations: 76.84 kB / 0.8103 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.321e-05/0.489, allocations: 35.98 kB / 0.8103 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000584/0.4896, allocations: 455 kB / 0.8107 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.4896, allocations: 0 / 0.8107 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008556/0.4905, allocations: 351.1 kB / 0.8111 GB, free: 7.504 MB / 0.6387 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.002094/0.4926, allocations: 0.6619 MB / 0.8117 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001723/0.4943, allocations: 0.8195 MB / 0.8125 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4943, allocations: 4.188 kB / 0.8125 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009602/0.4953, allocations: 0.4963 MB / 0.813 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.4965, allocations: 313.8 kB / 0.8133 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/0.4998, allocations: 1.822 MB / 0.8151 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.5002, allocations: 461.4 kB / 0.8155 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007408/0.501, allocations: 262.7 kB / 0.8158 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/0.5013, allocations: 108.4 kB / 0.8159 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of SimCode: time 6.71e-07/0.5013, allocations: 4 kB / 0.8159 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of Templates: time 0.02736/0.5286, allocations: 15.51 MB / 0.831 GB, free: 3.516 MB / 0.6544 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.487258613109589] Failed to read output from testmodel.py, exit status != 0: 0.5365788489580154 0.550391729 0.100996734 Calling exit ...