Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.179/2.179, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001331/0.001331, allocations: 178.1 kB / 326.3 MB, free: 2.863 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.259/2.259, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.0009901/0.0009899, allocations: 106 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004516/0.0004518, allocations: 10.22 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1914, allocations: 106.3 MB / 0.8995 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.2167/0.4081, allocations: 146.6 MB / 1.043 GB, free: 14.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.6517/1.06, allocations: 24.81 MB / 1.067 GB, free: 3.656 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003273/1.063, allocations: 65.44 kB / 1.067 GB, free: 3.656 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002737/1.066, allocations: 0.9003 MB / 1.068 GB, free: 3.641 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.005992/1.072, allocations: 1.451 MB / 1.069 GB, free: 3.578 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005777/1.078, allocations: 1.238 MB / 1.07 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008856/1.087, allocations: 4.878 MB / 1.075 GB, free: 3.527 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006879/1.094, allocations: 3.364 MB / 1.078 GB, free: 3.078 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004302/1.098, allocations: 1.41 MB / 1.08 GB, free: 3.074 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005084/1.103, allocations: 1.926 MB / 1.082 GB, free: 3.059 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.00102/1.104, allocations: 122.2 kB / 1.082 GB, free: 3.059 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003284/1.107, allocations: 0.5506 MB / 1.082 GB, free: 3.043 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001207/1.109, allocations: 0.7682 MB / 1.083 GB, free: 3.043 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001603/1.11, allocations: 0.6763 MB / 1.084 GB, free: 19.01 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.007111/1.117, allocations: 4.57 MB / 1.088 GB, free: 18.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.117, allocations: 2.25 kB / 1.088 GB, free: 18.72 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.725e-06/1.117, allocations: 0 / 1.088 GB, free: 18.72 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002157/1.118, allocations: 0 / 1.088 GB, free: 18.72 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: 860 * Number of variables: 860 Notification: Performance of Generate backend data structure: time 0.01378/1.131, allocations: 4.008 MB / 1.092 GB, free: 16.97 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/1.132, allocations: 8.344 kB / 1.092 GB, free: 16.97 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02312/1.155, allocations: 2.729 MB / 1.095 GB, free: 16.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006729/1.161, allocations: 2.271 MB / 1.097 GB, free: 16.15 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002279/1.162, allocations: 251 kB / 1.097 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001235/1.163, allocations: 326.7 kB / 1.098 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01885/1.182, allocations: 5.228 MB / 1.103 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/1.182, allocations: 2.688 kB / 1.103 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007124/1.183, allocations: 136.8 kB / 1.103 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-05/1.183, allocations: 80.94 kB / 1.103 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02593/1.209, allocations: 6.341 MB / 1.109 GB, free: 14.3 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.04553/1.254, allocations: 15.47 MB / 1.124 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/1.27, allocations: 4.092 MB / 1.128 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009301/1.279, allocations: 2.653 MB / 1.131 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001522/1.281, allocations: 0.6692 MB / 1.131 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009516/1.29, allocations: 2.464 MB / 1.134 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=286): time 7.485e-06/1.29, allocations: 3.344 kB / 1.134 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of matching and sorting (n=286): time 0.03732/1.328, allocations: 8.042 MB / 1.142 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/1.328, allocations: 210.2 kB / 1.142 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005284/1.333, allocations: 2.475 MB / 1.144 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000899/1.334, allocations: 73.89 kB / 1.144 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00169/1.336, allocations: 1.42 MB / 1.146 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001829/1.338, allocations: 0.9425 MB / 1.147 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003396/1.338, allocations: 57.92 kB / 1.147 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002856/1.338, allocations: 407.4 kB / 1.147 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008283/1.346, allocations: 1.969 MB / 1.149 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008795/1.355, allocations: 2.278 MB / 1.151 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008907/1.364, allocations: 2.135 MB / 1.153 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/1.364, allocations: 0 / 1.153 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of matching and sorting (n=325) (initialization): time 0.02135/1.386, allocations: 5.142 MB / 1.158 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/1.386, allocations: 4 kB / 1.158 GB, free: 5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/1.386, allocations: 4 kB / 1.158 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/1.388, allocations: 0.5621 MB / 1.159 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007675/1.396, allocations: 0.7509 MB / 1.16 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/1.408, allocations: 5.285 MB / 1.165 GB, free: 108 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00667/1.414, allocations: 0.5271 MB / 1.165 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006085/1.415, allocations: 112.8 kB / 1.165 GB, free: 15.52 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 (280): * Single equations (assignments): 279 * 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 {(4,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003101/1.418, allocations: 0.9669 MB / 1.166 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/1.419, allocations: 276.5 kB / 1.167 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02375/1.443, allocations: 5.697 MB / 1.172 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.176e-05/1.443, allocations: 17.8 kB / 1.172 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/1.443, allocations: 0 / 1.172 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003135/1.446, allocations: 0.8776 MB / 1.173 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000864/1.447, allocations: 61.61 kB / 1.173 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005465/1.452, allocations: 404.8 kB / 1.174 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006217/1.453, allocations: 207 kB / 1.174 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02563/1.479, allocations: 5.509 MB / 1.179 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02983/1.509, allocations: 7.767 MB / 1.187 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008972/1.518, allocations: 2.279 MB / 1.189 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.004495/1.522, allocations: 1.793 MB / 1.191 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of Backend: time 1.473e-06/1.522, allocations: 0 / 1.191 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01746/1.54, allocations: 4.109 MB / 1.195 GB, free: 9.707 MB / 0.7605 GB Notification: Performance of SimCode: time 0.02195/1.562, allocations: 8.692 MB / 1.203 GB, free: 1.598 MB / 0.7605 GB Notification: Performance of Templates: time 0.1551/1.717, allocations: 53.87 MB / 1.256 GB, free: 12.14 MB / 0.823 GB make -j1 -f Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)