Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.584/1.584, allocations: 287.5 MB / 302.6 MB, free: 8.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009606/0.0009602, allocations: 184.1 kB / 371.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007236/0.0007236, allocations: 93.11 kB / 0.7432 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003433, allocations: 15.27 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1686, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5372/0.7058, allocations: 145.1 MB / 1.12 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02729/0.7331, allocations: 24.39 MB / 1.144 GB, free: 11.61 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002914/0.7361, allocations: 59.88 kB / 1.144 GB, free: 11.59 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.738, allocations: 0.8357 MB / 1.145 GB, free: 11.38 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.004077/0.7421, allocations: 1.324 MB / 1.146 GB, free: 10.85 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003445/0.7455, allocations: 1.142 MB / 1.147 GB, free: 10.62 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005454/0.751, allocations: 4.241 MB / 1.152 GB, free: 9.297 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005202/0.7562, allocations: 3.267 MB / 1.155 GB, free: 8.066 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002688/0.7589, allocations: 1.263 MB / 1.156 GB, free: 7.555 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003153/0.7621, allocations: 1.699 MB / 1.158 GB, free: 6.766 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007935/0.7629, allocations: 96.72 kB / 1.158 GB, free: 6.766 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.7652, allocations: 0.5333 MB / 1.158 GB, free: 6.641 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.7663, allocations: 0.6763 MB / 1.159 GB, free: 6.316 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.7676, allocations: 0.5876 MB / 1.16 GB, free: 6.051 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004982/0.7726, allocations: 4.023 MB / 1.163 GB, free: 3.215 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7727, allocations: 1.406 kB / 1.163 GB, free: 3.215 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7727, allocations: 0 / 1.163 GB, free: 3.215 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001126/0.7728, allocations: 0 / 1.163 GB, free: 3.215 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 768 * Number of variables: 768 Notification: Performance of Generate backend data structure: time 0.0081/0.7809, allocations: 3.614 MB / 1.167 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.781, allocations: 9.625 kB / 1.167 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/0.7933, allocations: 2.678 MB / 1.17 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004136/0.7975, allocations: 2.156 MB / 1.172 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.7977, allocations: 230.2 kB / 1.172 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004915/0.7982, allocations: 300.9 kB / 1.172 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009639/0.8078, allocations: 4.798 MB / 1.177 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.714e-05/0.8079, allocations: 4 kB / 1.177 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003182/0.8082, allocations: 123.1 kB / 1.177 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.641e-05/0.8083, allocations: 71.41 kB / 1.177 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0129/0.8212, allocations: 5.924 MB / 1.183 GB, free: 8 MB / 0.7136 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.02299/0.8442, allocations: 13.38 MB / 1.196 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009484/0.8537, allocations: 4.352 MB / 1.2 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004463/0.8582, allocations: 2.214 MB / 1.202 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008449/0.859, allocations: 0.6698 MB / 1.203 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004556/0.8636, allocations: 2.272 MB / 1.205 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=255): time 5.381e-06/0.8636, allocations: 15.92 kB / 1.205 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of matching and sorting (n=255): time 0.01539/0.879, allocations: 6.654 MB / 1.212 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.862e-05/0.8792, allocations: 209.9 kB / 1.212 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002958/0.8821, allocations: 2.27 MB / 1.214 GB, free: 9 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002502/0.8824, allocations: 73.7 kB / 1.214 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.8835, allocations: 1.27 MB / 1.215 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008137/0.8843, allocations: 0.8549 MB / 1.216 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.8845, allocations: 44 kB / 1.216 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.8847, allocations: 398.5 kB / 1.217 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004145/0.8888, allocations: 1.804 MB / 1.219 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004381/0.8932, allocations: 2.095 MB / 1.221 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008377/0.9016, allocations: 3.878 MB / 1.224 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.9016, allocations: 0 / 1.224 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of matching and sorting (n=292) (initialization): time 0.01022/0.9118, allocations: 4.512 MB / 1.229 GB, free: 9.82 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.9119, allocations: 8 kB / 1.229 GB, free: 9.812 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.9119, allocations: 4 kB / 1.229 GB, free: 9.809 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006484/0.9126, allocations: 237 kB / 1.229 GB, free: 9.574 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003717/0.9163, allocations: 0.7332 MB / 1.23 GB, free: 8.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00391/0.9202, allocations: 3.102 MB / 1.233 GB, free: 5.602 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003697/0.9239, allocations: 497.4 kB / 1.233 GB, free: 5.113 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003117/0.9243, allocations: 111.9 kB / 1.233 GB, free: 5.004 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (270): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001809/0.9261, allocations: 0.8805 MB / 1.234 GB, free: 4.113 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000511/0.9266, allocations: 264.7 kB / 1.234 GB, free: 3.852 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/0.9385, allocations: 5.052 MB / 1.239 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.283e-05/0.9385, allocations: 28 kB / 1.239 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.9385, allocations: 11.92 kB / 1.239 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.516e-05/0.9386, allocations: 11.95 kB / 1.239 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01679/0.9554, allocations: 8.561 MB / 1.248 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.9554, allocations: 4 kB / 1.248 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003525/0.9589, allocations: 0.6748 MB / 1.248 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008016/0.9598, allocations: 268.5 kB / 1.249 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002315/0.96, allocations: 67.94 kB / 1.249 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004657/0.9647, allocations: 4.79 MB / 1.253 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.9647, allocations: 11.95 kB / 1.253 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01603/0.9807, allocations: 7.208 MB / 1.26 GB, free: 8.57 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002449/0.9832, allocations: 0.8092 MB / 1.261 GB, free: 7.738 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004474/0.9837, allocations: 51.98 kB / 1.261 GB, free: 7.688 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002825/0.9865, allocations: 371.4 kB / 1.262 GB, free: 7.324 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003901/0.9869, allocations: 165.9 kB / 1.262 GB, free: 7.16 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002288/0.9872, allocations: 95.92 kB / 1.262 GB, free: 7.066 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002319/0.9895, allocations: 1.648 MB / 1.264 GB, free: 5.402 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9895, allocations: 0 / 1.264 GB, free: 5.402 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002591/0.9921, allocations: 0.9503 MB / 1.264 GB, free: 4.449 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 241 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002024/0.9941, allocations: 0.9674 MB / 1.265 GB, free: 3.812 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.009864/1.004, allocations: 4.382 MB / 1.27 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/1.004, allocations: 0 / 1.27 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.005477/1.01, allocations: 2.517 MB / 1.272 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00336/1.013, allocations: 0.5772 MB / 1.273 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/1.027, allocations: 8.618 MB / 1.281 GB, free: 3.598 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001941/1.029, allocations: 2.35 MB / 1.283 GB, free: 1.215 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.004305/1.033, allocations: 1.052 MB / 1.284 GB, free: 164 kB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/1.034, allocations: 255.3 kB / 1.285 GB, free: 15.91 MB / 0.823 GB Notification: Performance of SimCode: time 5.31e-07/1.034, allocations: 3.938 kB / 1.285 GB, free: 15.91 MB / 0.823 GB Notification: Performance of Templates: time 0.06324/1.097, allocations: 39.4 MB / 1.323 GB, free: 8.688 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)