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 1.636/1.636, allocations: 287.4 MB / 303.2 MB, free: 8.293 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.0009209/0.0009209, allocations: 186.9 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.282/1.282, 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.0007737/0.0007737, allocations: 85.23 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003713, allocations: 10.69 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1847, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.534/0.7187, allocations: 145.7 MB / 1.122 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02921/0.7479, allocations: 24.56 MB / 1.146 GB, free: 11.35 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003837/0.7518, allocations: 65.62 kB / 1.146 GB, free: 11.32 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002771/0.7546, allocations: 0.8596 MB / 1.146 GB, free: 11.11 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.00576/0.7604, allocations: 1.378 MB / 1.148 GB, free: 10.54 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00396/0.7644, allocations: 1.18 MB / 1.149 GB, free: 10.29 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006186/0.7706, allocations: 4.496 MB / 1.153 GB, free: 8.797 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005099/0.7757, allocations: 3.382 MB / 1.157 GB, free: 7.543 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00275/0.7785, allocations: 1.331 MB / 1.158 GB, free: 7.004 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00324/0.7817, allocations: 1.795 MB / 1.16 GB, free: 6.105 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008258/0.7826, allocations: 106.8 kB / 1.16 GB, free: 6.105 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002385/0.785, allocations: 0.5469 MB / 1.16 GB, free: 5.898 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.7861, allocations: 0.7063 MB / 1.161 GB, free: 5.422 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.7874, allocations: 0.631 MB / 1.162 GB, free: 5.016 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005172/0.7926, allocations: 4.243 MB / 1.166 GB, free: 2.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7926, allocations: 4 kB / 1.166 GB, free: 2.016 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7926, allocations: 1.5 kB / 1.166 GB, free: 2.016 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002374/0.7929, allocations: 0 / 1.166 GB, free: 2.016 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.009768/0.8026, allocations: 3.757 MB / 1.169 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.8027, allocations: 10.88 kB / 1.169 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/0.8153, allocations: 2.699 MB / 1.172 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004534/0.8198, allocations: 2.247 MB / 1.174 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.82, allocations: 232.7 kB / 1.175 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005928/0.8206, allocations: 313 kB / 1.175 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01064/0.8313, allocations: 4.984 MB / 1.18 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.299e-05/0.8314, allocations: 2.781 kB / 1.18 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003463/0.8317, allocations: 131.7 kB / 1.18 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-05/0.8318, allocations: 74.09 kB / 1.18 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01394/0.8457, allocations: 6.099 MB / 1.186 GB, free: 6.445 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.02427/0.87, allocations: 14.27 MB / 1.2 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009495/0.8795, allocations: 4.517 MB / 1.204 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00453/0.8841, allocations: 2.391 MB / 1.207 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008412/0.885, allocations: 0.6736 MB / 1.207 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004694/0.8897, allocations: 2.36 MB / 1.209 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=268): time 5.661e-06/0.8897, allocations: 0 / 1.209 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=268): time 0.01663/0.9063, allocations: 7.259 MB / 1.217 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.9064, allocations: 210 kB / 1.217 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003221/0.9097, allocations: 2.36 MB / 1.219 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002926/0.91, allocations: 69.7 kB / 1.219 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00114/0.9111, allocations: 1.341 MB / 1.22 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008012/0.9119, allocations: 0.8817 MB / 1.221 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.9121, allocations: 52.22 kB / 1.221 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.9123, allocations: 406.8 kB / 1.222 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004206/0.9165, allocations: 1.874 MB / 1.224 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004342/0.9209, allocations: 2.183 MB / 1.226 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008342/0.9292, allocations: 4.044 MB / 1.23 GB, free: 9.508 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.9293, allocations: 0 / 1.23 GB, free: 9.508 MB / 0.7605 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.0103/0.9396, allocations: 4.772 MB / 1.234 GB, free: 4.684 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.9396, allocations: 7.984 kB / 1.234 GB, free: 4.676 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.9396, allocations: 8.344 kB / 1.234 GB, free: 4.668 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008427/0.9405, allocations: 344.6 kB / 1.235 GB, free: 4.328 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003634/0.9441, allocations: 0.7487 MB / 1.235 GB, free: 3.578 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004955/0.9491, allocations: 3.903 MB / 1.239 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003467/0.9526, allocations: 0.5117 MB / 1.24 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002719/0.9529, allocations: 103.9 kB / 1.24 GB, free: 14.92 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.00193/0.9548, allocations: 0.9279 MB / 1.241 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004979/0.9553, allocations: 264.7 kB / 1.241 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/0.9673, allocations: 5.335 MB / 1.246 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.984e-05/0.9673, allocations: 15.94 kB / 1.246 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.9673, allocations: 0 / 1.246 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001955/0.9693, allocations: 0.8364 MB / 1.247 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000427/0.9697, allocations: 55.98 kB / 1.247 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002725/0.9725, allocations: 383.4 kB / 1.247 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003896/0.9729, allocations: 185.9 kB / 1.248 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01227/0.9851, allocations: 5.128 MB / 1.253 GB, free: 1.648 MB / 0.7761 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01507/1, allocations: 7.409 MB / 1.26 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004373/1.005, allocations: 2.176 MB / 1.262 GB, free: 7.965 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002621/1.007, allocations: 1.717 MB / 1.264 GB, free: 6.234 MB / 0.7917 GB Notification: Performance of Backend: time 3e-07/1.007, allocations: 0 / 1.264 GB, free: 6.234 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.008987/1.016, allocations: 3.888 MB / 1.267 GB, free: 2.719 MB / 0.7917 GB Notification: Performance of SimCode: time 0.01108/1.027, allocations: 8.084 MB / 1.275 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of Templates: time 0.07773/1.105, allocations: 50.67 MB / 1.325 GB, free: 8.078 MB / 0.8542 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)