Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.242/1.242, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0008228/0.0008228, allocations: 175.7 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.26/1.26, allocations: 205 MB / 0.5766 GB, free: 21 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.0007046/0.0007047, allocations: 90.39 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000256/0.000256, allocations: 8.125 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1403, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1273/0.2676, allocations: 157.4 MB / 1.05 GB, free: 6.145 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.3326/0.6003, allocations: 26.02 MB / 1.076 GB, free: 1.375 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.6022, allocations: 62.66 kB / 1.076 GB, free: 1.375 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.6038, allocations: 0.8777 MB / 1.077 GB, free: 1.355 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.002781/0.6066, allocations: 1.42 MB / 1.078 GB, free: 1.289 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.6094, allocations: 1.402 MB / 1.08 GB, free: 1.246 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00414/0.6136, allocations: 4.732 MB / 1.084 GB, free: 1.23 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003155/0.6168, allocations: 3.267 MB / 1.087 GB, free: 16.67 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001324/0.6181, allocations: 1.292 MB / 1.089 GB, free: 16.67 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001613/0.6197, allocations: 1.8 MB / 1.09 GB, free: 16.66 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002419/0.62, allocations: 99.59 kB / 1.09 GB, free: 16.66 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.6212, allocations: 0.6234 MB / 1.091 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004296/0.6216, allocations: 0.69 MB / 1.092 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0009544/0.6226, allocations: 1.445 MB / 1.093 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00296/0.6256, allocations: 4.91 MB / 1.098 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6256, allocations: 2.938 kB / 1.098 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6256, allocations: 0 / 1.098 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.809e-05/0.6256, allocations: 0 / 1.098 GB, free: 15.6 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: 768 * Number of variables: 768 Notification: Performance of Generate backend data structure: time 0.00548/0.6311, allocations: 3.608 MB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.6312, allocations: 8.719 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.6415, allocations: 2.674 MB / 1.104 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002721/0.6442, allocations: 2.161 MB / 1.106 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.6444, allocations: 227.7 kB / 1.106 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003528/0.6447, allocations: 292.1 kB / 1.107 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007801/0.6525, allocations: 4.831 MB / 1.111 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-05/0.6526, allocations: 3 kB / 1.111 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000264/0.6529, allocations: 122 kB / 1.112 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.129e-05/0.6529, allocations: 72.78 kB / 1.112 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/0.6643, allocations: 5.942 MB / 1.117 GB, free: 11.98 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.01773/0.6821, allocations: 13.4 MB / 1.131 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007827/0.6899, allocations: 4.361 MB / 1.135 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003896/0.6938, allocations: 2.218 MB / 1.137 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007902/0.6946, allocations: 0.6731 MB / 1.138 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003988/0.6986, allocations: 2.274 MB / 1.14 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=255): time 4.389e-06/0.6986, allocations: 0 / 1.14 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=255): time 0.01362/0.7123, allocations: 6.7 MB / 1.146 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/0.7124, allocations: 205.9 kB / 1.147 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002619/0.715, allocations: 2.285 MB / 1.149 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.00021/0.7152, allocations: 73.7 kB / 1.149 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009207/0.7161, allocations: 1.265 MB / 1.15 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006898/0.7168, allocations: 0.8444 MB / 1.151 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/0.7171, allocations: 186.2 kB / 1.151 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.156e-05/0.7172, allocations: 305.1 kB / 1.151 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00369/0.7209, allocations: 1.815 MB / 1.153 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003905/0.7248, allocations: 2.106 MB / 1.155 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007424/0.7323, allocations: 3.884 MB / 1.159 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.7323, allocations: 4 kB / 1.159 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of matching and sorting (n=292) (initialization): time 0.008957/0.7413, allocations: 4.536 MB / 1.163 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.7413, allocations: 10.97 kB / 1.163 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.7413, allocations: 4.406 kB / 1.163 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005457/0.7419, allocations: 235.8 kB / 1.164 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003153/0.745, allocations: 0.732 MB / 1.164 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003395/0.7484, allocations: 3.112 MB / 1.167 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/0.7513, allocations: 0.4897 MB / 1.168 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/0.7516, allocations: 112.1 kB / 1.168 GB, free: 7.992 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 ($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 (270): * Single equations (assignments): 269 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00155/0.7531, allocations: 0.8975 MB / 1.169 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004976/0.7536, allocations: 256.8 kB / 1.169 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/0.764, allocations: 5.064 MB / 1.174 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.423e-05/0.764, allocations: 11.95 kB / 1.174 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.764, allocations: 0 / 1.174 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/0.7653, allocations: 0.7588 MB / 1.175 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003766/0.7657, allocations: 59.78 kB / 1.175 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002271/0.768, allocations: 383.3 kB / 1.175 GB, free: 0.5156 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003156/0.7683, allocations: 169.9 kB / 1.175 GB, free: 356 kB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01054/0.7788, allocations: 4.842 MB / 1.18 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0127/0.7915, allocations: 7.143 MB / 1.187 GB, free: 4.27 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003693/0.7953, allocations: 2.089 MB / 1.189 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001987/0.7973, allocations: 1.668 MB / 1.191 GB, free: 492 kB / 0.7605 GB Notification: Performance of Backend: time 4.11e-07/0.7973, allocations: 0 / 1.191 GB, free: 492 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.007681/0.8049, allocations: 3.756 MB / 1.194 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of SimCode: time 0.009014/0.814, allocations: 7.793 MB / 1.202 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of Templates: time 0.06507/0.8791, allocations: 49.46 MB / 1.25 GB, free: 4.098 MB / 0.823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)