Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.652/1.652, allocations: 287.4 MB / 303.2 MB, free: 8.227 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.0009122/0.0009122, allocations: 174.4 kB / 371.8 MB, free: 10.82 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.307/1.307, allocations: 205.4 MB / 0.6304 GB, free: 10.57 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.0007947/0.0007947, allocations: 105.5 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003773, allocations: 10.39 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1743, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5338/0.7081, allocations: 146.6 MB / 1.122 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0284/0.7366, allocations: 24.82 MB / 1.147 GB, free: 10.97 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003552/0.7402, allocations: 67.16 kB / 1.147 GB, free: 10.95 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001953/0.7421, allocations: 0.8988 MB / 1.148 GB, free: 10.71 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.004665/0.7468, allocations: 1.456 MB / 1.149 GB, free: 10.1 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003824/0.7507, allocations: 1.242 MB / 1.15 GB, free: 9.723 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006433/0.7571, allocations: 4.873 MB / 1.155 GB, free: 8.09 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00522/0.7623, allocations: 3.596 MB / 1.158 GB, free: 6.426 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003195/0.7656, allocations: 1.408 MB / 1.16 GB, free: 5.703 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003088/0.7687, allocations: 1.925 MB / 1.162 GB, free: 4.582 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005658/0.7693, allocations: 120.5 kB / 1.162 GB, free: 4.582 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.7714, allocations: 0.5475 MB / 1.162 GB, free: 4.387 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000814/0.7723, allocations: 0.7648 MB / 1.163 GB, free: 3.867 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.7733, allocations: 0.6729 MB / 1.164 GB, free: 3.441 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00517/0.7785, allocations: 4.577 MB / 1.168 GB, free: 196 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.7786, allocations: 0.5312 kB / 1.168 GB, free: 196 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7786, allocations: 8.531 kB / 1.168 GB, free: 188 kB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001963/0.7788, allocations: 0 / 1.168 GB, free: 188 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: 860 * Number of variables: 860 Notification: Performance of Generate backend data structure: time 0.008628/0.7874, allocations: 3.971 MB / 1.172 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.7875, allocations: 8.688 kB / 1.172 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01244/0.7999, allocations: 2.717 MB / 1.175 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004609/0.8045, allocations: 2.354 MB / 1.177 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.8047, allocations: 256 kB / 1.177 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005261/0.8053, allocations: 324 kB / 1.178 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/0.8158, allocations: 5.224 MB / 1.183 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.699e-05/0.8159, allocations: 3.984 kB / 1.183 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003688/0.8163, allocations: 137.8 kB / 1.183 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.981e-05/0.8164, allocations: 82.09 kB / 1.183 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0145/0.8309, allocations: 6.336 MB / 1.189 GB, free: 4.082 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.0291/0.86, allocations: 15.47 MB / 1.204 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008904/0.869, allocations: 4.099 MB / 1.208 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00525/0.8743, allocations: 2.639 MB / 1.211 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008778/0.8752, allocations: 0.6736 MB / 1.212 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00501/0.8802, allocations: 2.471 MB / 1.214 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=286): time 5.961e-06/0.8802, allocations: 0 / 1.214 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of matching and sorting (n=286): time 0.01949/0.8997, allocations: 8.101 MB / 1.222 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.8999, allocations: 214.2 kB / 1.222 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003924/0.9038, allocations: 2.48 MB / 1.224 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000326/0.9041, allocations: 73.7 kB / 1.225 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.9053, allocations: 1.42 MB / 1.226 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008467/0.9062, allocations: 0.9549 MB / 1.227 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.9064, allocations: 48 kB / 1.227 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.9065, allocations: 407.1 kB / 1.227 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004308/0.9109, allocations: 1.968 MB / 1.229 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004559/0.9154, allocations: 2.282 MB / 1.231 GB, free: 7.68 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00884/0.9243, allocations: 4.246 MB / 1.236 GB, free: 3.348 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.9243, allocations: 0 / 1.236 GB, free: 3.348 MB / 0.7605 GB Notification: Performance of matching and sorting (n=325) (initialization): time 0.01086/0.9352, allocations: 5.135 MB / 1.241 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.9352, allocations: 8.406 kB / 1.241 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.9352, allocations: 8 kB / 1.241 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.9365, allocations: 0.5569 MB / 1.241 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003637/0.9402, allocations: 0.7527 MB / 1.242 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006921/0.9471, allocations: 5.284 MB / 1.247 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003622/0.9507, allocations: 0.5284 MB / 1.248 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000271/0.951, allocations: 111.9 kB / 1.248 GB, free: 6.77 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 (280): * Single equations (assignments): 279 * 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 {(4,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002005/0.953, allocations: 0.9677 MB / 1.249 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004783/0.9535, allocations: 284.5 kB / 1.249 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/0.9656, allocations: 5.686 MB / 1.254 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.5e-05/0.9656, allocations: 11.95 kB / 1.254 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/0.9656, allocations: 0 / 1.254 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/0.9672, allocations: 0.8791 MB / 1.255 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004176/0.9676, allocations: 52 kB / 1.255 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00269/0.9703, allocations: 399.3 kB / 1.256 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000357/0.9706, allocations: 218 kB / 1.256 GB, free: 14.19 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0127/0.9834, allocations: 5.501 MB / 1.261 GB, free: 8.637 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01455/0.9979, allocations: 7.766 MB / 1.269 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004311/1.002, allocations: 2.282 MB / 1.271 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00258/1.005, allocations: 1.794 MB / 1.273 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of Backend: time 5.21e-07/1.005, allocations: 8 kB / 1.273 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.009103/1.014, allocations: 4.102 MB / 1.277 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of SimCode: time 0.01118/1.025, allocations: 8.681 MB / 1.285 GB, free: 224 kB / 0.8073 GB Notification: Performance of Templates: time 0.08424/1.109, allocations: 53.86 MB / 1.338 GB, free: 10.56 MB / 0.8698 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)