Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001307/0.001307, allocations: 80.81 kB / 21.55 MB, free: 2.949 MB / 18.57 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.001649/0.001649, allocations: 166.2 kB / 24.96 MB, free: 8.23 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.932/0.932, allocations: 177.1 MB / 205.4 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.937/1.937, allocations: 389.6 MB / 0.6362 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7759 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.831e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005045/0.005063, allocations: 4.986 MB / 0.7808 GB, free: 432 kB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.126/0.1311, allocations: 146.1 MB / 0.9234 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000607/0.1317, allocations: 23.81 kB / 0.9235 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004871/0.1322, allocations: 206.1 kB / 0.9237 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.1334, allocations: 0.5783 MB / 0.9242 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.1346, allocations: 0.8645 MB / 0.9251 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0009634/0.1355, allocations: 1.505 MB / 0.9265 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000494/0.136, allocations: 422.2 kB / 0.9269 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006644/0.1367, allocations: 0.7952 MB / 0.9277 GB, free: 9.547 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.1371, allocations: 390.8 kB / 0.9281 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 9.496e-05/0.1371, allocations: 116 kB / 0.9282 GB, free: 9.051 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006872/0.1378, allocations: 0.511 MB / 0.9287 GB, free: 8.539 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.138, allocations: 307 kB / 0.929 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.1383, allocations: 390.9 kB / 0.9294 GB, free: 7.855 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.1393, allocations: 1.269 MB / 0.9306 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1394, allocations: 0 / 0.9306 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1394, allocations: 0 / 0.9306 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.1394, allocations: 0 / 0.9306 GB, free: 6.582 MB / 0.8855 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.001426/0.1408, allocations: 1.402 MB / 0.932 GB, free: 5.156 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.1408, allocations: 13.34 kB / 0.932 GB, free: 5.145 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007449/0.1416, allocations: 300.2 kB / 0.9323 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006376/0.1422, allocations: 0.5901 MB / 0.9328 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.1422, allocations: 70.12 kB / 0.9329 GB, free: 4.164 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.818e-05/0.1423, allocations: 99.98 kB / 0.933 GB, free: 4.066 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000652/0.143, allocations: 0.8797 MB / 0.9339 GB, free: 3.098 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.143, allocations: 3.938 kB / 0.9339 GB, free: 3.094 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.143, allocations: 36 kB / 0.9339 GB, free: 3.059 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.143, allocations: 23.98 kB / 0.9339 GB, free: 3.035 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000746/0.1438, allocations: 0.5869 MB / 0.9345 GB, free: 2.449 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.1456, allocations: 1.679 MB / 0.9361 GB, free: 0.7266 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/0.1461, allocations: 423.1 kB / 0.9365 GB, free: 316 kB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.1462, allocations: 140.3 kB / 0.9367 GB, free: 172 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.352e-05/0.1463, allocations: 28.98 kB / 0.9367 GB, free: 144 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003637/0.1466, allocations: 463.3 kB / 0.9371 GB, free: 15.65 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=90): time 1.813e-06/0.1466, allocations: 0 / 0.9371 GB, free: 15.65 MB / 0.9011 GB Notification: Performance of matching and sorting (n=90): time 0.0009774/0.1476, allocations: 0.5733 MB / 0.9377 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.1477, allocations: 204.8 kB / 0.9379 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.148, allocations: 0.5133 MB / 0.9384 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.1481, allocations: 53.69 kB / 0.9385 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.1482, allocations: 338.5 kB / 0.9388 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.1483, allocations: 293.4 kB / 0.9391 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.1485, allocations: 182.5 kB / 0.9392 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1486, allocations: 394.6 kB / 0.9396 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1487, allocations: 100.8 kB / 0.9397 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.1489, allocations: 319.6 kB / 0.94 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.1493, allocations: 337.2 kB / 0.9403 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1493, allocations: 0 / 0.9403 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.0006129/0.1499, allocations: 471 kB / 0.9408 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1499, allocations: 4 kB / 0.9408 GB, free: 11.76 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1499, allocations: 7.984 kB / 0.9408 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003844/0.1503, allocations: 120.7 kB / 0.9409 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.1507, allocations: 199.7 kB / 0.9411 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.1519, allocations: 1.316 MB / 0.9424 GB, free: 10.03 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.1522, allocations: 79.58 kB / 0.9425 GB, free: 9.949 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.929e-05/0.1522, allocations: 27.97 kB / 0.9425 GB, free: 9.922 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (110): * Single equations (assignments): 109 * 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.0001681/0.1524, allocations: 175.1 kB / 0.9427 GB, free: 9.738 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.388e-05/0.1524, allocations: 79.92 kB / 0.9427 GB, free: 9.66 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007844/0.1532, allocations: 0.6227 MB / 0.9433 GB, free: 9.02 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1532, allocations: 12 kB / 0.9433 GB, free: 9.008 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.1532, allocations: 0 / 0.9433 GB, free: 9.008 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1532, allocations: 3.984 kB / 0.9434 GB, free: 9.004 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.1545, allocations: 1.117 MB / 0.9444 GB, free: 7.848 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1545, allocations: 3.938 kB / 0.9444 GB, free: 7.844 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.1548, allocations: 165.6 kB / 0.9446 GB, free: 7.684 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002946/0.1551, allocations: 116.7 kB / 0.9447 GB, free: 7.566 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.1551, allocations: 19.98 kB / 0.9447 GB, free: 7.547 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007951/0.1559, allocations: 1.333 MB / 0.946 GB, free: 6.117 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1559, allocations: 7.984 kB / 0.946 GB, free: 6.109 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007594/0.1567, allocations: 0.7125 MB / 0.9467 GB, free: 5.379 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.1569, allocations: 155.1 kB / 0.9469 GB, free: 5.227 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/0.1569, allocations: 23.98 kB / 0.9469 GB, free: 5.203 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.1571, allocations: 39.97 kB / 0.9469 GB, free: 5.164 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.038e-05/0.1572, allocations: 72.8 kB / 0.947 GB, free: 5.094 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.1573, allocations: 23.98 kB / 0.947 GB, free: 5.07 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000177/0.1574, allocations: 251.4 kB / 0.9473 GB, free: 4.828 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1574, allocations: 0 / 0.9473 GB, free: 4.828 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005237/0.158, allocations: 351.1 kB / 0.9476 GB, free: 4.484 MB / 0.9011 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001443/0.1594, allocations: 0.7514 MB / 0.9484 GB, free: 3.996 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008169/0.1602, allocations: 0.5254 MB / 0.9489 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.1602, allocations: 4 kB / 0.9489 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003176/0.1606, allocations: 378.9 kB / 0.9492 GB, free: 3.062 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006042/0.1612, allocations: 325.3 kB / 0.9495 GB, free: 2.77 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.1631, allocations: 1.592 MB / 0.9511 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.1632, allocations: 198.9 kB / 0.9513 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003616/0.1636, allocations: 183 kB / 0.9515 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004996/0.1641, allocations: 315 kB / 0.9518 GB, free: 448 kB / 0.9011 GB Notification: Performance of SimCode: time 6.52e-07/0.1641, allocations: 4 kB / 0.9518 GB, free: 444 kB / 0.9011 GB Notification: Performance of Templates: time 0.01894/0.183, allocations: 17.18 MB / 0.9685 GB, free: 15.59 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.609518263489008]