Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001254/0.001254, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001237/0.001237, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437 MB / 0.7112 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 59.89 kB / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7642/0.7655, allocations: 151.6 MB / 1.167 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.1946/0.9601, allocations: 204 MB / 1.366 GB, free: 7.199 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02277/0.9829, allocations: 15.45 MB / 1.382 GB, free: 7.699 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005281/0.9882, allocations: 99.5 kB / 1.382 GB, free: 7.602 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004488/0.9927, allocations: 1.386 MB / 1.383 GB, free: 6.207 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00814/1.001, allocations: 2.904 MB / 1.386 GB, free: 3.293 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006095/1.007, allocations: 2.274 MB / 1.388 GB, free: 1.035 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01067/1.018, allocations: 7.425 MB / 1.395 GB, free: 9.582 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00894/1.027, allocations: 5.551 MB / 1.401 GB, free: 3.938 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005217/1.032, allocations: 2.831 MB / 1.404 GB, free: 1.098 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005488/1.038, allocations: 3.279 MB / 1.407 GB, free: 13.81 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.002115/1.04, allocations: 0.6016 MB / 1.407 GB, free: 13.21 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005241/1.045, allocations: 1.985 MB / 1.409 GB, free: 11.22 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.002553/1.047, allocations: 1.675 MB / 1.411 GB, free: 9.543 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.005534/1.053, allocations: 2.85 MB / 1.414 GB, free: 6.68 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01225/1.065, allocations: 8.194 MB / 1.422 GB, free: 14.46 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/1.065, allocations: 0 / 1.422 GB, free: 14.46 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.204e-06/1.065, allocations: 0 / 1.422 GB, free: 14.46 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0002999/1.066, allocations: 0 / 1.422 GB, free: 14.46 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1078 * Number of variables: 1078 Notification: Performance of Generate backend data structure: time 0.01595/1.082, allocations: 5.969 MB / 1.428 GB, free: 8.395 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/1.082, allocations: 16.81 kB / 1.428 GB, free: 8.379 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01601/1.098, allocations: 3.013 MB / 1.43 GB, free: 5.355 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007465/1.105, allocations: 2.832 MB / 1.433 GB, free: 2.449 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003344/1.106, allocations: 320.4 kB / 1.434 GB, free: 2.133 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001669/1.107, allocations: 419.9 kB / 1.434 GB, free: 1.723 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01822/1.126, allocations: 6.421 MB / 1.44 GB, free: 11.2 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001408/1.126, allocations: 4 kB / 1.44 GB, free: 11.2 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001086/1.127, allocations: 176 kB / 1.44 GB, free: 11.02 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001439/1.127, allocations: 144.2 kB / 1.441 GB, free: 10.88 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01933/1.146, allocations: 7.513 MB / 1.448 GB, free: 3.344 MB / 1.17 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.04999/1.196, allocations: 20.04 MB / 1.467 GB, free: 14.36 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01728/1.214, allocations: 5.136 MB / 1.472 GB, free: 9.219 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007811/1.221, allocations: 3.293 MB / 1.476 GB, free: 5.918 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00126/1.223, allocations: 0.6937 MB / 1.476 GB, free: 5.094 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008215/1.231, allocations: 3.2 MB / 1.479 GB, free: 1.859 MB / 1.201 GB Notification: Performance of pre-optimization done (n=366): time 1.295e-05/1.231, allocations: 112 / 1.479 GB, free: 1.859 MB / 1.201 GB Notification: Performance of matching and sorting (n=368): time 0.05046/1.282, allocations: 16.97 MB / 1.496 GB, free: 0.6953 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/1.282, allocations: 226.8 kB / 1.496 GB, free: 440 kB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005224/1.287, allocations: 3.018 MB / 1.499 GB, free: 13.4 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0007881/1.288, allocations: 97.7 kB / 1.499 GB, free: 13.3 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00169/1.289, allocations: 1.728 MB / 1.501 GB, free: 11.55 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.00172/1.291, allocations: 1.197 MB / 1.502 GB, free: 10.34 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002329/1.294, allocations: 0.6243 MB / 1.503 GB, free: 9.703 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.294, allocations: 305.1 kB / 1.503 GB, free: 9.402 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006134/1.3, allocations: 2.477 MB / 1.505 GB, free: 6.922 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006425/1.306, allocations: 2.832 MB / 1.508 GB, free: 4.031 MB / 1.232 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 1.041/2.348, allocations: 87.34 MB / 1.594 GB, free: 359.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/2.348, allocations: 0 / 1.594 GB, free: 359.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.013/2.361, allocations: 6.496 MB / 1.6 GB, free: 353.3 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/2.361, allocations: 37.69 kB / 1.6 GB, free: 353.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/2.361, allocations: 0 / 1.6 GB, free: 353.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00151/2.362, allocations: 0.8395 MB / 1.601 GB, free: 352.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00437/2.367, allocations: 0.9048 MB / 1.602 GB, free: 351.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00862/2.375, allocations: 7.506 MB / 1.609 GB, free: 344 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004662/2.38, allocations: 470.1 kB / 1.609 GB, free: 343.5 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000494/2.381, allocations: 135.9 kB / 1.61 GB, free: 343.4 MB / 1.279 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.002169/2.383, allocations: 1.192 MB / 1.611 GB, free: 342.2 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006955/2.383, allocations: 357.2 kB / 1.611 GB, free: 342 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/2.397, allocations: 7.128 MB / 1.618 GB, free: 334.9 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01113/2.408, allocations: 6.251 MB / 1.624 GB, free: 328.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/2.408, allocations: 0 / 1.624 GB, free: 328.5 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002218/2.41, allocations: 0.9682 MB / 1.625 GB, free: 327.7 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00067/2.411, allocations: 90.5 kB / 1.625 GB, free: 327.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003404/2.415, allocations: 451.4 kB / 1.626 GB, free: 327.2 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005422/2.415, allocations: 306.4 kB / 1.626 GB, free: 326.9 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01483/2.43, allocations: 6.989 MB / 1.633 GB, free: 319.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0166/2.447, allocations: 9.796 MB / 1.642 GB, free: 310.1 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005176/2.452, allocations: 2.903 MB / 1.645 GB, free: 307.2 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003124/2.455, allocations: 2.176 MB / 1.647 GB, free: 305 MB / 1.279 GB Notification: Performance of Backend: time 5.41e-07/2.455, allocations: 0 / 1.647 GB, free: 305 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0122/2.467, allocations: 5.19 MB / 1.652 GB, free: 300.3 MB / 1.279 GB Notification: Performance of SimCode: time 0.01431/2.481, allocations: 9.207 MB / 1.661 GB, free: 291.1 MB / 1.279 GB Notification: Performance of Templates: time 0.1087/2.59, allocations: 78.25 MB / 1.738 GB, free: 213.3 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)