Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.839/2.839, allocations: 287.5 MB / 302.4 MB, free: 8.379 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.00136/0.00136, allocations: 174.8 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009028/0.0009026, allocations: 89.67 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.0004908, allocations: 10.45 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2173, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.8928/1.11, allocations: 145.7 MB / 1.121 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04394/1.154, allocations: 24.56 MB / 1.145 GB, free: 11.33 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004409/1.159, allocations: 61.5 kB / 1.145 GB, free: 11.3 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003411/1.162, allocations: 0.864 MB / 1.146 GB, free: 11.09 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.006741/1.169, allocations: 1.369 MB / 1.147 GB, free: 10.53 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006198/1.175, allocations: 1.183 MB / 1.148 GB, free: 10.3 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00877/1.184, allocations: 4.442 MB / 1.152 GB, free: 8.844 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006599/1.191, allocations: 2.859 MB / 1.155 GB, free: 7.715 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004124/1.195, allocations: 1.319 MB / 1.156 GB, free: 7.184 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004909/1.2, allocations: 1.8 MB / 1.158 GB, free: 6.348 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001103/1.201, allocations: 107.2 kB / 1.158 GB, free: 6.348 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003559/1.205, allocations: 0.5428 MB / 1.159 GB, free: 6.223 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00165/1.206, allocations: 0.7077 MB / 1.159 GB, free: 5.891 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001573/1.208, allocations: 0.6263 MB / 1.16 GB, free: 5.527 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008493/1.216, allocations: 4.251 MB / 1.164 GB, free: 2.523 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/1.216, allocations: 0 / 1.164 GB, free: 2.523 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.776e-06/1.216, allocations: 7.938 kB / 1.164 GB, free: 2.516 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002455/1.217, allocations: 0 / 1.164 GB, free: 2.516 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: 804 * Number of variables: 804 Notification: Performance of Generate backend data structure: time 0.01516/1.232, allocations: 3.801 MB / 1.168 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.232, allocations: 8.031 kB / 1.168 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03661/1.269, allocations: 2.696 MB / 1.171 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/1.279, allocations: 2.159 MB / 1.173 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004017/1.28, allocations: 236.7 kB / 1.173 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001798/1.282, allocations: 310.1 kB / 1.173 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03011/1.312, allocations: 4.98 MB / 1.178 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001528/1.312, allocations: 3.906 kB / 1.178 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001018/1.313, allocations: 131.9 kB / 1.178 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/1.313, allocations: 76.91 kB / 1.178 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04012/1.353, allocations: 6.101 MB / 1.184 GB, free: 7.035 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.04734/1.401, allocations: 14.26 MB / 1.198 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01922/1.42, allocations: 4.534 MB / 1.203 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009159/1.429, allocations: 2.384 MB / 1.205 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001511/1.431, allocations: 0.6696 MB / 1.206 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00972/1.44, allocations: 2.352 MB / 1.208 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=268): time 7.444e-06/1.44, allocations: 0 / 1.208 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=268): time 0.03414/1.475, allocations: 7.231 MB / 1.215 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/1.475, allocations: 214 kB / 1.215 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005107/1.48, allocations: 2.352 MB / 1.217 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0008748/1.481, allocations: 73.7 kB / 1.218 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001903/1.483, allocations: 1.333 MB / 1.219 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001888/1.485, allocations: 0.8972 MB / 1.22 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003391/1.485, allocations: 44 kB / 1.22 GB, free: 3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003196/1.485, allocations: 406.8 kB / 1.22 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008414/1.494, allocations: 1.878 MB / 1.222 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009358/1.503, allocations: 2.179 MB / 1.224 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009207/1.512, allocations: 2.027 MB / 1.226 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/1.513, allocations: 0 / 1.226 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.02136/1.534, allocations: 4.775 MB / 1.231 GB, free: 7.586 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/1.534, allocations: 4 kB / 1.231 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/1.534, allocations: 4 kB / 1.231 GB, free: 7.578 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/1.536, allocations: 349 kB / 1.231 GB, free: 7.234 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007809/1.543, allocations: 0.7449 MB / 1.232 GB, free: 6.488 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009062/1.552, allocations: 3.903 MB / 1.236 GB, free: 2.445 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007024/1.56, allocations: 0.509 MB / 1.236 GB, free: 1.934 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009654/1.561, allocations: 111.9 kB / 1.236 GB, free: 1.824 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 (276): * Single equations (assignments): 275 * 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 {(3,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003487/1.564, allocations: 0.9201 MB / 1.237 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/1.565, allocations: 264.6 kB / 1.237 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02433/1.589, allocations: 5.356 MB / 1.243 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-05/1.59, allocations: 32 kB / 1.243 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/1.59, allocations: 4 kB / 1.243 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.411e-05/1.59, allocations: 11.95 kB / 1.243 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03399/1.624, allocations: 9.017 MB / 1.251 GB, free: 2.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-05/1.624, allocations: 0 / 1.251 GB, free: 2.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007524/1.631, allocations: 0.6903 MB / 1.252 GB, free: 1.328 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001942/1.633, allocations: 383.4 kB / 1.253 GB, free: 0.9453 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008505/1.634, allocations: 75.94 kB / 1.253 GB, free: 0.8711 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/1.645, allocations: 5.791 MB / 1.258 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.645, allocations: 0 / 1.258 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0313/1.676, allocations: 7.591 MB / 1.266 GB, free: 3.102 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003201/1.679, allocations: 0.8326 MB / 1.266 GB, free: 2.246 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/1.68, allocations: 55.95 kB / 1.267 GB, free: 2.191 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006146/1.686, allocations: 395.4 kB / 1.267 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009426/1.687, allocations: 177.9 kB / 1.267 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005085/1.688, allocations: 87.94 kB / 1.267 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.004837/1.693, allocations: 1.717 MB / 1.269 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.61e-07/1.693, allocations: 0 / 1.269 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.005373/1.698, allocations: 0.9972 MB / 1.27 GB, free: 14.81 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (251): * Single equations (assignments): 244 * 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 {(3,100.0%) 25,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00365/1.702, allocations: 0.9726 MB / 1.271 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01971/1.722, allocations: 4.594 MB / 1.275 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/1.722, allocations: 7.938 kB / 1.275 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.01067/1.732, allocations: 2.662 MB / 1.278 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005902/1.738, allocations: 0.6148 MB / 1.278 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02631/1.765, allocations: 9.025 MB / 1.287 GB, free: 13.16 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003696/1.769, allocations: 2.432 MB / 1.29 GB, free: 10.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.008097/1.777, allocations: 1.112 MB / 1.291 GB, free: 9.578 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002725/1.779, allocations: 255.3 kB / 1.291 GB, free: 9.328 MB / 0.823 GB Notification: Performance of SimCode: time 1.653e-06/1.78, allocations: 0 / 1.291 GB, free: 9.328 MB / 0.823 GB Notification: Performance of Templates: time 0.1198/1.899, allocations: 41.81 MB / 1.332 GB, free: 15.72 MB / 0.8698 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)