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.00131/0.00131, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.741/2.741, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 65.25 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2915, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1765/0.468, allocations: 165 MB / 1.229 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.5736/1.042, allocations: 27.78 MB / 1.256 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003441/1.045, allocations: 85.56 kB / 1.257 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002847/1.048, allocations: 1.198 MB / 1.258 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005974/1.054, allocations: 2.074 MB / 1.26 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005343/1.059, allocations: 2.065 MB / 1.262 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007688/1.067, allocations: 6.561 MB / 1.268 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008373/1.075, allocations: 4.917 MB / 1.273 GB, free: 21.16 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005624/1.081, allocations: 2.479 MB / 1.275 GB, free: 21.15 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008123/1.089, allocations: 3.008 MB / 1.278 GB, free: 20.99 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002425/1.092, allocations: 0.5534 MB / 1.279 GB, free: 20.99 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004692/1.096, allocations: 1.14 MB / 1.28 GB, free: 20.97 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002722/1.099, allocations: 1.432 MB / 1.281 GB, free: 20.79 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.006183/1.105, allocations: 2.588 MB / 1.284 GB, free: 20.09 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/1.116, allocations: 7.112 MB / 1.291 GB, free: 19.17 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.116, allocations: 0 / 1.291 GB, free: 19.17 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/1.116, allocations: 1 kB / 1.291 GB, free: 19.17 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002952/1.116, allocations: 0.9688 kB / 1.291 GB, free: 19.17 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.01714/1.134, allocations: 5.45 MB / 1.296 GB, free: 17.03 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/1.134, allocations: 13.14 kB / 1.296 GB, free: 17.03 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0146/1.148, allocations: 2.85 MB / 1.299 GB, free: 16.77 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007392/1.156, allocations: 2.619 MB / 1.301 GB, free: 16.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003564/1.156, allocations: 293 kB / 1.302 GB, free: 16.08 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002014/1.158, allocations: 380.5 kB / 1.302 GB, free: 16.08 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01548/1.174, allocations: 5.929 MB / 1.308 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001153/1.174, allocations: 3.625 kB / 1.308 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007099/1.174, allocations: 163.2 kB / 1.308 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.518e-05/1.175, allocations: 97.19 kB / 1.308 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0154/1.19, allocations: 7.041 MB / 1.315 GB, free: 15.74 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.03324/1.223, allocations: 18.7 MB / 1.333 GB, free: 5.242 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/1.233, allocations: 4.795 MB / 1.338 GB, free: 2.836 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006131/1.24, allocations: 3.068 MB / 1.341 GB, free: 1.305 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009564/1.241, allocations: 0.6714 MB / 1.342 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00632/1.247, allocations: 2.978 MB / 1.345 GB, free: 14.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=336): time 5.55e-06/1.247, allocations: 0 / 1.345 GB, free: 14.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=336): time 0.02627/1.273, allocations: 10.17 MB / 1.354 GB, free: 9.578 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/1.273, allocations: 213.2 kB / 1.355 GB, free: 9.355 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00389/1.277, allocations: 2.802 MB / 1.357 GB, free: 7.969 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0005791/1.278, allocations: 89.39 kB / 1.358 GB, free: 7.891 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001398/1.279, allocations: 1.591 MB / 1.359 GB, free: 6.516 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001185/1.28, allocations: 1.104 MB / 1.36 GB, free: 5.566 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/1.282, allocations: 0.5779 MB / 1.361 GB, free: 5.109 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001005/1.282, allocations: 305.1 kB / 1.361 GB, free: 4.809 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00533/1.287, allocations: 2.319 MB / 1.363 GB, free: 2.488 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00573/1.293, allocations: 2.673 MB / 1.366 GB, free: 15.74 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/1.304, allocations: 4.929 MB / 1.371 GB, free: 10.75 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/1.304, allocations: 0 / 1.371 GB, free: 10.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01385/1.318, allocations: 6.107 MB / 1.377 GB, free: 4.652 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/1.318, allocations: 4 kB / 1.377 GB, free: 4.648 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/1.318, allocations: 4 kB / 1.377 GB, free: 4.645 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001766/1.319, allocations: 0.8318 MB / 1.377 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004451/1.324, allocations: 0.8462 MB / 1.378 GB, free: 3 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/1.335, allocations: 7.585 MB / 1.386 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005065/1.34, allocations: 0.5983 MB / 1.386 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006786/1.34, allocations: 131.9 kB / 1.386 GB, free: 10.57 MB / 1.061 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.002617/1.343, allocations: 1.079 MB / 1.387 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.344, allocations: 324 kB / 1.388 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01596/1.36, allocations: 6.754 MB / 1.394 GB, free: 2.414 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.719e-05/1.36, allocations: 32 kB / 1.394 GB, free: 2.383 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.891e-05/1.36, allocations: 15.94 kB / 1.394 GB, free: 2.367 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.052e-05/1.36, allocations: 19.94 kB / 1.394 GB, free: 2.348 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007064/1.367, allocations: 4.385 MB / 1.399 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/1.367, allocations: 0 / 1.399 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004324/1.372, allocations: 0.8012 MB / 1.4 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001935/1.373, allocations: 0.738 MB / 1.4 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005351/1.374, allocations: 95.91 kB / 1.4 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/1.386, allocations: 10.66 MB / 1.411 GB, free: 1.289 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.386, allocations: 4 kB / 1.411 GB, free: 1.285 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02104/1.407, allocations: 9.578 MB / 1.42 GB, free: 7.668 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002441/1.409, allocations: 0.9569 MB / 1.421 GB, free: 6.688 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008201/1.41, allocations: 79.83 kB / 1.421 GB, free: 6.609 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003542/1.414, allocations: 431.3 kB / 1.422 GB, free: 6.188 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005665/1.414, allocations: 250.4 kB / 1.422 GB, free: 5.941 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002916/1.414, allocations: 119.9 kB / 1.422 GB, free: 5.824 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002818/1.417, allocations: 2.025 MB / 1.424 GB, free: 3.797 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.81e-07/1.417, allocations: 96 / 1.424 GB, free: 3.797 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003732/1.421, allocations: 1.321 MB / 1.425 GB, free: 2.473 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.002485/1.423, allocations: 1.057 MB / 1.426 GB, free: 1.801 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.02508/1.449, allocations: 10.15 MB / 1.436 GB, free: 7.684 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.449, allocations: 4.125 kB / 1.436 GB, free: 7.68 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.007532/1.456, allocations: 3.483 MB / 1.439 GB, free: 4.215 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003996/1.46, allocations: 0.8351 MB / 1.44 GB, free: 3.418 MB / 1.107 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.01694/1.477, allocations: 9.48 MB / 1.45 GB, free: 9.91 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002335/1.479, allocations: 2.79 MB / 1.452 GB, free: 7.09 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.004822/1.484, allocations: 1.218 MB / 1.453 GB, free: 5.867 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/1.486, allocations: 299.2 kB / 1.454 GB, free: 5.574 MB / 1.123 GB Notification: Performance of SimCode: time 1.012e-06/1.486, allocations: 4 kB / 1.454 GB, free: 5.57 MB / 1.123 GB Notification: Performance of Templates: time 0.09317/1.579, allocations: 59.59 MB / 1.512 GB, free: 10.63 MB / 1.186 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)