Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009526/0.0009525, allocations: 98.27 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.006702/0.006702, allocations: 173.9 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.51/1.51, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.926/2.926, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 16.28 kB / 0.9158 GB, free: 33.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2934, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1662/0.4597, allocations: 160.3 MB / 1.231 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6249/1.085, allocations: 27.3 MB / 1.257 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003688/1.088, allocations: 77.22 kB / 1.257 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002773/1.091, allocations: 1.045 MB / 1.258 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006611/1.098, allocations: 1.867 MB / 1.26 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005319/1.103, allocations: 1.834 MB / 1.262 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009872/1.113, allocations: 6.854 MB / 1.269 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007416/1.12, allocations: 3.979 MB / 1.273 GB, free: 21.3 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005006/1.126, allocations: 1.729 MB / 1.274 GB, free: 21.3 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005591/1.131, allocations: 2.392 MB / 1.277 GB, free: 21.29 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001267/1.132, allocations: 148.1 kB / 1.277 GB, free: 21.29 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003976/1.136, allocations: 0.7475 MB / 1.277 GB, free: 21.27 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00136/1.138, allocations: 0.9196 MB / 1.278 GB, free: 21.27 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004389/1.142, allocations: 2.036 MB / 1.28 GB, free: 20.8 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009556/1.152, allocations: 6.634 MB / 1.287 GB, free: 19.88 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.152, allocations: 2.906 kB / 1.287 GB, free: 19.88 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.275e-06/1.152, allocations: 1.312 kB / 1.287 GB, free: 19.88 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002509/1.152, allocations: 0 / 1.287 GB, free: 19.88 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.0125/1.165, allocations: 4.644 MB / 1.291 GB, free: 17.8 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/1.165, allocations: 8.312 kB / 1.291 GB, free: 17.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01476/1.179, allocations: 2.967 MB / 1.294 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006046/1.185, allocations: 2.64 MB / 1.297 GB, free: 16.81 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002629/1.186, allocations: 293 kB / 1.297 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/1.187, allocations: 374.2 kB / 1.298 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01368/1.201, allocations: 5.976 MB / 1.303 GB, free: 16.51 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-05/1.201, allocations: 10.41 kB / 1.303 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004273/1.201, allocations: 159.3 kB / 1.304 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.616e-05/1.201, allocations: 93.44 kB / 1.304 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01629/1.217, allocations: 7.128 MB / 1.311 GB, free: 16.43 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.03207/1.25, allocations: 18.72 MB / 1.329 GB, free: 7.465 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009834/1.259, allocations: 4.812 MB / 1.334 GB, free: 6.523 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00629/1.266, allocations: 3.073 MB / 1.337 GB, free: 5.934 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/1.267, allocations: 0.6789 MB / 1.337 GB, free: 5.23 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006415/1.273, allocations: 2.975 MB / 1.34 GB, free: 4.188 MB / 1.014 GB Notification: Performance of pre-optimization done (n=336): time 5.931e-06/1.273, allocations: 3.938 kB / 1.34 GB, free: 4.184 MB / 1.014 GB Notification: Performance of matching and sorting (n=336): time 0.02823/1.302, allocations: 10.24 MB / 1.35 GB, free: 14.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/1.302, allocations: 214.2 kB / 1.35 GB, free: 14.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004655/1.306, allocations: 2.79 MB / 1.353 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0008882/1.307, allocations: 84.89 kB / 1.353 GB, free: 13.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001556/1.309, allocations: 1.598 MB / 1.355 GB, free: 11.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001482/1.31, allocations: 1.104 MB / 1.356 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004542/1.311, allocations: 237.1 kB / 1.356 GB, free: 10.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.614e-05/1.311, allocations: 305.1 kB / 1.356 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005324/1.316, allocations: 2.322 MB / 1.359 GB, free: 9.227 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005546/1.322, allocations: 2.681 MB / 1.361 GB, free: 7.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/1.333, allocations: 4.945 MB / 1.366 GB, free: 3.391 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/1.333, allocations: 0 / 1.366 GB, free: 3.391 MB / 1.029 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01533/1.348, allocations: 6.11 MB / 1.372 GB, free: 13.29 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/1.348, allocations: 9.094 kB / 1.372 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/1.349, allocations: 4 kB / 1.372 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001993/1.351, allocations: 0.8269 MB / 1.373 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004537/1.355, allocations: 0.8478 MB / 1.374 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/1.366, allocations: 7.028 MB / 1.38 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005394/1.372, allocations: 0.649 MB / 1.381 GB, free: 3.844 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008442/1.372, allocations: 135.9 kB / 1.381 GB, free: 3.711 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.003675/1.376, allocations: 1.083 MB / 1.382 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/1.377, allocations: 324 kB / 1.383 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01866/1.396, allocations: 6.766 MB / 1.389 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.402e-05/1.396, allocations: 32 kB / 1.389 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.692e-05/1.396, allocations: 8 kB / 1.389 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.238e-05/1.396, allocations: 27.92 kB / 1.389 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009537/1.406, allocations: 4.383 MB / 1.394 GB, free: 7.094 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-05/1.406, allocations: 0 / 1.394 GB, free: 7.094 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004745/1.411, allocations: 0.7904 MB / 1.394 GB, free: 6.328 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002236/1.413, allocations: 0.7379 MB / 1.395 GB, free: 5.578 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008223/1.414, allocations: 95.92 kB / 1.395 GB, free: 5.484 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01231/1.426, allocations: 9.795 MB / 1.405 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.426, allocations: 0 / 1.405 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02456/1.451, allocations: 9.604 MB / 1.414 GB, free: 1.656 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003274/1.454, allocations: 0.9958 MB / 1.415 GB, free: 0.6367 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001445/1.456, allocations: 79.92 kB / 1.415 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00493/1.46, allocations: 494 kB / 1.416 GB, free: 80 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000978/1.461, allocations: 254.4 kB / 1.416 GB, free: 15.83 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006037/1.462, allocations: 119.9 kB / 1.416 GB, free: 15.71 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.004172/1.466, allocations: 2.018 MB / 1.418 GB, free: 13.69 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.21e-07/1.466, allocations: 0 / 1.418 GB, free: 13.69 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.005493/1.472, allocations: 1.329 MB / 1.419 GB, free: 12.36 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.003271/1.475, allocations: 1.057 MB / 1.42 GB, free: 11.69 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01519/1.49, allocations: 5.832 MB / 1.426 GB, free: 5.859 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/1.49, allocations: 4 kB / 1.426 GB, free: 5.855 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.01021/1.501, allocations: 3.489 MB / 1.429 GB, free: 2.383 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006876/1.507, allocations: 0.7751 MB / 1.43 GB, free: 1.621 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.02272/1.53, allocations: 11.34 MB / 1.441 GB, free: 6.25 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002789/1.533, allocations: 2.786 MB / 1.444 GB, free: 3.43 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.005297/1.538, allocations: 1.218 MB / 1.445 GB, free: 2.211 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/1.54, allocations: 295.2 kB / 1.445 GB, free: 1.926 MB / 1.107 GB Notification: Performance of SimCode: time 8.62e-07/1.54, allocations: 0 / 1.445 GB, free: 1.926 MB / 1.107 GB Notification: Performance of Templates: time 0.09901/1.639, allocations: 56.23 MB / 1.5 GB, free: 10.32 MB / 1.17 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)