Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.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: 101.1 kB / 19.71 MB, free: 2.105 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.001462/0.001462, allocations: 211.8 kB / 23.01 MB, free: 4.918 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.289/3.289, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=168,variableFilter="time|thermalZoneFourElements.TAir|thermalZoneFourElements.volAir.C.1.",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=168,variableFilter="time|thermalZoneFourElements.TAir|thermalZoneFourElements.volAir.C.1.",fileNamePrefix="Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") [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.002053/0.002053, allocations: 69.03 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3466, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.2438/0.5904, allocations: 180.1 MB / 1.503 GB, free: 12.19 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.028/0.6184, allocations: 14.85 MB / 1.518 GB, free: 13.3 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004436/0.6228, allocations: 123.1 kB / 1.518 GB, free: 13.18 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.003995/0.6268, allocations: 1.382 MB / 1.519 GB, free: 11.79 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.009551/0.6364, allocations: 2.938 MB / 1.522 GB, free: 8.836 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0071/0.6435, allocations: 2.286 MB / 1.524 GB, free: 6.559 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0118/0.6553, allocations: 7.524 MB / 1.531 GB, free: 15.01 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007166/0.6624, allocations: 4.038 MB / 1.535 GB, free: 10.88 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00745/0.6699, allocations: 3.139 MB / 1.538 GB, free: 7.734 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007148/0.677, allocations: 3.395 MB / 1.542 GB, free: 4.328 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.002268/0.6793, allocations: 0.6094 MB / 1.542 GB, free: 3.719 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0055/0.6848, allocations: 1.818 MB / 1.544 GB, free: 1.898 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.00293/0.6877, allocations: 1.706 MB / 1.546 GB, free: 192 kB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.004781/0.6925, allocations: 2.338 MB / 1.548 GB, free: 13.84 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01422/0.7067, allocations: 8.318 MB / 1.556 GB, free: 5.492 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.7067, allocations: 0 / 1.556 GB, free: 5.492 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.555e-06/0.7067, allocations: 3.938 kB / 1.556 GB, free: 5.488 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.000386/0.7071, allocations: 0 / 1.556 GB, free: 5.488 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1080 * Number of variables: 1080 Notification: Performance of Generate backend data structure: time 0.01939/0.7265, allocations: 6.098 MB / 1.562 GB, free: 15.3 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.7266, allocations: 8.031 kB / 1.562 GB, free: 15.3 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01913/0.7457, allocations: 3.394 MB / 1.565 GB, free: 11.89 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008079/0.7538, allocations: 2.838 MB / 1.568 GB, free: 8.992 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003498/0.7541, allocations: 320.5 kB / 1.569 GB, free: 8.676 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00164/0.7558, allocations: 412 kB / 1.569 GB, free: 8.273 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01765/0.7734, allocations: 6.784 MB / 1.576 GB, free: 1.301 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.576e-05/0.7735, allocations: 7.875 kB / 1.576 GB, free: 1.293 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005296/0.774, allocations: 168 kB / 1.576 GB, free: 1.129 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/0.7742, allocations: 156.2 kB / 1.576 GB, free: 0.9727 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01995/0.7942, allocations: 7.451 MB / 1.583 GB, free: 9.496 MB / 1.279 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.03977/0.8339, allocations: 14.77 MB / 1.598 GB, free: 10.61 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/0.8461, allocations: 4.829 MB / 1.602 GB, free: 5.781 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007283/0.8534, allocations: 3.042 MB / 1.605 GB, free: 2.727 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009044/0.8543, allocations: 170.6 kB / 1.605 GB, free: 2.559 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.8073/1.662, allocations: 3.359 MB / 1.609 GB, free: 272.1 MB / 1.295 GB Notification: Performance of pre-optimization done (n=366): time 1.144e-05/1.662, allocations: 1.422 kB / 1.609 GB, free: 272.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=368): time 0.05469/1.716, allocations: 16.72 MB / 1.625 GB, free: 268.2 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/1.716, allocations: 220.9 kB / 1.625 GB, free: 267.9 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005213/1.722, allocations: 2.701 MB / 1.628 GB, free: 267 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0009906/1.723, allocations: 96.38 kB / 1.628 GB, free: 266.9 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001835/1.724, allocations: 1.784 MB / 1.63 GB, free: 265.8 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001982/1.726, allocations: 1.262 MB / 1.631 GB, free: 265 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002235/1.729, allocations: 0.621 MB / 1.632 GB, free: 264.7 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.525e-05/1.729, allocations: 302.9 kB / 1.632 GB, free: 264.4 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00663/1.735, allocations: 2.512 MB / 1.634 GB, free: 263.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008329/1.744, allocations: 3.191 MB / 1.637 GB, free: 262.2 MB / 1.295 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start (sinAir.p = thermalZoneFourElements.volAir.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.3353/2.079, allocations: 87.33 MB / 1.723 GB, free: 183.1 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/2.079, allocations: 4 kB / 1.723 GB, free: 183.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01597/2.095, allocations: 6.488 MB / 1.729 GB, free: 176.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.571e-05/2.095, allocations: 33.7 kB / 1.729 GB, free: 176.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/2.095, allocations: 4 kB / 1.729 GB, free: 176.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001663/2.097, allocations: 0.8425 MB / 1.73 GB, free: 175.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00475/2.101, allocations: 0.8977 MB / 1.731 GB, free: 174.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008873/2.11, allocations: 7.237 MB / 1.738 GB, free: 167.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004608/2.115, allocations: 467.3 kB / 1.738 GB, free: 167 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007694/2.116, allocations: 139.8 kB / 1.738 GB, free: 166.9 MB / 1.295 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 39 ($PRE.intGai.nextTimeEvent,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,$PRE.traSub.count,$PRE.traSub.T_start,traSub.count,traSub.T_start,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,$whenCondition1,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (349): * Single equations (assignments): 347 * Array equations: 0 * Algorithm blocks: 1 * 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.002836/2.118, allocations: 1.194 MB / 1.74 GB, free: 165.7 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/2.12, allocations: 349.8 kB / 1.74 GB, free: 165.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01486/2.134, allocations: 7.116 MB / 1.747 GB, free: 158.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01191/2.146, allocations: 6.242 MB / 1.753 GB, free: 151.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/2.146, allocations: 3.094 kB / 1.753 GB, free: 151.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003075/2.149, allocations: 0.9029 MB / 1.754 GB, free: 151 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/2.15, allocations: 86.47 kB / 1.754 GB, free: 150.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003908/2.154, allocations: 456.6 kB / 1.754 GB, free: 150.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000617/2.155, allocations: 318.4 kB / 1.755 GB, free: 150.1 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01589/2.171, allocations: 6.996 MB / 1.762 GB, free: 143.2 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01846/2.189, allocations: 9.818 MB / 1.771 GB, free: 133.3 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005189/2.195, allocations: 2.748 MB / 1.774 GB, free: 130.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002604/2.197, allocations: 1.941 MB / 1.776 GB, free: 128.6 MB / 1.295 GB Notification: Performance of Backend: time 6.31e-07/2.197, allocations: 0 / 1.776 GB, free: 128.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0181/2.215, allocations: 5.117 MB / 1.781 GB, free: 124.1 MB / 1.295 GB Notification: Performance of SimCode: time 0.01941/2.235, allocations: 9.247 MB / 1.79 GB, free: 114.8 MB / 1.295 GB Notification: Performance of Templates: time 0.1076/2.342, allocations: 85.99 MB / 1.874 GB, free: 29.55 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 13.017868557013571] Failed to read output from testmodel.py, exit status != 0: 2.351637459010817 2.36055225 1.6511847769999999 Calling exit ...