Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneThreeElements.TAir",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneThreeElements.TAir",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 116.8 kB / 16.42 MB, free: 5.992 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.001749/0.001749, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.333/1.333, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.469/2.469, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 67.89 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8049/0.8063, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1799/0.9863, allocations: 163.6 MB / 1.327 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03616/1.022, allocations: 27.38 MB / 1.354 GB, free: 4.145 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004475/1.027, allocations: 79.62 kB / 1.354 GB, free: 4.066 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003413/1.03, allocations: 1.122 MB / 1.355 GB, free: 2.938 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006565/1.037, allocations: 1.978 MB / 1.357 GB, free: 0.9531 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005094/1.042, allocations: 1.873 MB / 1.359 GB, free: 15.09 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.008578/1.051, allocations: 5.947 MB / 1.365 GB, free: 9.117 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006484/1.057, allocations: 4.573 MB / 1.369 GB, free: 4.477 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004418/1.062, allocations: 2.331 MB / 1.371 GB, free: 2.141 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004178/1.066, allocations: 2.775 MB / 1.374 GB, free: 15.36 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002378/1.068, allocations: 0.5078 MB / 1.374 GB, free: 14.85 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003609/1.072, allocations: 1.124 MB / 1.376 GB, free: 13.72 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.00187/1.074, allocations: 1.316 MB / 1.377 GB, free: 12.4 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.004022/1.078, allocations: 2.383 MB / 1.379 GB, free: 10.01 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.008872/1.087, allocations: 6.654 MB / 1.386 GB, free: 3.336 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.087, allocations: 0 / 1.386 GB, free: 3.336 MB / 1.107 GB Notification: Performance of FrontEnd: time 4.699e-06/1.087, allocations: 0 / 1.386 GB, free: 3.336 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002528/1.087, allocations: 7.875 kB / 1.386 GB, free: 3.328 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 907 * Number of variables: 907 Notification: Performance of Generate backend data structure: time 0.0151/1.102, allocations: 5.071 MB / 1.391 GB, free: 14.16 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/1.102, allocations: 11.97 kB / 1.391 GB, free: 14.15 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01441/1.117, allocations: 2.815 MB / 1.393 GB, free: 11.33 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006594/1.123, allocations: 2.486 MB / 1.396 GB, free: 8.77 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003043/1.124, allocations: 271.1 kB / 1.396 GB, free: 8.504 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001337/1.125, allocations: 347.9 kB / 1.396 GB, free: 8.164 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01484/1.14, allocations: 5.58 MB / 1.402 GB, free: 2.516 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/1.14, allocations: 3.938 kB / 1.402 GB, free: 2.512 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008437/1.141, allocations: 151.9 kB / 1.402 GB, free: 2.363 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.869e-05/1.141, allocations: 88 kB / 1.402 GB, free: 2.277 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01641/1.157, allocations: 6.704 MB / 1.409 GB, free: 11.56 MB / 1.139 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.03253/1.19, allocations: 16.86 MB / 1.425 GB, free: 9.902 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009926/1.2, allocations: 4.402 MB / 1.429 GB, free: 5.5 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005859/1.206, allocations: 2.772 MB / 1.432 GB, free: 2.719 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000981/1.207, allocations: 0.6815 MB / 1.433 GB, free: 1.906 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007027/1.214, allocations: 2.825 MB / 1.436 GB, free: 15.05 MB / 1.17 GB Notification: Performance of pre-optimization done (n=309): time 6.472e-06/1.214, allocations: 0 / 1.436 GB, free: 15.05 MB / 1.17 GB Notification: Performance of matching and sorting (n=309): time 0.02379/1.238, allocations: 8.844 MB / 1.444 GB, free: 6.09 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/1.238, allocations: 210.4 kB / 1.444 GB, free: 5.84 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004174/1.242, allocations: 2.635 MB / 1.447 GB, free: 3.188 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0005831/1.243, allocations: 85.7 kB / 1.447 GB, free: 3.098 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001353/1.244, allocations: 1.479 MB / 1.448 GB, free: 1.602 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001289/1.245, allocations: 1.017 MB / 1.449 GB, free: 0.5703 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001439/1.247, allocations: 0.533 MB / 1.45 GB, free: 32 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001038/1.247, allocations: 313.1 kB / 1.45 GB, free: 15.72 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00514/1.252, allocations: 2.199 MB / 1.452 GB, free: 13.52 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005461/1.257, allocations: 2.521 MB / 1.455 GB, free: 10.93 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/1.268, allocations: 4.653 MB / 1.459 GB, free: 6.191 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/1.268, allocations: 0 / 1.459 GB, free: 6.191 MB / 1.186 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.0131/1.281, allocations: 5.62 MB / 1.465 GB, free: 0.5273 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/1.281, allocations: 8 kB / 1.465 GB, free: 0.5195 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/1.281, allocations: 4 kB / 1.465 GB, free: 0.5156 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/1.282, allocations: 0.5414 MB / 1.465 GB, free: 15.97 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004238/1.287, allocations: 0.8307 MB / 1.466 GB, free: 15.14 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008382/1.295, allocations: 5.732 MB / 1.472 GB, free: 9.262 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004893/1.3, allocations: 0.5867 MB / 1.472 GB, free: 8.672 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008663/1.301, allocations: 119.9 kB / 1.473 GB, free: 8.555 MB / 1.201 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 (310): * Single equations (assignments): 309 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002986/1.304, allocations: 1.038 MB / 1.474 GB, free: 7.508 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/1.305, allocations: 300.2 kB / 1.474 GB, free: 7.211 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01649/1.322, allocations: 6.252 MB / 1.48 GB, free: 0.8984 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.295e-05/1.322, allocations: 19.88 kB / 1.48 GB, free: 0.8789 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/1.322, allocations: 0 / 1.48 GB, free: 0.8789 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002679/1.324, allocations: 0.9065 MB / 1.481 GB, free: 15.95 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/1.326, allocations: 79.83 kB / 1.481 GB, free: 15.87 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00387/1.329, allocations: 419.4 kB / 1.481 GB, free: 15.46 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006482/1.33, allocations: 246.2 kB / 1.482 GB, free: 15.21 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01816/1.348, allocations: 6.065 MB / 1.488 GB, free: 9.102 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02078/1.369, allocations: 8.656 MB / 1.496 GB, free: 388 kB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006007/1.375, allocations: 2.549 MB / 1.498 GB, free: 13.82 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003818/1.379, allocations: 1.915 MB / 1.5 GB, free: 11.89 MB / 1.232 GB Notification: Performance of Backend: time 1.072e-06/1.379, allocations: 0 / 1.5 GB, free: 11.89 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01456/1.394, allocations: 4.48 MB / 1.505 GB, free: 7.723 MB / 1.232 GB Notification: Performance of SimCode: time 0.01685/1.411, allocations: 7.682 MB / 1.512 GB, free: 16 kB / 1.232 GB Notification: Performance of Templates: time 0.8005/2.211, allocations: 65.55 MB / 1.576 GB, free: 374.7 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)