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.001104/0.001104, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008511/0.008511, allocations: 169.7 kB / 16.27 MB, free: 6.66 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.359/1.359, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.751/2.751, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003079, allocations: 10.89 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2745, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.2023/0.4769, allocations: 158.9 MB / 1.229 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6138/1.091, allocations: 26.9 MB / 1.256 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003086/1.094, allocations: 72.78 kB / 1.256 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002277/1.096, allocations: 0.9883 MB / 1.257 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004974/1.101, allocations: 1.752 MB / 1.258 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004084/1.105, allocations: 1.66 MB / 1.26 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007559/1.113, allocations: 6.144 MB / 1.266 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005435/1.118, allocations: 3.722 MB / 1.27 GB, free: 21.33 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003081/1.121, allocations: 1.59 MB / 1.271 GB, free: 21.33 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00368/1.125, allocations: 2.186 MB / 1.273 GB, free: 21.32 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005858/1.126, allocations: 129.5 kB / 1.273 GB, free: 21.32 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/1.128, allocations: 0.7267 MB / 1.274 GB, free: 21.3 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009227/1.129, allocations: 0.8405 MB / 1.275 GB, free: 21.3 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002809/1.132, allocations: 1.855 MB / 1.277 GB, free: 21 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007434/1.139, allocations: 6.125 MB / 1.283 GB, free: 20.14 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/1.139, allocations: 3.562 kB / 1.283 GB, free: 20.14 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.185e-06/1.139, allocations: 0 / 1.283 GB, free: 20.14 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001674/1.139, allocations: 0 / 1.283 GB, free: 20.14 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.0105/1.15, allocations: 4.323 MB / 1.287 GB, free: 18.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/1.15, allocations: 13.31 kB / 1.287 GB, free: 18.19 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01481/1.165, allocations: 2.932 MB / 1.29 GB, free: 17.9 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005539/1.17, allocations: 2.491 MB / 1.292 GB, free: 17.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002158/1.171, allocations: 269.2 kB / 1.293 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007617/1.171, allocations: 345.5 kB / 1.293 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01252/1.184, allocations: 5.626 MB / 1.298 GB, free: 16.94 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.467e-05/1.184, allocations: 7.984 kB / 1.298 GB, free: 16.94 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004326/1.184, allocations: 149.2 kB / 1.299 GB, free: 16.94 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.63e-05/1.185, allocations: 89.22 kB / 1.299 GB, free: 16.94 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01653/1.201, allocations: 6.807 MB / 1.305 GB, free: 16.86 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.02816/1.229, allocations: 17.02 MB / 1.322 GB, free: 9.898 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008577/1.238, allocations: 4.396 MB / 1.326 GB, free: 9.016 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005312/1.243, allocations: 2.793 MB / 1.329 GB, free: 8.457 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009175/1.244, allocations: 0.6738 MB / 1.33 GB, free: 7.758 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005702/1.25, allocations: 2.827 MB / 1.332 GB, free: 6.824 MB / 1.014 GB Notification: Performance of pre-optimization done (n=309): time 5.09e-06/1.25, allocations: 0 / 1.332 GB, free: 6.824 MB / 1.014 GB Notification: Performance of matching and sorting (n=309): time 0.0218/1.272, allocations: 8.912 MB / 1.341 GB, free: 3.961 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/1.272, allocations: 211.4 kB / 1.341 GB, free: 3.738 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004262/1.276, allocations: 2.641 MB / 1.344 GB, free: 2.434 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004605/1.277, allocations: 84.83 kB / 1.344 GB, free: 2.359 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001409/1.278, allocations: 1.47 MB / 1.345 GB, free: 1.086 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001117/1.279, allocations: 1.009 MB / 1.346 GB, free: 224 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004098/1.28, allocations: 228 kB / 1.347 GB, free: 80 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.28, allocations: 309.1 kB / 1.347 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005103/1.285, allocations: 2.202 MB / 1.349 GB, free: 14.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005373/1.29, allocations: 2.533 MB / 1.351 GB, free: 13.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/1.301, allocations: 4.65 MB / 1.356 GB, free: 10.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/1.301, allocations: 6.094 kB / 1.356 GB, free: 10.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01313/1.314, allocations: 5.637 MB / 1.361 GB, free: 7.043 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/1.314, allocations: 8 kB / 1.361 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/1.314, allocations: 8 kB / 1.361 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/1.315, allocations: 0.5406 MB / 1.362 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005264/1.321, allocations: 0.8348 MB / 1.363 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009603/1.33, allocations: 5.298 MB / 1.368 GB, free: 272 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005173/1.335, allocations: 0.6296 MB / 1.369 GB, free: 15.63 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007659/1.336, allocations: 119.9 kB / 1.369 GB, free: 15.51 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.003163/1.339, allocations: 1.034 MB / 1.37 GB, free: 14.5 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/1.34, allocations: 304.2 kB / 1.37 GB, free: 14.2 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01605/1.357, allocations: 6.265 MB / 1.376 GB, free: 7.898 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.051e-05/1.357, allocations: 36 kB / 1.376 GB, free: 7.863 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.121e-05/1.357, allocations: 15.94 kB / 1.376 GB, free: 7.848 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.244e-05/1.357, allocations: 15.94 kB / 1.376 GB, free: 7.832 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007772/1.364, allocations: 4.074 MB / 1.38 GB, free: 3.773 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.94e-05/1.364, allocations: 0 / 1.38 GB, free: 3.773 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00417/1.369, allocations: 0.7708 MB / 1.381 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/1.37, allocations: 0.5264 MB / 1.381 GB, free: 2.492 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004049/1.371, allocations: 87.92 kB / 1.382 GB, free: 2.406 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008286/1.379, allocations: 6.954 MB / 1.388 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.379, allocations: 4.031 kB / 1.388 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02026/1.399, allocations: 8.924 MB / 1.397 GB, free: 2.199 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002287/1.401, allocations: 0.9494 MB / 1.398 GB, free: 1.227 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009257/1.402, allocations: 63.98 kB / 1.398 GB, free: 1.164 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00414/1.407, allocations: 490.1 kB / 1.399 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005746/1.407, allocations: 230.2 kB / 1.399 GB, free: 472 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003584/1.407, allocations: 115.9 kB / 1.399 GB, free: 356 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003752/1.411, allocations: 1.917 MB / 1.401 GB, free: 14.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.1e-07/1.411, allocations: 0 / 1.401 GB, free: 14.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004136/1.415, allocations: 1.208 MB / 1.402 GB, free: 13.21 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.002834/1.418, allocations: 1.046 MB / 1.403 GB, free: 12.56 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01298/1.431, allocations: 5.423 MB / 1.408 GB, free: 7.137 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.431, allocations: 0 / 1.408 GB, free: 7.137 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.007011/1.438, allocations: 3.127 MB / 1.411 GB, free: 4.035 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004684/1.443, allocations: 0.7332 MB / 1.412 GB, free: 3.316 MB / 1.076 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.01879/1.462, allocations: 10.53 MB / 1.422 GB, free: 8.754 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003237/1.465, allocations: 2.643 MB / 1.425 GB, free: 6.09 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.005332/1.47, allocations: 1.181 MB / 1.426 GB, free: 4.906 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/1.472, allocations: 295.2 kB / 1.426 GB, free: 4.617 MB / 1.092 GB Notification: Performance of SimCode: time 6.21e-07/1.472, allocations: 0 / 1.426 GB, free: 4.617 MB / 1.092 GB Notification: Performance of Templates: time 0.08971/1.562, allocations: 51.68 MB / 1.477 GB, free: 1.527 MB / 1.139 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)