Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.153/2.153, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.002184/0.002183, allocations: 173.8 kB / 326.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.312/2.312, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0008682/0.000868, allocations: 96.36 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004654, allocations: 13.34 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1928, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.2201/0.4129, allocations: 147.8 MB / 1.044 GB, free: 13.33 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.665/1.078, allocations: 25.21 MB / 1.068 GB, free: 3.488 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005235/1.083, allocations: 75.66 kB / 1.068 GB, free: 3.488 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005212/1.089, allocations: 0.9535 MB / 1.069 GB, free: 3.473 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1/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.1/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.1/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.01021/1.099, allocations: 1.572 MB / 1.071 GB, free: 3.406 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009973/1.109, allocations: 1.365 MB / 1.072 GB, free: 3.363 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0148/1.124, allocations: 5.504 MB / 1.078 GB, free: 3.355 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01308/1.137, allocations: 3.643 MB / 1.081 GB, free: 18.86 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00627/1.143, allocations: 1.545 MB / 1.083 GB, free: 18.86 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007386/1.151, allocations: 2.121 MB / 1.085 GB, free: 18.84 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.002035/1.153, allocations: 138.1 kB / 1.085 GB, free: 18.84 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005038/1.158, allocations: 0.5713 MB / 1.085 GB, free: 18.83 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002613/1.16, allocations: 0.8477 MB / 1.086 GB, free: 18.83 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002882/1.163, allocations: 0.7413 MB / 1.087 GB, free: 18.8 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01191/1.175, allocations: 5 MB / 1.092 GB, free: 18.47 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.172e-05/1.175, allocations: 3 kB / 1.092 GB, free: 18.47 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.176e-06/1.176, allocations: 0 / 1.092 GB, free: 18.47 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002928/1.176, allocations: 0 / 1.092 GB, free: 18.47 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.02335/1.199, allocations: 4.313 MB / 1.096 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.395e-05/1.199, allocations: 8.344 kB / 1.096 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03077/1.23, allocations: 2.759 MB / 1.099 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00805/1.238, allocations: 2.401 MB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003543/1.239, allocations: 272.1 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001797/1.24, allocations: 364.8 kB / 1.102 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02297/1.263, allocations: 5.569 MB / 1.107 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001873/1.264, allocations: 3.531 kB / 1.107 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001488/1.265, allocations: 148.2 kB / 1.107 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.205e-05/1.265, allocations: 89.53 kB / 1.107 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02978/1.295, allocations: 6.672 MB / 1.114 GB, free: 12.95 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.052/1.347, allocations: 17.14 MB / 1.131 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01752/1.365, allocations: 4.495 MB / 1.135 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01051/1.375, allocations: 2.988 MB / 1.138 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001742/1.377, allocations: 0.6775 MB / 1.139 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01074/1.388, allocations: 2.618 MB / 1.141 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=313): time 9.488e-06/1.388, allocations: 0 / 1.141 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=313): time 0.0496/1.438, allocations: 9.338 MB / 1.15 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/1.438, allocations: 210.4 kB / 1.151 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006192/1.444, allocations: 2.623 MB / 1.153 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001004/1.445, allocations: 88.2 kB / 1.153 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002071/1.447, allocations: 1.518 MB / 1.155 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.002212/1.449, allocations: 1.044 MB / 1.156 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005097/1.45, allocations: 51.62 kB / 1.156 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003652/1.45, allocations: 420.7 kB / 1.156 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009266/1.46, allocations: 2.085 MB / 1.158 GB, free: 5.742 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009944/1.47, allocations: 2.43 MB / 1.161 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009857/1.48, allocations: 2.273 MB / 1.163 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.151e-05/1.48, allocations: 4 kB / 1.163 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.02546/1.505, allocations: 5.613 MB / 1.168 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/1.505, allocations: 8.094 kB / 1.168 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/1.505, allocations: 7.938 kB / 1.168 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003362/1.509, allocations: 0.8146 MB / 1.169 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008167/1.517, allocations: 0.7737 MB / 1.17 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01734/1.534, allocations: 6.973 MB / 1.177 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007489/1.542, allocations: 0.5501 MB / 1.177 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/1.543, allocations: 117 kB / 1.177 GB, free: 7.562 MB / 0.7448 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.004202/1.547, allocations: 1.035 MB / 1.178 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001446/1.549, allocations: 300.2 kB / 1.179 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02812/1.577, allocations: 6.184 MB / 1.185 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001207/1.577, allocations: 15.94 kB / 1.185 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.577, allocations: 2.625 kB / 1.185 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003708/1.581, allocations: 0.9334 MB / 1.186 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001532/1.582, allocations: 59.19 kB / 1.186 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00669/1.589, allocations: 407.6 kB / 1.186 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001146/1.59, allocations: 238.9 kB / 1.186 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0295/1.62, allocations: 6.03 MB / 1.192 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03209/1.652, allocations: 8.264 MB / 1.2 GB, free: 6.348 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00935/1.661, allocations: 2.428 MB / 1.203 GB, free: 4.66 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.004608/1.666, allocations: 1.891 MB / 1.204 GB, free: 3.27 MB / 0.7605 GB Notification: Performance of Backend: time 1.112e-06/1.666, allocations: 0 / 1.204 GB, free: 3.27 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01964/1.686, allocations: 4.399 MB / 1.209 GB, free: 284 kB / 0.7605 GB Notification: Performance of SimCode: time 0.02367/1.709, allocations: 9.491 MB / 1.218 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of Templates: time 0.1593/1.869, allocations: 57.86 MB / 1.274 GB, free: 14.04 MB / 0.8386 GB make -j1 -f Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)