Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001089/0.001089, allocations: 93.06 kB / 19.65 MB, free: 280 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.001217/0.001217, allocations: 173 kB / 23.02 MB, free: 1.551 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 0.9833/0.9833, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.002705/0.002705, allocations: 237.1 kB / 260.2 MB, free: 12.82 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.7812/0.7812, allocations: 138.4 MB / 455.1 MB, free: 30.01 MB / 410.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.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.5551 GB, free: 176 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.497e-05, allocations: 11.19 kB / 0.5551 GB, free: 168 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.00541/0.005435, allocations: 5.005 MB / 0.56 GB, free: 11.13 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.4307/0.4361, allocations: 146.6 MB / 0.7031 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008623/0.437, allocations: 23.91 kB / 0.7031 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005563/0.4375, allocations: 206.7 kB / 0.7033 GB, free: 51.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.4391, allocations: 0.6008 MB / 0.7039 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.4407, allocations: 0.8625 MB / 0.7048 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00165/0.4424, allocations: 1.485 MB / 0.7062 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006701/0.443, allocations: 401.8 kB / 0.7066 GB, free: 51.2 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.444, allocations: 0.7802 MB / 0.7073 GB, free: 51.06 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005621/0.4446, allocations: 381.5 kB / 0.7077 GB, free: 50.95 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001923/0.4448, allocations: 111 kB / 0.7078 GB, free: 50.95 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.4459, allocations: 493.3 kB / 0.7083 GB, free: 50.85 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.4461, allocations: 294.7 kB / 0.7086 GB, free: 50.69 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004216/0.4465, allocations: 385.1 kB / 0.7089 GB, free: 50.53 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.4481, allocations: 1.249 MB / 0.7102 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.4481, allocations: 0 / 0.7102 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4481, allocations: 0 / 0.7102 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.723e-05/0.4482, allocations: 0 / 0.7102 GB, free: 50.01 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001803/0.45, allocations: 1.519 MB / 0.7116 GB, free: 48.97 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.45, allocations: 11.16 kB / 0.7116 GB, free: 48.97 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008453/0.4509, allocations: 335.3 kB / 0.712 GB, free: 48.84 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007319/0.4516, allocations: 0.7132 MB / 0.7127 GB, free: 48.42 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.4516, allocations: 67.12 kB / 0.7127 GB, free: 48.39 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.989e-05/0.4517, allocations: 89.44 kB / 0.7128 GB, free: 48.36 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009104/0.4526, allocations: 0.9389 MB / 0.7137 GB, free: 47.78 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.4527, allocations: 6.203 kB / 0.7137 GB, free: 47.78 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.988e-05/0.4527, allocations: 36.81 kB / 0.7138 GB, free: 47.75 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.4527, allocations: 23 kB / 0.7138 GB, free: 47.75 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008137/0.4535, allocations: 0.796 MB / 0.7146 GB, free: 47.65 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.4557, allocations: 2.219 MB / 0.7167 GB, free: 46.23 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006944/0.4564, allocations: 487.1 kB / 0.7172 GB, free: 46.09 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.4566, allocations: 180.7 kB / 0.7174 GB, free: 46.04 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.192e-05/0.4566, allocations: 30.42 kB / 0.7174 GB, free: 46.04 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004275/0.457, allocations: 476.1 kB / 0.7179 GB, free: 45.77 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=82): time 2.424e-06/0.457, allocations: 0 / 0.7179 GB, free: 45.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=82): time 0.001493/0.4585, allocations: 0.8068 MB / 0.7186 GB, free: 45.55 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.4586, allocations: 192 kB / 0.7188 GB, free: 45.33 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004275/0.459, allocations: 0.5793 MB / 0.7194 GB, free: 45.04 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.4591, allocations: 40.64 kB / 0.7194 GB, free: 45 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.4593, allocations: 473.4 kB / 0.7199 GB, free: 44.62 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.4594, allocations: 273.7 kB / 0.7201 GB, free: 44.41 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.4596, allocations: 178.8 kB / 0.7203 GB, free: 44.32 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.4597, allocations: 0.5667 MB / 0.7209 GB, free: 43.79 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.4599, allocations: 130.5 kB / 0.721 GB, free: 43.77 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.4601, allocations: 366.8 kB / 0.7213 GB, free: 43.52 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.4606, allocations: 374.3 kB / 0.7217 GB, free: 43.36 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4606, allocations: 0 / 0.7217 GB, free: 43.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0009019/0.4615, allocations: 0.6376 MB / 0.7223 GB, free: 43.14 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.4615, allocations: 5.531 kB / 0.7223 GB, free: 43.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.4615, allocations: 5.062 kB / 0.7223 GB, free: 43.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004632/0.462, allocations: 129.7 kB / 0.7225 GB, free: 43.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.4624, allocations: 164.2 kB / 0.7226 GB, free: 43.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.4635, allocations: 1.902 MB / 0.7245 GB, free: 41.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.4638, allocations: 72.81 kB / 0.7245 GB, free: 41.22 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.4639, allocations: 36.89 kB / 0.7246 GB, free: 41.21 MB / 0.5573 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 (97): * Single equations (assignments): 96 * 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.0002091/0.4641, allocations: 214 kB / 0.7248 GB, free: 41.02 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.4642, allocations: 113 kB / 0.7249 GB, free: 40.96 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.4653, allocations: 0.8199 MB / 0.7257 GB, free: 40.68 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.4653, allocations: 10.67 kB / 0.7257 GB, free: 40.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.4653, allocations: 0 / 0.7257 GB, free: 40.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4653, allocations: 8.828 kB / 0.7257 GB, free: 40.68 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005127/0.4658, allocations: 0.5914 MB / 0.7263 GB, free: 40.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.4658, allocations: 2 kB / 0.7263 GB, free: 40.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/0.4662, allocations: 146 kB / 0.7264 GB, free: 40.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003315/0.4665, allocations: 112.6 kB / 0.7265 GB, free: 40.32 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/0.4665, allocations: 25.67 kB / 0.7266 GB, free: 40.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008733/0.4674, allocations: 1.936 MB / 0.7285 GB, free: 38.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4674, allocations: 0 / 0.7285 GB, free: 38.46 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.4685, allocations: 0.9011 MB / 0.7293 GB, free: 38.13 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.4687, allocations: 184.1 kB / 0.7295 GB, free: 38.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-05/0.4688, allocations: 25.28 kB / 0.7295 GB, free: 38.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.469, allocations: 42.61 kB / 0.7296 GB, free: 38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.4691, allocations: 68.12 kB / 0.7296 GB, free: 37.99 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/0.4691, allocations: 37.83 kB / 0.7297 GB, free: 37.98 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002726/0.4694, allocations: 396.2 kB / 0.73 GB, free: 37.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1e-07/0.4694, allocations: 0 / 0.73 GB, free: 37.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007118/0.4701, allocations: 338.6 kB / 0.7304 GB, free: 37.7 MB / 0.5573 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 (93): * Single equations (assignments): 87 * 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.001248/0.4714, allocations: 0.6211 MB / 0.731 GB, free: 37.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008702/0.4722, allocations: 0.6496 MB / 0.7316 GB, free: 37.23 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4723, allocations: 2.688 kB / 0.7316 GB, free: 37.23 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004051/0.4727, allocations: 477.7 kB / 0.7321 GB, free: 36.98 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006945/0.4734, allocations: 334.7 kB / 0.7324 GB, free: 36.85 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.4764, allocations: 1.612 MB / 0.734 GB, free: 35.85 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.4765, allocations: 193.3 kB / 0.7341 GB, free: 35.72 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005561/0.4771, allocations: 254 kB / 0.7344 GB, free: 35.59 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.4773, allocations: 112 kB / 0.7345 GB, free: 35.55 MB / 0.5573 GB Notification: Performance of SimCode: time 2.194e-06/0.4773, allocations: 0 / 0.7345 GB, free: 35.55 MB / 0.5573 GB Notification: Performance of Templates: time 0.0193/0.4966, allocations: 16.21 MB / 0.7503 GB, free: 27.3 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.737966003827751]