Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.001726/0.001726, 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.002208/0.002208, allocations: 209.2 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.334/3.334, allocations: 0.49 GB / 0.7959 GB, free: 35.29 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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8760,variableFilter="time|thermalZoneTwoElements.TAir",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8760,variableFilter="time|thermalZoneTwoElements.TAir",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") [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.002047/0.002047, allocations: 66.53 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3365, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1893/0.5258, allocations: 143.5 MB / 1.467 GB, free: 0.918 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03838/0.5641, allocations: 24.89 MB / 1.492 GB, free: 7.949 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003149/0.5673, allocations: 103.2 kB / 1.492 GB, free: 7.848 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002503/0.5698, allocations: 1.091 MB / 1.493 GB, free: 6.75 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006275/0.5761, allocations: 1.929 MB / 1.495 GB, free: 4.816 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004856/0.5809, allocations: 1.785 MB / 1.496 GB, free: 3.039 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.008181/0.5891, allocations: 5.612 MB / 1.502 GB, free: 13.41 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004872/0.594, allocations: 3.1 MB / 1.505 GB, free: 10.24 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004283/0.5983, allocations: 2.296 MB / 1.507 GB, free: 7.938 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004135/0.6024, allocations: 2.71 MB / 1.51 GB, free: 5.219 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.6034, allocations: 488 kB / 1.51 GB, free: 4.742 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002473/0.6059, allocations: 1.077 MB / 1.511 GB, free: 3.664 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001249/0.6071, allocations: 1.254 MB / 1.512 GB, free: 2.406 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002685/0.6098, allocations: 1.82 MB / 1.514 GB, free: 0.5781 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.008471/0.6183, allocations: 6.391 MB / 1.521 GB, free: 10.16 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6183, allocations: 0 / 1.521 GB, free: 10.16 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.634e-06/0.6183, allocations: 0 / 1.521 GB, free: 10.16 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001453/0.6184, allocations: 4 kB / 1.521 GB, free: 10.16 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: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.01162/0.6301, allocations: 4.9 MB / 1.525 GB, free: 5.188 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.6301, allocations: 8.031 kB / 1.525 GB, free: 5.18 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01807/0.6482, allocations: 3.165 MB / 1.528 GB, free: 2.008 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006064/0.6542, allocations: 2.385 MB / 1.531 GB, free: 15.55 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002545/0.6545, allocations: 254.6 kB / 1.531 GB, free: 15.3 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009741/0.6555, allocations: 324 kB / 1.531 GB, free: 14.99 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01319/0.6687, allocations: 5.669 MB / 1.537 GB, free: 9.164 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.266e-05/0.6687, allocations: 3.938 kB / 1.537 GB, free: 9.16 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000404/0.6691, allocations: 139.9 kB / 1.537 GB, free: 9.023 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-05/0.6692, allocations: 91.92 kB / 1.537 GB, free: 8.934 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01662/0.6858, allocations: 6.409 MB / 1.543 GB, free: 2.512 MB / 1.232 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.02848/0.7143, allocations: 11.78 MB / 1.555 GB, free: 6.602 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/0.7259, allocations: 4.636 MB / 1.559 GB, free: 1.953 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006093/0.732, allocations: 2.4 MB / 1.562 GB, free: 15.54 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007605/0.7327, allocations: 134 kB / 1.562 GB, free: 15.41 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007105/0.7399, allocations: 2.844 MB / 1.565 GB, free: 12.5 MB / 1.264 GB Notification: Performance of pre-optimization done (n=291): time 7.214e-06/0.7399, allocations: 4 kB / 1.565 GB, free: 12.49 MB / 1.264 GB Notification: Performance of matching and sorting (n=291): time 0.02182/0.7617, allocations: 7.781 MB / 1.572 GB, free: 4.652 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/0.7618, allocations: 218.2 kB / 1.572 GB, free: 4.395 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003661/0.7655, allocations: 2.324 MB / 1.575 GB, free: 2.035 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0006527/0.7661, allocations: 77.7 kB / 1.575 GB, free: 1.953 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001482/0.7676, allocations: 1.445 MB / 1.576 GB, free: 0.4922 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.001563/0.7692, allocations: 0.9993 MB / 1.577 GB, free: 15.48 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/0.7703, allocations: 0.5209 MB / 1.578 GB, free: 14.96 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.7704, allocations: 305.1 kB / 1.578 GB, free: 14.66 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005148/0.7756, allocations: 2.105 MB / 1.58 GB, free: 12.55 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005755/0.7813, allocations: 2.629 MB / 1.583 GB, free: 9.797 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/0.7929, allocations: 4.461 MB / 1.587 GB, free: 5.254 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/0.7929, allocations: 0 / 1.587 GB, free: 5.254 MB / 1.279 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01467/0.8076, allocations: 5.243 MB / 1.592 GB, free: 15.96 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.8077, allocations: 8 kB / 1.592 GB, free: 15.96 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.8077, allocations: 4 kB / 1.592 GB, free: 15.95 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009669/0.8086, allocations: 349.3 kB / 1.592 GB, free: 15.61 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004927/0.8136, allocations: 0.8229 MB / 1.593 GB, free: 14.79 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00603/0.8196, allocations: 4.02 MB / 1.597 GB, free: 10.66 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00445/0.824, allocations: 0.5488 MB / 1.598 GB, free: 10.11 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006715/0.8247, allocations: 115.9 kB / 1.598 GB, free: 10 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 (306): * Single equations (assignments): 305 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002566/0.8273, allocations: 0.9891 MB / 1.599 GB, free: 9 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/0.8283, allocations: 286.2 kB / 1.599 GB, free: 8.719 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/0.8438, allocations: 5.905 MB / 1.605 GB, free: 2.758 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-05/0.8438, allocations: 15.94 kB / 1.605 GB, free: 2.742 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.8438, allocations: 0 / 1.605 GB, free: 2.742 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002842/0.8467, allocations: 0.8037 MB / 1.606 GB, free: 1.938 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007916/0.8475, allocations: 79.81 kB / 1.606 GB, free: 1.859 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003622/0.8511, allocations: 419.4 kB / 1.606 GB, free: 1.449 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000516/0.8516, allocations: 241.9 kB / 1.606 GB, free: 1.211 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.726/1.578, allocations: 5.693 MB / 1.612 GB, free: 272.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01821/1.596, allocations: 8.332 MB / 1.62 GB, free: 270.2 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005467/1.601, allocations: 2.313 MB / 1.622 GB, free: 269.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002764/1.604, allocations: 1.696 MB / 1.624 GB, free: 268.9 MB / 1.295 GB Notification: Performance of Backend: time 4.21e-07/1.604, allocations: 0 / 1.624 GB, free: 268.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01456/1.619, allocations: 4.205 MB / 1.628 GB, free: 267.8 MB / 1.295 GB Notification: Performance of SimCode: time 0.01605/1.635, allocations: 7.247 MB / 1.635 GB, free: 264.2 MB / 1.295 GB Notification: Performance of Templates: time 0.08222/1.717, allocations: 68.55 MB / 1.702 GB, free: 205.5 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.962275061996479] Failed to read output from testmodel.py, exit status != 0: 1.7252548510005 1.7349843 1.114185795 Calling exit ...