Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007884/0.0007885, allocations: 97.72 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.006138/0.006138, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.346/1.346, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.788/2.788, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006353/0.0006354, allocations: 22.45 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3234, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1638/0.4872, allocations: 158 MB / 1.228 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6022/1.089, allocations: 26.64 MB / 1.254 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003197/1.093, allocations: 70.28 kB / 1.255 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0024/1.095, allocations: 0.9478 MB / 1.255 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005928/1.101, allocations: 1.68 MB / 1.257 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004133/1.105, allocations: 1.569 MB / 1.259 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008109/1.113, allocations: 5.734 MB / 1.264 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00544/1.119, allocations: 3.532 MB / 1.268 GB, free: 21.42 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00365/1.122, allocations: 1.499 MB / 1.269 GB, free: 21.42 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004135/1.127, allocations: 2.065 MB / 1.271 GB, free: 21.41 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007815/1.127, allocations: 117.4 kB / 1.271 GB, free: 21.41 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/1.13, allocations: 0.7201 MB / 1.272 GB, free: 21.39 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009416/1.131, allocations: 0.7822 MB / 1.273 GB, free: 21.39 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002965/1.134, allocations: 1.735 MB / 1.274 GB, free: 21.19 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008167/1.142, allocations: 5.746 MB / 1.28 GB, free: 20.39 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.142, allocations: 1.094 kB / 1.28 GB, free: 20.39 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.374e-06/1.142, allocations: 0 / 1.28 GB, free: 20.39 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000212/1.142, allocations: 0 / 1.28 GB, free: 20.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: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.01053/1.153, allocations: 4.106 MB / 1.284 GB, free: 18.53 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/1.153, allocations: 9.344 kB / 1.284 GB, free: 18.53 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01444/1.168, allocations: 2.912 MB / 1.287 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0057/1.173, allocations: 2.378 MB / 1.289 GB, free: 17.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002701/1.174, allocations: 252.6 kB / 1.289 GB, free: 17.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/1.175, allocations: 332.6 kB / 1.29 GB, free: 17.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01321/1.188, allocations: 5.381 MB / 1.295 GB, free: 17.31 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-05/1.188, allocations: 8.594 kB / 1.295 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004478/1.188, allocations: 139.8 kB / 1.295 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.801e-05/1.188, allocations: 81.03 kB / 1.295 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0167/1.205, allocations: 6.557 MB / 1.302 GB, free: 17.23 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.02849/1.234, allocations: 15.83 MB / 1.317 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/1.244, allocations: 4.886 MB / 1.322 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005117/1.249, allocations: 2.58 MB / 1.324 GB, free: 10.01 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009306/1.25, allocations: 0.6713 MB / 1.325 GB, free: 9.312 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005761/1.256, allocations: 2.716 MB / 1.328 GB, free: 8.402 MB / 1.014 GB Notification: Performance of pre-optimization done (n=291): time 5.17e-06/1.256, allocations: 6.625 kB / 1.328 GB, free: 8.398 MB / 1.014 GB Notification: Performance of matching and sorting (n=291): time 0.01919/1.275, allocations: 8.046 MB / 1.336 GB, free: 6.074 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/1.275, allocations: 214.5 kB / 1.336 GB, free: 5.848 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003967/1.279, allocations: 2.526 MB / 1.338 GB, free: 5.23 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0005883/1.28, allocations: 81.61 kB / 1.338 GB, free: 5.199 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001199/1.281, allocations: 1.387 MB / 1.34 GB, free: 4.391 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001301/1.282, allocations: 0.9527 MB / 1.341 GB, free: 3.574 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000379/1.283, allocations: 211.4 kB / 1.341 GB, free: 3.445 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001074/1.283, allocations: 301.1 kB / 1.341 GB, free: 3.148 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004973/1.288, allocations: 2.116 MB / 1.343 GB, free: 2.078 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005572/1.293, allocations: 2.426 MB / 1.346 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009854/1.303, allocations: 4.459 MB / 1.35 GB, free: 14.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/1.303, allocations: 0 / 1.35 GB, free: 14.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.0119/1.315, allocations: 5.266 MB / 1.355 GB, free: 11.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/1.315, allocations: 10.86 kB / 1.355 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/1.315, allocations: 3.281 kB / 1.355 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008391/1.316, allocations: 354.3 kB / 1.355 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003924/1.32, allocations: 0.8263 MB / 1.356 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005245/1.325, allocations: 3.888 MB / 1.36 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004917/1.33, allocations: 0.6063 MB / 1.361 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005495/1.331, allocations: 119.9 kB / 1.361 GB, free: 7.141 MB / 1.029 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 (306): * Single equations (assignments): 305 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002752/1.334, allocations: 0.9912 MB / 1.362 GB, free: 6.168 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008195/1.334, allocations: 284.4 kB / 1.362 GB, free: 5.887 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/1.348, allocations: 5.926 MB / 1.368 GB, free: 15.91 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/1.348, allocations: 28 kB / 1.368 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/1.348, allocations: 11.56 kB / 1.368 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.208e-05/1.348, allocations: 15.94 kB / 1.368 GB, free: 15.86 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005775/1.354, allocations: 3.843 MB / 1.372 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/1.354, allocations: 2.906 kB / 1.372 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003796/1.358, allocations: 0.7523 MB / 1.372 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/1.359, allocations: 382.4 kB / 1.373 GB, free: 10.92 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002749/1.359, allocations: 83.92 kB / 1.373 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006223/1.365, allocations: 5.805 MB / 1.378 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.365, allocations: 3.938 kB / 1.378 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01857/1.384, allocations: 8.442 MB / 1.387 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00224/1.386, allocations: 0.9103 MB / 1.388 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006251/1.387, allocations: 63.98 kB / 1.388 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003643/1.391, allocations: 463.3 kB / 1.388 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00056/1.391, allocations: 210.5 kB / 1.388 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002806/1.391, allocations: 115.8 kB / 1.388 GB, free: 10.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003013/1.395, allocations: 1.83 MB / 1.39 GB, free: 8.656 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.31e-07/1.395, allocations: 0 / 1.39 GB, free: 8.656 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.004453/1.399, allocations: 1.134 MB / 1.391 GB, free: 7.52 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (279): * Single equations (assignments): 265 * 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 {(3,25,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.002701/1.402, allocations: 1.052 MB / 1.392 GB, free: 6.863 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01199/1.414, allocations: 5.143 MB / 1.397 GB, free: 1.715 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.414, allocations: 0 / 1.397 GB, free: 1.715 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.006318/1.42, allocations: 2.928 MB / 1.4 GB, free: 14.81 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004067/1.424, allocations: 0.6837 MB / 1.401 GB, free: 14.14 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.01925/1.443, allocations: 9.967 MB / 1.411 GB, free: 4.141 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002902/1.446, allocations: 2.534 MB / 1.413 GB, free: 1.578 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.005787/1.452, allocations: 1.163 MB / 1.414 GB, free: 424 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/1.454, allocations: 283.2 kB / 1.414 GB, free: 140 kB / 1.076 GB Notification: Performance of SimCode: time 1.092e-06/1.454, allocations: 8 kB / 1.414 GB, free: 132 kB / 1.076 GB Notification: Performance of Templates: time 0.0896/1.543, allocations: 48.12 MB / 1.461 GB, free: 0.5625 MB / 1.123 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)