Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008933/0.0008932, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.005706/0.005706, allocations: 174.1 kB / 16.26 MB, free: 6.336 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.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.733/2.733, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003348, allocations: 8.312 kB / 0.9158 GB, free: 33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3279, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1741/0.5021, allocations: 160.3 MB / 1.231 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6262/1.128, allocations: 27.3 MB / 1.257 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003477/1.132, allocations: 78.25 kB / 1.257 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002557/1.134, allocations: 1.046 MB / 1.258 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006035/1.14, allocations: 1.874 MB / 1.26 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004746/1.145, allocations: 1.817 MB / 1.262 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008272/1.153, allocations: 6.857 MB / 1.269 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005762/1.159, allocations: 3.982 MB / 1.273 GB, free: 21.34 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003501/1.163, allocations: 1.733 MB / 1.274 GB, free: 21.34 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004464/1.167, allocations: 2.388 MB / 1.277 GB, free: 21.33 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000744/1.168, allocations: 148.4 kB / 1.277 GB, free: 21.33 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002835/1.171, allocations: 0.743 MB / 1.277 GB, free: 21.31 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009812/1.172, allocations: 0.9245 MB / 1.278 GB, free: 21.31 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002933/1.175, allocations: 2.031 MB / 1.28 GB, free: 20.85 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008087/1.183, allocations: 6.638 MB / 1.287 GB, free: 19.93 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/1.183, allocations: 10.66 kB / 1.287 GB, free: 19.93 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.794e-06/1.183, allocations: 0 / 1.287 GB, free: 19.93 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001907/1.183, allocations: 1.5 kB / 1.287 GB, free: 19.93 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: 989 * Number of variables: 989 Notification: Performance of Generate backend data structure: time 0.01103/1.194, allocations: 4.634 MB / 1.291 GB, free: 17.85 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/1.194, allocations: 9.656 kB / 1.291 GB, free: 17.85 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/1.209, allocations: 2.97 MB / 1.294 GB, free: 17.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006029/1.215, allocations: 2.637 MB / 1.297 GB, free: 16.86 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002897/1.215, allocations: 290.1 kB / 1.297 GB, free: 16.85 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001408/1.217, allocations: 382 kB / 1.298 GB, free: 16.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01508/1.232, allocations: 5.977 MB / 1.303 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-05/1.232, allocations: 4.594 kB / 1.303 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004735/1.232, allocations: 156.5 kB / 1.304 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-05/1.232, allocations: 96.88 kB / 1.304 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/1.25, allocations: 7.13 MB / 1.311 GB, free: 16.48 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.03771/1.287, allocations: 18.72 MB / 1.329 GB, free: 7.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/1.298, allocations: 4.81 MB / 1.334 GB, free: 6.559 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00621/1.305, allocations: 3.07 MB / 1.337 GB, free: 5.969 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/1.306, allocations: 0.6762 MB / 1.337 GB, free: 5.273 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006954/1.313, allocations: 2.981 MB / 1.34 GB, free: 4.172 MB / 1.014 GB Notification: Performance of pre-optimization done (n=336): time 6.523e-06/1.313, allocations: 0 / 1.34 GB, free: 4.172 MB / 1.014 GB Notification: Performance of matching and sorting (n=336): time 0.03055/1.343, allocations: 10.24 MB / 1.35 GB, free: 14.85 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/1.343, allocations: 217 kB / 1.35 GB, free: 14.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005065/1.348, allocations: 2.791 MB / 1.353 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0007445/1.349, allocations: 91.64 kB / 1.353 GB, free: 13.17 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001536/1.351, allocations: 1.585 MB / 1.355 GB, free: 11.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.00148/1.352, allocations: 1.107 MB / 1.356 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006789/1.353, allocations: 239.1 kB / 1.356 GB, free: 10.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.576e-05/1.353, allocations: 304 kB / 1.356 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005641/1.359, allocations: 2.327 MB / 1.359 GB, free: 9.219 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006033/1.365, allocations: 2.683 MB / 1.361 GB, free: 7.723 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/1.377, allocations: 4.939 MB / 1.366 GB, free: 3.367 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/1.377, allocations: 2.906 kB / 1.366 GB, free: 3.367 MB / 1.029 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01531/1.392, allocations: 6.107 MB / 1.372 GB, free: 13.27 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/1.392, allocations: 6.906 kB / 1.372 GB, free: 13.26 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/1.392, allocations: 4 kB / 1.372 GB, free: 13.26 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/1.394, allocations: 0.824 MB / 1.373 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004639/1.399, allocations: 0.8507 MB / 1.374 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/1.41, allocations: 7.038 MB / 1.38 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00522/1.415, allocations: 0.6479 MB / 1.381 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008021/1.416, allocations: 131.9 kB / 1.381 GB, free: 3.684 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 (319): * Single equations (assignments): 318 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003287/1.419, allocations: 1.079 MB / 1.382 GB, free: 2.625 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/1.42, allocations: 328 kB / 1.383 GB, free: 2.301 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01641/1.436, allocations: 6.765 MB / 1.389 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.314e-05/1.437, allocations: 36 kB / 1.389 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.99e-05/1.437, allocations: 8 kB / 1.389 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.743e-05/1.437, allocations: 15.94 kB / 1.389 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007122/1.444, allocations: 4.393 MB / 1.394 GB, free: 7.066 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.197e-05/1.444, allocations: 0 / 1.394 GB, free: 7.066 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004086/1.448, allocations: 0.7904 MB / 1.394 GB, free: 6.301 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00198/1.45, allocations: 0.7369 MB / 1.395 GB, free: 5.555 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004748/1.45, allocations: 99.91 kB / 1.395 GB, free: 5.457 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/1.462, allocations: 9.796 MB / 1.405 GB, free: 11.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.462, allocations: 0 / 1.405 GB, free: 11.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0216/1.483, allocations: 9.6 MB / 1.414 GB, free: 1.629 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002561/1.486, allocations: 1.003 MB / 1.415 GB, free: 0.6016 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001047/1.487, allocations: 68.23 kB / 1.415 GB, free: 0.5352 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004252/1.491, allocations: 495.2 kB / 1.416 GB, free: 52 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000689/1.492, allocations: 250.4 kB / 1.416 GB, free: 15.8 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003933/1.492, allocations: 119.9 kB / 1.416 GB, free: 15.69 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003473/1.496, allocations: 2.017 MB / 1.418 GB, free: 13.67 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.51e-07/1.496, allocations: 0 / 1.418 GB, free: 13.67 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004767/1.501, allocations: 1.329 MB / 1.419 GB, free: 12.34 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.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 (295): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,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.002849/1.504, allocations: 1.064 MB / 1.42 GB, free: 11.66 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01303/1.517, allocations: 5.835 MB / 1.426 GB, free: 5.828 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.517, allocations: 0 / 1.426 GB, free: 5.828 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.007471/1.524, allocations: 3.496 MB / 1.429 GB, free: 2.348 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005231/1.529, allocations: 0.778 MB / 1.43 GB, free: 1.586 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.01986/1.549, allocations: 11.33 MB / 1.441 GB, free: 6.227 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002864/1.552, allocations: 2.786 MB / 1.444 GB, free: 3.406 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.004782/1.557, allocations: 1.214 MB / 1.445 GB, free: 2.188 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/1.558, allocations: 303.2 kB / 1.445 GB, free: 1.895 MB / 1.107 GB Notification: Performance of SimCode: time 2.054e-06/1.558, allocations: 0 / 1.445 GB, free: 1.895 MB / 1.107 GB Notification: Performance of Templates: time 0.1183/1.677, allocations: 56.22 MB / 1.5 GB, free: 10.3 MB / 1.17 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)