Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00158/0.00158, allocations: 112.2 kB / 16.42 MB, free: 6.445 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.001744/0.001744, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.271/2.271, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 67.89 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8102/0.8121, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.2273/1.039, allocations: 202.5 MB / 1.286 GB, free: 3.164 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02629/1.066, allocations: 15.29 MB / 1.301 GB, free: 3.832 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00556/1.071, allocations: 95.5 kB / 1.301 GB, free: 3.738 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004285/1.076, allocations: 1.332 MB / 1.303 GB, free: 2.398 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009177/1.085, allocations: 2.787 MB / 1.305 GB, free: 15.6 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006593/1.092, allocations: 2.255 MB / 1.308 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.009421/1.101, allocations: 7.005 MB / 1.314 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008496/1.11, allocations: 5.635 MB / 1.32 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004651/1.114, allocations: 2.768 MB / 1.323 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005195/1.119, allocations: 3.211 MB / 1.326 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001825/1.121, allocations: 0.6055 MB / 1.326 GB, free: 10.01 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005119/1.126, allocations: 1.989 MB / 1.328 GB, free: 8.016 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002727/1.129, allocations: 1.675 MB / 1.33 GB, free: 6.336 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.005301/1.135, allocations: 2.768 MB / 1.333 GB, free: 3.555 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01188/1.146, allocations: 8.07 MB / 1.341 GB, free: 11.46 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/1.146, allocations: 4 kB / 1.341 GB, free: 11.46 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.074e-06/1.146, allocations: 0 / 1.341 GB, free: 11.46 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003155/1.147, allocations: 0 / 1.341 GB, free: 11.46 MB / 1.076 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.01779/1.165, allocations: 5.911 MB / 1.346 GB, free: 5.449 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/1.165, allocations: 12.03 kB / 1.346 GB, free: 5.438 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01581/1.18, allocations: 3.009 MB / 1.349 GB, free: 2.418 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007278/1.188, allocations: 2.836 MB / 1.352 GB, free: 15.51 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003903/1.188, allocations: 320.4 kB / 1.352 GB, free: 15.19 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001736/1.19, allocations: 416 kB / 1.353 GB, free: 14.79 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01956/1.21, allocations: 6.421 MB / 1.359 GB, free: 8.262 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001827/1.21, allocations: 7.891 kB / 1.359 GB, free: 8.254 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001364/1.211, allocations: 172 kB / 1.359 GB, free: 8.086 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001746/1.211, allocations: 148.2 kB / 1.359 GB, free: 7.938 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02219/1.234, allocations: 7.513 MB / 1.367 GB, free: 412 kB / 1.092 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.04746/1.281, allocations: 19.25 MB / 1.385 GB, free: 12.39 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01287/1.294, allocations: 5.131 MB / 1.39 GB, free: 7.254 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007818/1.302, allocations: 3.281 MB / 1.394 GB, free: 3.965 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/1.303, allocations: 0.6976 MB / 1.394 GB, free: 3.137 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009177/1.312, allocations: 3.184 MB / 1.397 GB, free: 15.91 MB / 1.139 GB Notification: Performance of pre-optimization done (n=366): time 9.888e-06/1.312, allocations: 0 / 1.397 GB, free: 15.91 MB / 1.139 GB Notification: Performance of matching and sorting (n=368): time 0.05258/1.365, allocations: 16.97 MB / 1.414 GB, free: 14.76 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/1.365, allocations: 226.8 kB / 1.414 GB, free: 14.5 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00559/1.371, allocations: 3.026 MB / 1.417 GB, free: 11.46 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0009532/1.372, allocations: 93.7 kB / 1.417 GB, free: 11.36 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001965/1.374, allocations: 1.72 MB / 1.419 GB, free: 9.625 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.002128/1.376, allocations: 1.209 MB / 1.42 GB, free: 8.398 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002711/1.379, allocations: 0.6243 MB / 1.421 GB, free: 7.766 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000105/1.379, allocations: 305.1 kB / 1.421 GB, free: 7.465 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006298/1.385, allocations: 2.473 MB / 1.423 GB, free: 4.988 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006948/1.392, allocations: 2.828 MB / 1.426 GB, free: 2.102 MB / 1.154 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.3704/1.763, allocations: 87.33 MB / 1.512 GB, free: 10.55 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/1.763, allocations: 0 / 1.512 GB, free: 10.55 MB / 1.248 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01578/1.778, allocations: 6.488 MB / 1.518 GB, free: 4.023 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 6.007e-05/1.778, allocations: 36.05 kB / 1.518 GB, free: 3.984 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/1.778, allocations: 4 kB / 1.518 GB, free: 3.98 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/1.78, allocations: 0.8396 MB / 1.519 GB, free: 3.141 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004678/1.785, allocations: 0.897 MB / 1.52 GB, free: 2.242 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/1.796, allocations: 7.518 MB / 1.527 GB, free: 10.58 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00441/1.8, allocations: 459.4 kB / 1.527 GB, free: 10.13 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006581/1.801, allocations: 139.9 kB / 1.527 GB, free: 9.992 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.002837/1.804, allocations: 1.201 MB / 1.529 GB, free: 8.781 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/1.805, allocations: 355.5 kB / 1.529 GB, free: 8.43 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01671/1.822, allocations: 7.133 MB / 1.536 GB, free: 1.242 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01328/1.835, allocations: 6.25 MB / 1.542 GB, free: 10.87 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/1.835, allocations: 0 / 1.542 GB, free: 10.87 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002292/1.837, allocations: 0.9611 MB / 1.543 GB, free: 9.887 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000958/1.838, allocations: 91.83 kB / 1.543 GB, free: 9.797 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003869/1.842, allocations: 451.3 kB / 1.544 GB, free: 9.355 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006256/1.843, allocations: 306.6 kB / 1.544 GB, free: 9.055 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01756/1.86, allocations: 6.99 MB / 1.551 GB, free: 2.023 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01988/1.88, allocations: 9.793 MB / 1.56 GB, free: 8.176 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006056/1.886, allocations: 2.9 MB / 1.563 GB, free: 5.266 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003636/1.89, allocations: 2.18 MB / 1.565 GB, free: 3.09 MB / 1.295 GB Notification: Performance of Backend: time 7.22e-07/1.89, allocations: 3.938 kB / 1.565 GB, free: 3.086 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01623/1.906, allocations: 5.182 MB / 1.57 GB, free: 14.31 MB / 1.311 GB Notification: Performance of SimCode: time 0.01811/1.924, allocations: 9.175 MB / 1.579 GB, free: 5.125 MB / 1.311 GB Notification: Performance of Templates: time 0.7397/2.664, allocations: 78.79 MB / 1.656 GB, free: 418.8 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)