Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=336,variableFilter="time|thermalZoneFourElements.TAir|thermalZoneFourElements.volAir.C.1.",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=336,variableFilter="time|thermalZoneFourElements.TAir|thermalZoneFourElements.volAir.C.1.",fileNamePrefix="Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 117.9 kB / 16.81 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 192.7 kB / 17.77 MB, free: 5.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.79/2.79, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 66.62 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3234, allocations: 168.7 MB / 1.262 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.2499/0.5733, allocations: 204.7 MB / 1.462 GB, free: 15.43 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02751/0.6008, allocations: 15.56 MB / 1.477 GB, free: 15.84 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004234/0.605, allocations: 99.5 kB / 1.477 GB, free: 15.74 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.003926/0.609, allocations: 1.398 MB / 1.479 GB, free: 14.33 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.008484/0.6175, allocations: 2.913 MB / 1.481 GB, free: 11.41 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.007097/0.6246, allocations: 2.357 MB / 1.484 GB, free: 9.062 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01076/0.6353, allocations: 7.442 MB / 1.491 GB, free: 1.594 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007243/0.6426, allocations: 4.525 MB / 1.495 GB, free: 12.98 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004777/0.6473, allocations: 2.831 MB / 1.498 GB, free: 10.14 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005956/0.6533, allocations: 3.391 MB / 1.502 GB, free: 6.742 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.001847/0.6551, allocations: 0.6094 MB / 1.502 GB, free: 6.133 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005116/0.6602, allocations: 2.048 MB / 1.504 GB, free: 4.082 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.002576/0.6628, allocations: 1.687 MB / 1.506 GB, free: 2.391 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.00517/0.668, allocations: 2.858 MB / 1.509 GB, free: 15.52 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.6804, allocations: 8.244 MB / 1.517 GB, free: 7.246 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6805, allocations: 0 / 1.517 GB, free: 7.246 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6805, allocations: 0 / 1.517 GB, free: 7.246 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0002113/0.6807, allocations: 0 / 1.517 GB, free: 7.246 MB / 1.232 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.01538/0.696, allocations: 6.138 MB / 1.523 GB, free: 1.004 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.6961, allocations: 8.031 kB / 1.523 GB, free: 0.9961 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01592/0.712, allocations: 3.043 MB / 1.526 GB, free: 13.95 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006243/0.7183, allocations: 2.886 MB / 1.528 GB, free: 10.99 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003087/0.7186, allocations: 320.5 kB / 1.529 GB, free: 10.67 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001446/0.72, allocations: 416 kB / 1.529 GB, free: 10.27 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01545/0.7355, allocations: 6.425 MB / 1.535 GB, free: 3.738 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.575e-05/0.7356, allocations: 3.938 kB / 1.535 GB, free: 3.734 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005125/0.7361, allocations: 172 kB / 1.536 GB, free: 3.566 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/0.7362, allocations: 148.2 kB / 1.536 GB, free: 3.418 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01791/0.7541, allocations: 7.513 MB / 1.543 GB, free: 11.88 MB / 1.264 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.6602/1.414, allocations: 20.11 MB / 1.563 GB, free: 278.6 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/1.426, allocations: 4.845 MB / 1.567 GB, free: 277 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007257/1.434, allocations: 3.044 MB / 1.57 GB, free: 276.1 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/1.435, allocations: 0.7044 MB / 1.571 GB, free: 275.5 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007768/1.442, allocations: 3.184 MB / 1.574 GB, free: 274.5 MB / 1.264 GB Notification: Performance of pre-optimization done (n=366): time 6.252e-06/1.442, allocations: 2.156 kB / 1.574 GB, free: 274.5 MB / 1.264 GB Notification: Performance of matching and sorting (n=368): time 0.04498/1.487, allocations: 17.02 MB / 1.591 GB, free: 268.3 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.428e-05/1.487, allocations: 223 kB / 1.591 GB, free: 268.1 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004359/1.492, allocations: 3.043 MB / 1.594 GB, free: 266.6 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0009596/1.493, allocations: 99.56 kB / 1.594 GB, free: 266.5 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/1.494, allocations: 1.768 MB / 1.596 GB, free: 265 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.001456/1.495, allocations: 1.263 MB / 1.597 GB, free: 263.9 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001141/1.497, allocations: 0.6275 MB / 1.598 GB, free: 263.6 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 4.542e-05/1.497, allocations: 309.1 kB / 1.598 GB, free: 263.2 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00508/1.502, allocations: 2.469 MB / 1.6 GB, free: 262 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005872/1.508, allocations: 2.832 MB / 1.603 GB, free: 260.5 MB / 1.264 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.3486/1.856, allocations: 87.35 MB / 1.688 GB, free: 173.1 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.856, allocations: 0 / 1.688 GB, free: 173.1 MB / 1.264 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01373/1.87, allocations: 6.475 MB / 1.695 GB, free: 166.6 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 5.165e-05/1.87, allocations: 33.7 kB / 1.695 GB, free: 166.6 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/1.87, allocations: 4 kB / 1.695 GB, free: 166.6 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/1.872, allocations: 0.8395 MB / 1.696 GB, free: 165.8 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004734/1.876, allocations: 0.9046 MB / 1.697 GB, free: 164.9 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008334/1.885, allocations: 7.515 MB / 1.704 GB, free: 157.2 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004741/1.889, allocations: 470.3 kB / 1.704 GB, free: 156.7 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006233/1.89, allocations: 135.9 kB / 1.704 GB, free: 156.6 MB / 1.264 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.00228/1.892, allocations: 1.201 MB / 1.706 GB, free: 155.4 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007826/1.893, allocations: 381.5 kB / 1.706 GB, free: 155 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01421/1.907, allocations: 7.09 MB / 1.713 GB, free: 147.9 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01306/1.92, allocations: 6.222 MB / 1.719 GB, free: 141.5 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.92, allocations: 0 / 1.719 GB, free: 141.5 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002289/1.923, allocations: 0.9825 MB / 1.72 GB, free: 140.5 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001172/1.924, allocations: 91.81 kB / 1.72 GB, free: 140.4 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004151/1.928, allocations: 451.4 kB / 1.72 GB, free: 140 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007479/1.929, allocations: 306.6 kB / 1.721 GB, free: 139.7 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01705/1.946, allocations: 6.991 MB / 1.728 GB, free: 132.8 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01813/1.964, allocations: 9.815 MB / 1.737 GB, free: 122.9 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005155/1.969, allocations: 2.744 MB / 1.74 GB, free: 120.1 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003207/1.972, allocations: 2.192 MB / 1.742 GB, free: 117.9 MB / 1.264 GB Notification: Performance of Backend: time 5.81e-07/1.972, allocations: 0 / 1.742 GB, free: 117.9 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01505/1.987, allocations: 5.005 MB / 1.747 GB, free: 113.4 MB / 1.264 GB Notification: Performance of SimCode: time 0.01498/2.002, allocations: 9.426 MB / 1.756 GB, free: 104 MB / 1.264 GB Notification: Performance of Templates: time 0.1042/2.106, allocations: 80.09 MB / 1.834 GB, free: 24.4 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & ./Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)