Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.001836/0.001836, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002332/0.002332, allocations: 211.7 kB / 23 MB, free: 4.934 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.19/3.19, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8760,variableFilter="time|thermalZoneFourElements.TAir",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8760,variableFilter="time|thermalZoneFourElements.TAir",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 61.47 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3415, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1885/0.53, allocations: 145.6 MB / 1.469 GB, free: 14.89 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.04188/0.5719, allocations: 25.59 MB / 1.494 GB, free: 5.223 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004679/0.5765, allocations: 111.2 kB / 1.494 GB, free: 5.113 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003429/0.58, allocations: 1.219 MB / 1.495 GB, free: 3.887 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006988/0.587, allocations: 2.155 MB / 1.498 GB, free: 1.727 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005519/0.5925, allocations: 2.064 MB / 1.5 GB, free: 15.67 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.009654/0.6021, allocations: 6.673 MB / 1.506 GB, free: 8.973 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006044/0.6082, allocations: 3.538 MB / 1.51 GB, free: 5.363 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005809/0.614, allocations: 2.603 MB / 1.512 GB, free: 2.754 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006436/0.6204, allocations: 3.11 MB / 1.515 GB, free: 15.63 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.001743/0.6222, allocations: 0.5586 MB / 1.516 GB, free: 15.07 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003947/0.6261, allocations: 1.152 MB / 1.517 GB, free: 13.92 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001631/0.6277, allocations: 1.449 MB / 1.518 GB, free: 12.47 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.003749/0.6315, allocations: 2.127 MB / 1.52 GB, free: 10.33 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.6421, allocations: 7.364 MB / 1.528 GB, free: 2.941 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.6421, allocations: 0 / 1.528 GB, free: 2.941 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6421, allocations: 3.938 kB / 1.528 GB, free: 2.938 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0002195/0.6424, allocations: 0 / 1.528 GB, free: 2.938 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 989 * Number of variables: 989 Notification: Performance of Generate backend data structure: time 0.01394/0.6563, allocations: 5.543 MB / 1.533 GB, free: 13.32 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.6563, allocations: 12.03 kB / 1.533 GB, free: 13.31 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01852/0.6749, allocations: 3.223 MB / 1.536 GB, free: 10.08 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006843/0.6817, allocations: 2.647 MB / 1.539 GB, free: 7.367 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/0.682, allocations: 295.7 kB / 1.539 GB, free: 7.078 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009324/0.6829, allocations: 376 kB / 1.539 GB, free: 6.711 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01455/0.6975, allocations: 6.266 MB / 1.545 GB, free: 316 kB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-05/0.6976, allocations: 3.938 kB / 1.545 GB, free: 312 kB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004766/0.6981, allocations: 160 kB / 1.546 GB, free: 152 kB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.669e-05/0.6981, allocations: 92 kB / 1.546 GB, free: 60 kB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01783/0.716, allocations: 6.991 MB / 1.553 GB, free: 9.055 MB / 1.248 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.03301/0.749, allocations: 13.37 MB / 1.566 GB, free: 11.57 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/0.7596, allocations: 4.523 MB / 1.57 GB, free: 7.051 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006501/0.7661, allocations: 2.834 MB / 1.573 GB, free: 4.207 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007895/0.7669, allocations: 142.4 kB / 1.573 GB, free: 4.066 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0069/0.7738, allocations: 3.099 MB / 1.576 GB, free: 0.9023 MB / 1.264 GB Notification: Performance of pre-optimization done (n=336): time 6.653e-06/0.7738, allocations: 4 kB / 1.576 GB, free: 0.8984 MB / 1.264 GB Notification: Performance of matching and sorting (n=336): time 0.0287/0.8025, allocations: 9.827 MB / 1.586 GB, free: 7.012 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/0.8026, allocations: 218.5 kB / 1.586 GB, free: 6.754 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004008/0.8066, allocations: 2.548 MB / 1.588 GB, free: 4.184 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0006283/0.8073, allocations: 89.7 kB / 1.588 GB, free: 4.09 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001728/0.809, allocations: 1.642 MB / 1.59 GB, free: 2.434 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001456/0.8104, allocations: 1.158 MB / 1.591 GB, free: 1.266 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001231/0.8117, allocations: 0.5768 MB / 1.592 GB, free: 0.6797 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.8118, allocations: 309 kB / 1.592 GB, free: 384 kB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005645/0.8174, allocations: 2.324 MB / 1.594 GB, free: 14.04 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00623/0.8237, allocations: 2.927 MB / 1.597 GB, free: 10.98 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/0.8351, allocations: 4.939 MB / 1.602 GB, free: 5.957 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.8351, allocations: 112 / 1.602 GB, free: 5.957 MB / 1.295 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.7486/1.584, allocations: 6.066 MB / 1.608 GB, free: 270.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/1.584, allocations: 11.19 kB / 1.608 GB, free: 270.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/1.584, allocations: 4.812 kB / 1.608 GB, free: 270.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002496/1.586, allocations: 0.825 MB / 1.609 GB, free: 270.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005628/1.592, allocations: 0.843 MB / 1.609 GB, free: 270.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/1.603, allocations: 7.293 MB / 1.617 GB, free: 267.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005028/1.608, allocations: 0.5698 MB / 1.617 GB, free: 267.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009172/1.609, allocations: 132.3 kB / 1.617 GB, free: 267.8 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,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,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (319): * Single equations (assignments): 318 * 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): 1 system {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003534/1.613, allocations: 1.081 MB / 1.618 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/1.614, allocations: 328.1 kB / 1.619 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01972/1.634, allocations: 6.729 MB / 1.625 GB, free: 265.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.123e-05/1.634, allocations: 18.38 kB / 1.625 GB, free: 265.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.634, allocations: 0 / 1.625 GB, free: 265.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003175/1.637, allocations: 0.8963 MB / 1.626 GB, free: 264.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/1.638, allocations: 82.88 kB / 1.626 GB, free: 264.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004592/1.643, allocations: 431.9 kB / 1.627 GB, free: 264.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001163/1.644, allocations: 292.3 kB / 1.627 GB, free: 264.6 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02312/1.667, allocations: 6.584 MB / 1.633 GB, free: 262.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02241/1.69, allocations: 9.185 MB / 1.642 GB, free: 259.6 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005695/1.695, allocations: 2.561 MB / 1.645 GB, free: 258.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002771/1.698, allocations: 1.837 MB / 1.647 GB, free: 257.9 MB / 1.295 GB Notification: Performance of Backend: time 3.11e-07/1.698, allocations: 0 / 1.647 GB, free: 257.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01585/1.714, allocations: 4.703 MB / 1.651 GB, free: 255.7 MB / 1.295 GB Notification: Performance of SimCode: time 0.01505/1.729, allocations: 8.47 MB / 1.659 GB, free: 248.1 MB / 1.295 GB Notification: Performance of Templates: time 0.09929/1.828, allocations: 77.45 MB / 1.735 GB, free: 171.2 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 12.012227762003022] Failed to read output from testmodel.py, exit status != 0: 1.836766460997751 1.845807891 1.201187433 Calling exit ...