Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.001343/0.001343, allocations: 97.11 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.001456/0.001456, allocations: 208.8 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.265/3.265, allocations: 0.49 GB / 0.7959 GB, free: 35.36 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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8760,variableFilter="time|thermalZoneThreeElements.TAir",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8760,variableFilter="time|thermalZoneThreeElements.TAir",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") [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.002108/0.002108, allocations: 74.14 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3488, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1923/0.5411, allocations: 144.4 MB / 1.468 GB, free: 68 kB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0381/0.5792, allocations: 25.18 MB / 1.493 GB, free: 6.812 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003577/0.5828, allocations: 103.2 kB / 1.493 GB, free: 6.711 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003067/0.5859, allocations: 1.138 MB / 1.494 GB, free: 5.566 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006919/0.5928, allocations: 2.022 MB / 1.496 GB, free: 3.539 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005234/0.598, allocations: 1.874 MB / 1.498 GB, free: 1.672 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.008428/0.6064, allocations: 6.023 MB / 1.504 GB, free: 11.62 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005255/0.6117, allocations: 3.283 MB / 1.507 GB, free: 8.273 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004612/0.6163, allocations: 2.42 MB / 1.509 GB, free: 5.848 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004633/0.6209, allocations: 2.861 MB / 1.512 GB, free: 2.977 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001287/0.6222, allocations: 0.5117 MB / 1.512 GB, free: 2.465 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002868/0.6251, allocations: 1.105 MB / 1.513 GB, free: 1.359 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001436/0.6265, allocations: 1.332 MB / 1.515 GB, free: 24 kB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.003307/0.6298, allocations: 1.945 MB / 1.517 GB, free: 14.07 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00963/0.6395, allocations: 6.812 MB / 1.523 GB, free: 7.234 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.6395, allocations: 0 / 1.523 GB, free: 7.234 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6395, allocations: 0 / 1.523 GB, free: 7.234 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001942/0.6397, allocations: 4 kB / 1.523 GB, free: 7.23 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.0131/0.6528, allocations: 5.153 MB / 1.528 GB, free: 2 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.6528, allocations: 11.97 kB / 1.528 GB, free: 1.988 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01875/0.6716, allocations: 3.192 MB / 1.531 GB, free: 14.79 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006419/0.678, allocations: 2.491 MB / 1.534 GB, free: 12.23 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002521/0.6782, allocations: 267.1 kB / 1.534 GB, free: 11.97 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008532/0.6791, allocations: 348 kB / 1.535 GB, free: 11.63 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/0.6923, allocations: 5.918 MB / 1.54 GB, free: 5.566 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.951e-05/0.6924, allocations: 3.938 kB / 1.54 GB, free: 5.562 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004353/0.6928, allocations: 144 kB / 1.54 GB, free: 5.422 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.71e-05/0.6929, allocations: 88 kB / 1.541 GB, free: 5.336 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01657/0.7095, allocations: 6.661 MB / 1.547 GB, free: 14.66 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.03395/0.7435, allocations: 12.46 MB / 1.559 GB, free: 2.086 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/0.7541, allocations: 4.155 MB / 1.563 GB, free: 13.93 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006392/0.7605, allocations: 2.569 MB / 1.566 GB, free: 11.34 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008676/0.7613, allocations: 142.3 kB / 1.566 GB, free: 11.2 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00731/0.7686, allocations: 2.947 MB / 1.569 GB, free: 8.184 MB / 1.264 GB Notification: Performance of pre-optimization done (n=309): time 7.233e-06/0.7686, allocations: 0 / 1.569 GB, free: 8.184 MB / 1.264 GB Notification: Performance of matching and sorting (n=309): time 0.02642/0.7951, allocations: 8.61 MB / 1.577 GB, free: 15.52 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.7952, allocations: 214.4 kB / 1.577 GB, free: 15.26 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004271/0.7995, allocations: 2.427 MB / 1.58 GB, free: 12.8 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0006955/0.8002, allocations: 85.7 kB / 1.58 GB, free: 12.71 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001664/0.8018, allocations: 1.531 MB / 1.581 GB, free: 11.17 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001648/0.8035, allocations: 1.065 MB / 1.582 GB, free: 10.09 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001922/0.8054, allocations: 0.5409 MB / 1.583 GB, free: 9.547 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.8055, allocations: 305.1 kB / 1.583 GB, free: 9.246 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005658/0.8112, allocations: 2.203 MB / 1.585 GB, free: 7.039 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006242/0.8174, allocations: 2.724 MB / 1.588 GB, free: 4.195 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01177/0.8292, allocations: 4.654 MB / 1.593 GB, free: 15.46 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/0.8292, allocations: 0 / 1.593 GB, free: 15.46 MB / 1.295 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01505/0.8443, allocations: 5.602 MB / 1.598 GB, free: 9.816 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.8443, allocations: 12.16 kB / 1.598 GB, free: 9.805 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.8443, allocations: 4 kB / 1.598 GB, free: 9.801 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.8457, allocations: 0.5374 MB / 1.599 GB, free: 9.262 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004715/0.8505, allocations: 0.8346 MB / 1.599 GB, free: 8.426 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008832/0.8593, allocations: 5.49 MB / 1.605 GB, free: 2.832 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004425/0.8637, allocations: 0.5586 MB / 1.605 GB, free: 2.273 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00072/0.8644, allocations: 123.9 kB / 1.605 GB, free: 2.152 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 (310): * Single equations (assignments): 309 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002783/0.8672, allocations: 1.03 MB / 1.606 GB, free: 1.113 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/0.8684, allocations: 302.1 kB / 1.607 GB, free: 0.8164 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7385/1.607, allocations: 6.243 MB / 1.613 GB, free: 273.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.275e-05/1.607, allocations: 21.31 kB / 1.613 GB, free: 273.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/1.607, allocations: 0 / 1.613 GB, free: 273.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002749/1.61, allocations: 0.8412 MB / 1.614 GB, free: 273.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007043/1.61, allocations: 82.11 kB / 1.614 GB, free: 273.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003612/1.614, allocations: 421.3 kB / 1.614 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005982/1.615, allocations: 260.5 kB / 1.614 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01767/1.632, allocations: 6.076 MB / 1.62 GB, free: 271.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02044/1.653, allocations: 8.697 MB / 1.629 GB, free: 268.8 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005718/1.658, allocations: 2.416 MB / 1.631 GB, free: 268 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003514/1.662, allocations: 1.754 MB / 1.633 GB, free: 267.4 MB / 1.295 GB Notification: Performance of Backend: time 3.71e-07/1.662, allocations: 0 / 1.633 GB, free: 267.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01562/1.678, allocations: 4.407 MB / 1.637 GB, free: 266.1 MB / 1.295 GB Notification: Performance of SimCode: time 0.01357/1.691, allocations: 7.774 MB / 1.645 GB, free: 262.3 MB / 1.295 GB Notification: Performance of Templates: time 0.08503/1.776, allocations: 72.37 MB / 1.715 GB, free: 192.8 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 12.023463302000891] Failed to read output from testmodel.py, exit status != 0: 1.784250880999025 1.792845373 1.150988319 Calling exit ...