Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.477/1.477, allocations: 288.4 MB / 304.3 MB, free: 8.195 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.0009304/0.0009305, allocations: 184.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.193/1.193, allocations: 205.4 MB / 0.6316 GB, free: 9.895 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.0007731/0.0007732, allocations: 106.3 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003415, allocations: 14.97 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1728, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.5071/0.68, allocations: 147.8 MB / 1.125 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02636/0.7064, allocations: 25.21 MB / 1.15 GB, free: 10.57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002821/0.7092, allocations: 71.59 kB / 1.15 GB, free: 10.55 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.711, allocations: 0.9501 MB / 1.151 GB, free: 9.973 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.004124/0.7151, allocations: 1.603 MB / 1.152 GB, free: 8.926 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003594/0.7187, allocations: 1.385 MB / 1.154 GB, free: 8.371 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006647/0.7254, allocations: 5.5 MB / 1.159 GB, free: 5.605 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005193/0.7306, allocations: 3.839 MB / 1.163 GB, free: 3.309 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002735/0.7333, allocations: 1.549 MB / 1.164 GB, free: 2.512 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002829/0.7362, allocations: 2.108 MB / 1.166 GB, free: 1.289 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003391/0.7365, allocations: 137.5 kB / 1.166 GB, free: 1.289 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.7382, allocations: 0.6444 MB / 1.167 GB, free: 1.043 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007216/0.7389, allocations: 0.8497 MB / 1.168 GB, free: 472 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.7406, allocations: 1.75 MB / 1.17 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004176/0.7448, allocations: 5.005 MB / 1.174 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.7448, allocations: 0 / 1.174 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7449, allocations: 3.25 kB / 1.174 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.932e-05/0.745, allocations: 0 / 1.174 GB, free: 11.67 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.007495/0.7525, allocations: 4.264 MB / 1.179 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.7525, allocations: 12.03 kB / 1.179 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01804/0.7706, allocations: 2.759 MB / 1.181 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007515/0.7781, allocations: 2.499 MB / 1.184 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002749/0.7784, allocations: 275.3 kB / 1.184 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008578/0.7793, allocations: 360.5 kB / 1.184 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0169/0.7962, allocations: 5.573 MB / 1.19 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.201e-05/0.7964, allocations: 6.531 kB / 1.19 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005521/0.7969, allocations: 146.8 kB / 1.19 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.16e-05/0.797, allocations: 88.09 kB / 1.19 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02288/0.8199, allocations: 6.668 MB / 1.197 GB, free: 12.76 MB / 0.7292 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.02722/0.8472, allocations: 17.13 MB / 1.213 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008536/0.8557, allocations: 4.5 MB / 1.218 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00507/0.8608, allocations: 2.986 MB / 1.221 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008184/0.8617, allocations: 0.6701 MB / 1.221 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004927/0.8666, allocations: 2.616 MB / 1.224 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=313): time 5.199e-06/0.8666, allocations: 3.938 kB / 1.224 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=313): time 0.02192/0.8885, allocations: 9.483 MB / 1.233 GB, free: 6.297 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.893e-05/0.8887, allocations: 218.4 kB / 1.233 GB, free: 6.039 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003211/0.8919, allocations: 2.613 MB / 1.236 GB, free: 3.41 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002433/0.8921, allocations: 81.7 kB / 1.236 GB, free: 3.324 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001151/0.8933, allocations: 1.522 MB / 1.237 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008506/0.8942, allocations: 1.043 MB / 1.238 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.8944, allocations: 56 kB / 1.238 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.8945, allocations: 411.7 kB / 1.239 GB, free: 272 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004339/0.8989, allocations: 2.094 MB / 1.241 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004708/0.9036, allocations: 2.431 MB / 1.243 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009097/0.9127, allocations: 4.517 MB / 1.248 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.9128, allocations: 7.938 kB / 1.248 GB, free: 7.051 MB / 0.7761 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01212/0.9249, allocations: 5.616 MB / 1.253 GB, free: 1.391 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.9249, allocations: 8 kB / 1.253 GB, free: 1.383 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.925, allocations: 4 kB / 1.253 GB, free: 1.379 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001702/0.9267, allocations: 0.8122 MB / 1.254 GB, free: 0.5586 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003852/0.9305, allocations: 0.7683 MB / 1.255 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009319/0.9399, allocations: 6.985 MB / 1.262 GB, free: 8.668 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003963/0.9439, allocations: 0.5478 MB / 1.262 GB, free: 8.117 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004314/0.9443, allocations: 123.9 kB / 1.262 GB, free: 7.996 MB / 0.7917 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 (289): * Single equations (assignments): 288 * 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 {(5,100.0%) 60} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001986/0.9463, allocations: 1.017 MB / 1.263 GB, free: 6.969 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005693/0.9469, allocations: 300.2 kB / 1.263 GB, free: 6.672 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/0.9596, allocations: 6.175 MB / 1.27 GB, free: 444 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.084e-05/0.9597, allocations: 11.95 kB / 1.27 GB, free: 432 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.9597, allocations: 3.984 kB / 1.27 GB, free: 428 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002011/0.9617, allocations: 0.9335 MB / 1.27 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005678/0.9623, allocations: 56 kB / 1.27 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003035/0.9653, allocations: 408.3 kB / 1.271 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005061/0.9658, allocations: 242.1 kB / 1.271 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0141/0.9799, allocations: 6.027 MB / 1.277 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01525/0.9952, allocations: 8.257 MB / 1.285 GB, free: 368 kB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00437/0.9996, allocations: 2.428 MB / 1.287 GB, free: 13.91 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002515/1.002, allocations: 1.892 MB / 1.289 GB, free: 12.02 MB / 0.823 GB Notification: Performance of Backend: time 3.5e-07/1.002, allocations: 7.938 kB / 1.289 GB, free: 12.01 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.009852/1.012, allocations: 4.416 MB / 1.294 GB, free: 7.875 MB / 0.823 GB Notification: Performance of SimCode: time 0.013/1.025, allocations: 9.487 MB / 1.303 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of Templates: time 0.08828/1.113, allocations: 58.2 MB / 1.36 GB, free: 4.359 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)