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.001408/0.001408, 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.001663/0.001663, allocations: 192.4 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.484/1.484, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.693/2.693, allocations: 472.6 MB / 0.7451 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001256, allocations: 60.72 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2834, allocations: 159.9 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.156/0.4395, allocations: 163.6 MB / 1.228 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.547/0.9866, allocations: 27.37 MB / 1.255 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002668/0.9893, allocations: 79.94 kB / 1.255 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.9914, allocations: 1.124 MB / 1.256 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004313/0.9957, allocations: 1.937 MB / 1.258 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004046/0.9998, allocations: 1.878 MB / 1.26 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00621/1.006, allocations: 5.91 MB / 1.265 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005528/1.012, allocations: 4.577 MB / 1.27 GB, free: 21.27 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003828/1.015, allocations: 2.295 MB / 1.272 GB, free: 21.27 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004434/1.02, allocations: 2.772 MB / 1.275 GB, free: 21.18 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001309/1.021, allocations: 0.5062 MB / 1.275 GB, free: 21.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003088/1.024, allocations: 1.095 MB / 1.276 GB, free: 21.16 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/1.025, allocations: 1.313 MB / 1.278 GB, free: 21 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003235/1.029, allocations: 2.378 MB / 1.28 GB, free: 20.35 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007467/1.036, allocations: 6.56 MB / 1.286 GB, free: 19.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/1.036, allocations: 0 / 1.286 GB, free: 19.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.453e-06/1.036, allocations: 0.75 kB / 1.286 GB, free: 19.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001532/1.036, allocations: 0 / 1.286 GB, free: 19.5 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.01218/1.049, allocations: 5.081 MB / 1.291 GB, free: 17.49 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/1.049, allocations: 10.81 kB / 1.291 GB, free: 17.49 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01392/1.063, allocations: 2.817 MB / 1.294 GB, free: 17.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005412/1.068, allocations: 2.46 MB / 1.296 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/1.068, allocations: 268.9 kB / 1.297 GB, free: 16.6 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008301/1.069, allocations: 345.8 kB / 1.297 GB, free: 16.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01187/1.081, allocations: 5.583 MB / 1.302 GB, free: 16.33 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.657e-05/1.081, allocations: 0 / 1.302 GB, free: 16.33 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004049/1.081, allocations: 151.7 kB / 1.303 GB, free: 16.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.933e-05/1.082, allocations: 85.88 kB / 1.303 GB, free: 16.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01565/1.097, allocations: 6.716 MB / 1.309 GB, free: 16.28 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.0291/1.126, allocations: 17 MB / 1.326 GB, free: 9.863 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008906/1.135, allocations: 4.412 MB / 1.33 GB, free: 7.633 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005379/1.141, allocations: 2.783 MB / 1.333 GB, free: 6.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009103/1.142, allocations: 0.6774 MB / 1.334 GB, free: 5.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005737/1.147, allocations: 2.824 MB / 1.336 GB, free: 3.891 MB / 1.014 GB Notification: Performance of pre-optimization done (n=309): time 5.34e-06/1.147, allocations: 3.094 kB / 1.336 GB, free: 3.891 MB / 1.014 GB Notification: Performance of matching and sorting (n=309): time 0.0214/1.169, allocations: 8.847 MB / 1.345 GB, free: 15.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/1.169, allocations: 217.2 kB / 1.345 GB, free: 15.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00355/1.172, allocations: 2.649 MB / 1.348 GB, free: 13.76 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004822/1.173, allocations: 79.3 kB / 1.348 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001293/1.174, allocations: 1.478 MB / 1.349 GB, free: 12.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001132/1.175, allocations: 1.012 MB / 1.35 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/1.176, allocations: 0.5394 MB / 1.351 GB, free: 11.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.155e-05/1.177, allocations: 305.1 kB / 1.351 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004824/1.181, allocations: 2.198 MB / 1.353 GB, free: 9.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005201/1.187, allocations: 2.522 MB / 1.356 GB, free: 8.418 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/1.197, allocations: 4.652 MB / 1.36 GB, free: 4.664 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/1.197, allocations: 4 kB / 1.36 GB, free: 4.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01289/1.21, allocations: 5.617 MB / 1.366 GB, free: 15.04 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/1.21, allocations: 13.25 kB / 1.366 GB, free: 15.03 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/1.21, allocations: 4 kB / 1.366 GB, free: 15.03 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/1.211, allocations: 0.5454 MB / 1.366 GB, free: 14.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004286/1.215, allocations: 0.8266 MB / 1.367 GB, free: 13.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007747/1.223, allocations: 5.748 MB / 1.373 GB, free: 7.816 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005066/1.228, allocations: 0.575 MB / 1.373 GB, free: 7.238 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007145/1.229, allocations: 123.9 kB / 1.373 GB, free: 7.117 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.00321/1.232, allocations: 1.03 MB / 1.374 GB, free: 6.109 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/1.233, allocations: 304.2 kB / 1.375 GB, free: 5.809 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01496/1.248, allocations: 6.257 MB / 1.381 GB, free: 15.51 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.581e-05/1.248, allocations: 31.94 kB / 1.381 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/1.248, allocations: 8 kB / 1.381 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.205e-05/1.248, allocations: 19.94 kB / 1.381 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006282/1.255, allocations: 4.076 MB / 1.385 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/1.255, allocations: 0 / 1.385 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004186/1.259, allocations: 0.7729 MB / 1.386 GB, free: 10.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/1.26, allocations: 0.5297 MB / 1.386 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004233/1.261, allocations: 87.92 kB / 1.386 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008536/1.269, allocations: 7.546 MB / 1.394 GB, free: 2.203 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.269, allocations: 0 / 1.394 GB, free: 2.203 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02116/1.291, allocations: 8.911 MB / 1.402 GB, free: 9.238 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002686/1.293, allocations: 0.8989 MB / 1.403 GB, free: 8.316 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000789/1.294, allocations: 83.77 kB / 1.403 GB, free: 8.234 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003641/1.298, allocations: 419.4 kB / 1.404 GB, free: 7.824 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005358/1.298, allocations: 230.2 kB / 1.404 GB, free: 7.598 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002928/1.299, allocations: 119.8 kB / 1.404 GB, free: 7.48 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002818/1.301, allocations: 1.923 MB / 1.406 GB, free: 5.551 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.11e-07/1.301, allocations: 0 / 1.406 GB, free: 5.551 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003499/1.305, allocations: 1.196 MB / 1.407 GB, free: 4.352 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.002557/1.307, allocations: 1.064 MB / 1.408 GB, free: 3.68 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.02413/1.332, allocations: 9.42 MB / 1.417 GB, free: 10.29 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.332, allocations: 0 / 1.417 GB, free: 10.29 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.006978/1.339, allocations: 3.117 MB / 1.42 GB, free: 7.195 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004055/1.343, allocations: 0.7696 MB / 1.421 GB, free: 6.461 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.01661/1.359, allocations: 8.823 MB / 1.43 GB, free: 13.62 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002419/1.362, allocations: 2.637 MB / 1.432 GB, free: 10.96 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.004917/1.367, allocations: 1.185 MB / 1.433 GB, free: 9.766 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/1.368, allocations: 295.2 kB / 1.434 GB, free: 9.477 MB / 1.107 GB Notification: Performance of SimCode: time 8.82e-07/1.368, allocations: 0 / 1.434 GB, free: 9.477 MB / 1.107 GB Notification: Performance of Templates: time 0.08996/1.458, allocations: 54.74 MB / 1.487 GB, free: 3.332 MB / 1.154 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)