Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_1.6_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.001382/0.001382, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001456/0.001456, allocations: 192.8 kB / 16.14 MB, free: 6.688 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.41/1.41, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.789/2.789, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 61.81 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2763, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.163/0.4393, allocations: 161.2 MB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6561/1.095, allocations: 27.21 MB / 1.252 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00441/1.1, allocations: 75.34 kB / 1.252 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0037/1.104, allocations: 0.9842 MB / 1.253 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00726/1.111, allocations: 1.752 MB / 1.254 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007649/1.119, allocations: 1.669 MB / 1.256 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01186/1.13, allocations: 6.141 MB / 1.262 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009109/1.14, allocations: 4.076 MB / 1.266 GB, free: 21.01 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004916/1.145, allocations: 1.905 MB / 1.268 GB, free: 21.01 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005393/1.15, allocations: 2.589 MB / 1.27 GB, free: 20.95 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001894/1.152, allocations: 274.7 kB / 1.271 GB, free: 20.95 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004351/1.156, allocations: 0.8632 MB / 1.271 GB, free: 20.93 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002915/1.159, allocations: 1.047 MB / 1.272 GB, free: 20.77 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.007984/1.167, allocations: 2.113 MB / 1.274 GB, free: 20.11 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01082/1.178, allocations: 6.341 MB / 1.281 GB, free: 19.27 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.178, allocations: 0 / 1.281 GB, free: 19.27 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.162e-06/1.178, allocations: 0 / 1.281 GB, free: 19.27 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002779/1.178, allocations: 0 / 1.281 GB, free: 19.27 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.01689/1.195, allocations: 5.079 MB / 1.286 GB, free: 17.22 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.195, allocations: 10.25 kB / 1.286 GB, free: 17.22 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01408/1.209, allocations: 2.817 MB / 1.288 GB, free: 16.94 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006289/1.216, allocations: 2.482 MB / 1.291 GB, free: 16.29 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002911/1.216, allocations: 273.6 kB / 1.291 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001484/1.218, allocations: 343.3 kB / 1.291 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01708/1.235, allocations: 5.583 MB / 1.297 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002071/1.235, allocations: 7.969 kB / 1.297 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001816/1.237, allocations: 146.8 kB / 1.297 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001432/1.237, allocations: 86.09 kB / 1.297 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/1.254, allocations: 6.709 MB / 1.304 GB, free: 15.92 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.03533/1.29, allocations: 16.97 MB / 1.32 GB, free: 9.891 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/1.3, allocations: 4.405 MB / 1.324 GB, free: 8.988 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006125/1.306, allocations: 2.78 MB / 1.327 GB, free: 8.434 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/1.307, allocations: 0.6715 MB / 1.328 GB, free: 7.734 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007079/1.314, allocations: 2.825 MB / 1.331 GB, free: 6.352 MB / 1.014 GB Notification: Performance of pre-optimization done (n=309): time 6.673e-06/1.314, allocations: 0 / 1.331 GB, free: 6.352 MB / 1.014 GB Notification: Performance of matching and sorting (n=309): time 0.02434/1.339, allocations: 8.852 MB / 1.339 GB, free: 1.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/1.339, allocations: 212.6 kB / 1.339 GB, free: 1.527 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005188/1.344, allocations: 2.64 MB / 1.342 GB, free: 232 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0006737/1.345, allocations: 84.36 kB / 1.342 GB, free: 156 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001521/1.346, allocations: 1.478 MB / 1.344 GB, free: 14.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001445/1.348, allocations: 1.012 MB / 1.345 GB, free: 14.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00172/1.349, allocations: 0.5429 MB / 1.345 GB, free: 13.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.35, allocations: 312.3 kB / 1.345 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005122/1.355, allocations: 2.198 MB / 1.348 GB, free: 12.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005629/1.36, allocations: 2.516 MB / 1.35 GB, free: 10.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/1.371, allocations: 4.652 MB / 1.355 GB, free: 8.402 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/1.371, allocations: 0 / 1.355 GB, free: 8.402 MB / 1.029 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01425/1.385, allocations: 5.621 MB / 1.36 GB, free: 2.781 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.385, allocations: 6.906 kB / 1.36 GB, free: 2.777 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/1.385, allocations: 7.984 kB / 1.36 GB, free: 2.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/1.387, allocations: 0.5378 MB / 1.361 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00443/1.391, allocations: 0.8286 MB / 1.361 GB, free: 1.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007798/1.399, allocations: 5.308 MB / 1.367 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005001/1.404, allocations: 0.6038 MB / 1.367 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009276/1.405, allocations: 128 kB / 1.367 GB, free: 11.27 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.003393/1.408, allocations: 1.025 MB / 1.368 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001386/1.41, allocations: 304.2 kB / 1.369 GB, free: 9.973 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01636/1.426, allocations: 6.266 MB / 1.375 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-05/1.426, allocations: 32 kB / 1.375 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.242e-05/1.426, allocations: 4 kB / 1.375 GB, free: 3.633 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.075e-05/1.426, allocations: 19.88 kB / 1.375 GB, free: 3.613 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008/1.434, allocations: 4.078 MB / 1.379 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.482e-05/1.434, allocations: 0 / 1.379 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004533/1.439, allocations: 0.7672 MB / 1.379 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001759/1.441, allocations: 0.5339 MB / 1.38 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007701/1.441, allocations: 87.92 kB / 1.38 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00916/1.451, allocations: 6.946 MB / 1.387 GB, free: 6.973 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/1.451, allocations: 0 / 1.387 GB, free: 6.973 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02318/1.474, allocations: 8.916 MB / 1.396 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002798/1.477, allocations: 0.9026 MB / 1.396 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001288/1.478, allocations: 75.77 kB / 1.396 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004217/1.482, allocations: 459.2 kB / 1.397 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007596/1.483, allocations: 226.3 kB / 1.397 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005307/1.484, allocations: 116.9 kB / 1.397 GB, free: 12.22 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00355/1.487, allocations: 1.915 MB / 1.399 GB, free: 10.3 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.91e-07/1.487, allocations: 0 / 1.399 GB, free: 10.3 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004673/1.492, allocations: 1.212 MB / 1.4 GB, free: 9.082 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.003306/1.495, allocations: 1.049 MB / 1.401 GB, free: 8.43 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01347/1.509, allocations: 5.412 MB / 1.407 GB, free: 3.02 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.509, allocations: 0 / 1.407 GB, free: 3.02 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.007567/1.516, allocations: 3.115 MB / 1.41 GB, free: 15.93 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005388/1.522, allocations: 0.7144 MB / 1.41 GB, free: 15.22 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.01982/1.541, allocations: 10.42 MB / 1.421 GB, free: 4.785 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002997/1.544, allocations: 2.643 MB / 1.423 GB, free: 2.121 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.005748/1.55, allocations: 1.185 MB / 1.424 GB, free: 0.9297 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001823/1.552, allocations: 286.2 kB / 1.425 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of SimCode: time 1.132e-06/1.552, allocations: 0 / 1.425 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of Templates: time 0.08711/1.639, allocations: 52.5 MB / 1.476 GB, free: 12.74 MB / 1.154 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)