Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.208/1.208, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008432/0.0008432, allocations: 167.6 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.262/1.262, allocations: 205 MB / 0.5767 GB, free: 20.92 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006827/0.0006827, allocations: 90.48 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000274/0.0002741, allocations: 5.906 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1387, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1312/0.2699, allocations: 160.4 MB / 1.053 GB, free: 3.184 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.3516/0.6216, allocations: 26.84 MB / 1.08 GB, free: 1.359 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002943/0.6246, allocations: 78.06 kB / 1.08 GB, free: 1.359 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002/0.6266, allocations: 0.9951 MB / 1.081 GB, free: 1.34 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.004559/0.6311, allocations: 1.665 MB / 1.082 GB, free: 1.273 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003788/0.6349, allocations: 1.704 MB / 1.084 GB, free: 1.223 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00569/0.6406, allocations: 6.112 MB / 1.09 GB, free: 1.211 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004047/0.6447, allocations: 3.856 MB / 1.094 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.6466, allocations: 1.586 MB / 1.095 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.6486, allocations: 2.218 MB / 1.097 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003343/0.6489, allocations: 137.5 kB / 1.097 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.6505, allocations: 0.6635 MB / 1.098 GB, free: 16.52 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005995/0.6511, allocations: 0.8714 MB / 1.099 GB, free: 16.49 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.6525, allocations: 1.823 MB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004466/0.657, allocations: 6.07 MB / 1.107 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.657, allocations: 3.047 kB / 1.107 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.184e-06/0.657, allocations: 0 / 1.107 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000113/0.6571, allocations: 0 / 1.107 GB, free: 14.97 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.007567/0.6647, allocations: 4.264 MB / 1.111 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.6647, allocations: 8.281 kB / 1.111 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.676, allocations: 2.758 MB / 1.114 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004061/0.68, allocations: 2.499 MB / 1.116 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.6802, allocations: 272 kB / 1.116 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004648/0.6807, allocations: 364.5 kB / 1.117 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.6912, allocations: 5.596 MB / 1.122 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.691e-05/0.6912, allocations: 0 / 1.122 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003205/0.6916, allocations: 156.1 kB / 1.122 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.44e-05/0.6916, allocations: 88.41 kB / 1.122 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01242/0.7041, allocations: 6.689 MB / 1.129 GB, free: 9.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.02212/0.7262, allocations: 17.13 MB / 1.146 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007688/0.7339, allocations: 4.518 MB / 1.15 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004576/0.7385, allocations: 2.847 MB / 1.153 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008004/0.7393, allocations: 0.6748 MB / 1.153 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004548/0.7439, allocations: 2.63 MB / 1.156 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=313): time 4.899e-06/0.7439, allocations: 0 / 1.156 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of matching and sorting (n=313): time 0.02106/0.7649, allocations: 9.515 MB / 1.165 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.77e-05/0.7651, allocations: 214.4 kB / 1.165 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/0.7681, allocations: 2.633 MB / 1.168 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.7683, allocations: 81.7 kB / 1.168 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.7695, allocations: 1.525 MB / 1.17 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008303/0.7703, allocations: 1.04 MB / 1.171 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003332/0.7706, allocations: 227.4 kB / 1.171 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.7707, allocations: 304 kB / 1.171 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00401/0.7747, allocations: 2.097 MB / 1.173 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004268/0.779, allocations: 2.442 MB / 1.176 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00826/0.7873, allocations: 4.538 MB / 1.18 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.7873, allocations: 0 / 1.18 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01066/0.798, allocations: 5.64 MB / 1.186 GB, free: 8.465 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.798, allocations: 8.078 kB / 1.186 GB, free: 8.457 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.798, allocations: 7.938 kB / 1.186 GB, free: 8.449 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001577/0.7996, allocations: 0.8271 MB / 1.186 GB, free: 7.625 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003235/0.8028, allocations: 0.7594 MB / 1.187 GB, free: 6.891 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008589/0.8115, allocations: 7.013 MB / 1.194 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003193/0.8147, allocations: 0.5486 MB / 1.194 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/0.8149, allocations: 119.9 kB / 1.195 GB, free: 15.09 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 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001819/0.8167, allocations: 1.019 MB / 1.196 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005236/0.8173, allocations: 300.2 kB / 1.196 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/0.8291, allocations: 6.195 MB / 1.202 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.747e-05/0.8291, allocations: 15.94 kB / 1.202 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.8291, allocations: 0 / 1.202 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/0.8306, allocations: 0.8752 MB / 1.203 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004245/0.831, allocations: 71.83 kB / 1.203 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002482/0.8335, allocations: 408.1 kB / 1.203 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003913/0.8339, allocations: 237.1 kB / 1.203 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01251/0.8464, allocations: 6.053 MB / 1.209 GB, free: 15.92 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0141/0.8605, allocations: 8.302 MB / 1.217 GB, free: 7.551 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004112/0.8647, allocations: 2.436 MB / 1.22 GB, free: 5.102 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002333/0.867, allocations: 1.904 MB / 1.222 GB, free: 3.191 MB / 0.7917 GB Notification: Performance of Backend: time 2.9e-07/0.867, allocations: 0 / 1.222 GB, free: 3.191 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.008761/0.8758, allocations: 4.446 MB / 1.226 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of SimCode: time 0.01088/0.8867, allocations: 9.665 MB / 1.235 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of Templates: time 0.07669/0.9634, allocations: 59.13 MB / 1.293 GB, free: 10.67 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)