Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001073/0.001073, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001171/0.001171, allocations: 188.9 kB / 16.25 MB, free: 6.148 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.497/1.497, allocations: 222.9 MB / 239.9 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.75/2.75, allocations: 472.6 MB / 0.7448 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 58.19 kB / 0.9115 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3487, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1639/0.5127, allocations: 161.4 MB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.5531/1.066, allocations: 27.01 MB / 1.252 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003175/1.069, allocations: 76.81 kB / 1.252 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002532/1.072, allocations: 0.9949 MB / 1.253 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00793/1.08, allocations: 1.764 MB / 1.254 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00552/1.085, allocations: 1.694 MB / 1.256 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007204/1.092, allocations: 5.935 MB / 1.262 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006062/1.098, allocations: 4.587 MB / 1.266 GB, free: 21.13 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004281/1.103, allocations: 2.308 MB / 1.269 GB, free: 21.13 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004774/1.108, allocations: 2.824 MB / 1.271 GB, free: 21.07 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001406/1.109, allocations: 0.5071 MB / 1.272 GB, free: 21.07 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003497/1.112, allocations: 1.099 MB / 1.273 GB, free: 21.05 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001764/1.114, allocations: 1.315 MB / 1.274 GB, free: 20.89 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005308/1.12, allocations: 2.386 MB / 1.277 GB, free: 20.24 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009502/1.129, allocations: 6.57 MB / 1.283 GB, free: 19.39 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/1.129, allocations: 2.062 kB / 1.283 GB, free: 19.39 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.894e-06/1.129, allocations: 0 / 1.283 GB, free: 19.39 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001735/1.129, allocations: 0 / 1.283 GB, free: 19.39 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.01116/1.141, allocations: 5.065 MB / 1.288 GB, free: 17.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/1.141, allocations: 13.19 kB / 1.288 GB, free: 17.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01383/1.154, allocations: 2.821 MB / 1.291 GB, free: 17.14 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004947/1.159, allocations: 2.479 MB / 1.293 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/1.16, allocations: 267.9 kB / 1.293 GB, free: 16.49 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007495/1.16, allocations: 346 kB / 1.294 GB, free: 16.49 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/1.172, allocations: 5.589 MB / 1.299 GB, free: 16.21 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-05/1.172, allocations: 9.375 kB / 1.299 GB, free: 16.21 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004091/1.172, allocations: 143 kB / 1.299 GB, free: 16.21 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.818e-05/1.172, allocations: 87.22 kB / 1.299 GB, free: 16.21 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01561/1.188, allocations: 6.712 MB / 1.306 GB, free: 16.18 MB / 1.014 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.02936/1.217, allocations: 16.97 MB / 1.322 GB, free: 10.81 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008564/1.226, allocations: 4.406 MB / 1.327 GB, free: 9.531 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005306/1.231, allocations: 2.778 MB / 1.329 GB, free: 8.133 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009605/1.232, allocations: 0.6802 MB / 1.33 GB, free: 7.418 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005792/1.238, allocations: 2.82 MB / 1.333 GB, free: 5.797 MB / 1.014 GB Notification: Performance of pre-optimization done (n=309): time 4.889e-06/1.238, allocations: 0 / 1.333 GB, free: 5.797 MB / 1.014 GB Notification: Performance of matching and sorting (n=309): time 0.02291/1.261, allocations: 8.851 MB / 1.342 GB, free: 1.195 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/1.261, allocations: 216.2 kB / 1.342 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004038/1.265, allocations: 2.635 MB / 1.344 GB, free: 15.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000953/1.266, allocations: 89.5 kB / 1.344 GB, free: 15.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001502/1.268, allocations: 1.468 MB / 1.346 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001334/1.269, allocations: 1.015 MB / 1.347 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/1.27, allocations: 0.5472 MB / 1.347 GB, free: 13.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.27, allocations: 314.3 kB / 1.348 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004903/1.275, allocations: 2.194 MB / 1.35 GB, free: 11.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005114/1.28, allocations: 2.516 MB / 1.352 GB, free: 10.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009924/1.29, allocations: 4.647 MB / 1.357 GB, free: 7.348 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/1.29, allocations: 4 kB / 1.357 GB, free: 7.344 MB / 1.029 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01267/1.303, allocations: 5.62 MB / 1.362 GB, free: 1.727 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/1.303, allocations: 11.94 kB / 1.362 GB, free: 1.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/1.303, allocations: 4 kB / 1.362 GB, free: 1.711 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/1.304, allocations: 0.5456 MB / 1.363 GB, free: 1.164 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004381/1.309, allocations: 0.8286 MB / 1.364 GB, free: 368 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007695/1.317, allocations: 5.731 MB / 1.369 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004941/1.321, allocations: 0.6102 MB / 1.37 GB, free: 9.895 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005326/1.322, allocations: 119.9 kB / 1.37 GB, free: 9.777 MB / 1.045 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.002825/1.325, allocations: 1.035 MB / 1.371 GB, free: 8.766 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/1.326, allocations: 300.2 kB / 1.371 GB, free: 8.469 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01532/1.341, allocations: 6.262 MB / 1.377 GB, free: 2.164 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.912e-05/1.341, allocations: 38.75 kB / 1.377 GB, free: 2.129 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/1.341, allocations: 8 kB / 1.377 GB, free: 2.121 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.658e-05/1.341, allocations: 15.94 kB / 1.377 GB, free: 2.105 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006411/1.348, allocations: 4.072 MB / 1.381 GB, free: 14.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/1.348, allocations: 0 / 1.381 GB, free: 14.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004079/1.352, allocations: 0.7671 MB / 1.382 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/1.353, allocations: 0.5354 MB / 1.383 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003037/1.354, allocations: 90.83 kB / 1.383 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00814/1.362, allocations: 7.554 MB / 1.39 GB, free: 4.852 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.362, allocations: 0 / 1.39 GB, free: 4.852 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01884/1.381, allocations: 8.91 MB / 1.399 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002052/1.383, allocations: 0.8987 MB / 1.4 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006059/1.383, allocations: 75.84 kB / 1.4 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003524/1.387, allocations: 459.2 kB / 1.4 GB, free: 10.44 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005482/1.388, allocations: 226.3 kB / 1.4 GB, free: 10.22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000311/1.388, allocations: 115.8 kB / 1.401 GB, free: 10.11 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002827/1.391, allocations: 1.922 MB / 1.402 GB, free: 8.18 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.9e-07/1.391, allocations: 0 / 1.402 GB, free: 8.18 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003883/1.395, allocations: 1.2 MB / 1.404 GB, free: 6.977 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.thermCapExt[1].T) * Number of discrete variables: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,36,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003012/1.398, allocations: 1.064 MB / 1.405 GB, free: 6.305 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0234/1.421, allocations: 9.418 MB / 1.414 GB, free: 12.91 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.421, allocations: 0 / 1.414 GB, free: 12.91 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00641/1.427, allocations: 3.111 MB / 1.417 GB, free: 9.828 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003772/1.431, allocations: 0.7646 MB / 1.418 GB, free: 9.098 MB / 1.092 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/1.448, allocations: 10.41 MB / 1.428 GB, free: 14.66 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00222/1.45, allocations: 2.641 MB / 1.43 GB, free: 12 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.004999/1.455, allocations: 1.181 MB / 1.432 GB, free: 10.81 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/1.456, allocations: 295.2 kB / 1.432 GB, free: 10.52 MB / 1.107 GB Notification: Performance of SimCode: time 1.012e-06/1.456, allocations: 0 / 1.432 GB, free: 10.52 MB / 1.107 GB Notification: Performance of Templates: time 0.09026/1.547, allocations: 54.37 MB / 1.485 GB, free: 4.797 MB / 1.154 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)