Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.521/1.521, allocations: 288.4 MB / 304.3 MB, free: 8.086 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.0008985/0.0008988, allocations: 176.5 kB / 372.9 MB, free: 10.16 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.226/1.226, allocations: 205.4 MB / 0.6316 GB, free: 9.875 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.0007081/0.0007079, allocations: 107.2 kB / 0.745 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004113, allocations: 14.78 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1588, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.4968/0.6556, allocations: 145.7 MB / 1.123 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02677/0.6825, allocations: 24.55 MB / 1.147 GB, free: 11.64 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002826/0.6853, allocations: 63.41 kB / 1.147 GB, free: 11.61 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001703/0.6871, allocations: 0.8531 MB / 1.148 GB, free: 11.16 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1-maint.8.0.x/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.1-maint.8.0.x/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.1-maint.8.0.x/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.003931/0.691, allocations: 1.415 MB / 1.149 GB, free: 10.27 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003353/0.6944, allocations: 1.186 MB / 1.15 GB, free: 9.785 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005582/0.7, allocations: 4.494 MB / 1.155 GB, free: 8.293 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005065/0.705, allocations: 3.388 MB / 1.158 GB, free: 6.754 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002738/0.7078, allocations: 1.316 MB / 1.159 GB, free: 6.078 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003119/0.7109, allocations: 1.793 MB / 1.161 GB, free: 5.035 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008032/0.7118, allocations: 110.5 kB / 1.161 GB, free: 5.031 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/0.7142, allocations: 0.6132 MB / 1.162 GB, free: 4.785 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.7154, allocations: 0.7186 MB / 1.163 GB, free: 4.297 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002816/0.7182, allocations: 1.474 MB / 1.164 GB, free: 3.242 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005209/0.7235, allocations: 4.256 MB / 1.168 GB, free: 244 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.7235, allocations: 1 kB / 1.168 GB, free: 244 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7235, allocations: 0 / 1.168 GB, free: 244 kB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002634/0.7238, allocations: 0 / 1.168 GB, free: 244 kB / 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.009593/0.7334, allocations: 3.752 MB / 1.172 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.7334, allocations: 7.875 kB / 1.172 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01226/0.7457, allocations: 2.7 MB / 1.174 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004813/0.7505, allocations: 2.257 MB / 1.177 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.7508, allocations: 235.7 kB / 1.177 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00106/0.7519, allocations: 309.8 kB / 1.177 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01289/0.7648, allocations: 4.982 MB / 1.182 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/0.7649, allocations: 5.688 kB / 1.182 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007925/0.7657, allocations: 128 kB / 1.182 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.869e-05/0.7658, allocations: 76.84 kB / 1.182 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01448/0.7803, allocations: 6.096 MB / 1.188 GB, free: 4.672 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.02709/0.8074, allocations: 14.27 MB / 1.202 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/0.8176, allocations: 4.51 MB / 1.207 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004926/0.8225, allocations: 2.392 MB / 1.209 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009019/0.8235, allocations: 0.6696 MB / 1.21 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005122/0.8286, allocations: 2.356 MB / 1.212 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=268): time 5.901e-06/0.8287, allocations: 0 / 1.212 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=268): time 0.01736/0.846, allocations: 7.262 MB / 1.219 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.612e-05/0.8461, allocations: 210 kB / 1.219 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003532/0.8497, allocations: 2.356 MB / 1.221 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002863/0.85, allocations: 77.91 kB / 1.222 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001139/0.8511, allocations: 1.337 MB / 1.223 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008685/0.852, allocations: 0.8895 MB / 1.224 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.8522, allocations: 48 kB / 1.224 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.8524, allocations: 410.8 kB / 1.224 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004155/0.8566, allocations: 1.874 MB / 1.226 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004391/0.861, allocations: 2.176 MB / 1.228 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008604/0.8696, allocations: 4.04 MB / 1.232 GB, free: 7.262 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.8697, allocations: 8 kB / 1.232 GB, free: 7.254 MB / 0.7605 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.01066/0.8803, allocations: 4.768 MB / 1.237 GB, free: 2.434 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.8804, allocations: 8 kB / 1.237 GB, free: 2.426 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.8804, allocations: 4 kB / 1.237 GB, free: 2.422 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008638/0.8813, allocations: 356.8 kB / 1.237 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003685/0.885, allocations: 0.7448 MB / 1.238 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005149/0.8901, allocations: 3.901 MB / 1.242 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003609/0.8938, allocations: 0.5052 MB / 1.242 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004929/0.8943, allocations: 111.9 kB / 1.242 GB, free: 12.68 MB / 0.7761 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.002167/0.8965, allocations: 0.9279 MB / 1.243 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007359/0.8972, allocations: 264.7 kB / 1.243 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/0.9094, allocations: 5.333 MB / 1.249 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.859e-05/0.9095, allocations: 11.95 kB / 1.249 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.9095, allocations: 0 / 1.249 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001781/0.9113, allocations: 0.8403 MB / 1.249 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006573/0.9119, allocations: 56 kB / 1.249 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002955/0.9149, allocations: 379.4 kB / 1.25 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003915/0.9153, allocations: 193.9 kB / 1.25 GB, free: 4.586 MB / 0.7761 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01295/0.9283, allocations: 5.124 MB / 1.255 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01419/0.9425, allocations: 7.413 MB / 1.262 GB, free: 7.902 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004261/0.9468, allocations: 2.176 MB / 1.264 GB, free: 5.711 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002728/0.9495, allocations: 1.713 MB / 1.266 GB, free: 3.984 MB / 0.7917 GB Notification: Performance of Backend: time 1.142e-06/0.9496, allocations: 0 / 1.266 GB, free: 3.984 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.009811/0.9594, allocations: 3.903 MB / 1.27 GB, free: 364 kB / 0.7917 GB Notification: Performance of SimCode: time 0.01165/0.9711, allocations: 8.088 MB / 1.278 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of Templates: time 0.07541/1.047, allocations: 50.96 MB / 1.327 GB, free: 5.398 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)