Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.333/2.333, 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.001429/0.001429, allocations: 180.5 kB / 326.3 MB, free: 2.855 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.529/2.529, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.0009187/0.0009184, allocations: 95.97 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004463/0.0004466, allocations: 9.031 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1887, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.2133/0.402, allocations: 145.7 MB / 1.042 GB, free: 15.43 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.6557/1.058, allocations: 24.56 MB / 1.066 GB, free: 3.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003294/1.061, allocations: 61.5 kB / 1.066 GB, free: 3.73 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003092/1.064, allocations: 0.8583 MB / 1.067 GB, free: 3.715 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.0058/1.07, allocations: 1.384 MB / 1.068 GB, free: 3.656 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005586/1.076, allocations: 1.171 MB / 1.069 GB, free: 3.617 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008241/1.084, allocations: 4.501 MB / 1.074 GB, free: 3.602 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006842/1.091, allocations: 3.159 MB / 1.077 GB, free: 3.191 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004088/1.095, allocations: 1.319 MB / 1.078 GB, free: 3.191 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004826/1.1, allocations: 1.796 MB / 1.08 GB, free: 3.184 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001085/1.101, allocations: 105.8 kB / 1.08 GB, free: 3.184 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/1.104, allocations: 0.5432 MB / 1.08 GB, free: 3.164 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001487/1.106, allocations: 0.7121 MB / 1.081 GB, free: 3.164 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001762/1.108, allocations: 0.6233 MB / 1.082 GB, free: 19.13 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.006692/1.114, allocations: 4.259 MB / 1.086 GB, free: 18.86 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.114, allocations: 0 / 1.086 GB, free: 18.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.675e-06/1.114, allocations: 2.906 kB / 1.086 GB, free: 18.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002045/1.115, allocations: 3.938 kB / 1.086 GB, free: 18.85 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: 804 * Number of variables: 804 Notification: Performance of Generate backend data structure: time 0.0127/1.127, allocations: 3.792 MB / 1.089 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.127, allocations: 16.03 kB / 1.089 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02324/1.151, allocations: 2.693 MB / 1.092 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006786/1.158, allocations: 2.165 MB / 1.094 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002544/1.158, allocations: 233.8 kB / 1.094 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/1.159, allocations: 307 kB / 1.095 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01918/1.178, allocations: 4.981 MB / 1.1 GB, free: 16.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/1.179, allocations: 6.875 kB / 1.1 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008515/1.179, allocations: 127.2 kB / 1.1 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.985e-05/1.179, allocations: 78.06 kB / 1.1 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02518/1.205, allocations: 6.105 MB / 1.106 GB, free: 15.14 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.04472/1.249, allocations: 14.28 MB / 1.12 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01866/1.268, allocations: 4.509 MB / 1.124 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008842/1.277, allocations: 2.38 MB / 1.126 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001531/1.279, allocations: 0.6749 MB / 1.127 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009435/1.288, allocations: 2.359 MB / 1.129 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=268): time 7.083e-06/1.288, allocations: 0 / 1.129 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of matching and sorting (n=268): time 0.03311/1.321, allocations: 7.224 MB / 1.136 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/1.321, allocations: 214.6 kB / 1.137 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004923/1.326, allocations: 2.361 MB / 1.139 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000859/1.327, allocations: 71.64 kB / 1.139 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001755/1.329, allocations: 1.341 MB / 1.14 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001809/1.331, allocations: 0.8865 MB / 1.141 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003673/1.331, allocations: 46.78 kB / 1.141 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002901/1.332, allocations: 400.9 kB / 1.142 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008354/1.34, allocations: 1.877 MB / 1.143 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009078/1.349, allocations: 2.179 MB / 1.146 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00914/1.358, allocations: 2.034 MB / 1.148 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/1.358, allocations: 2.906 kB / 1.148 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.02078/1.379, allocations: 4.772 MB / 1.152 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/1.379, allocations: 9.562 kB / 1.152 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/1.379, allocations: 4 kB / 1.152 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/1.381, allocations: 350.1 kB / 1.153 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007738/1.388, allocations: 0.7377 MB / 1.153 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008404/1.397, allocations: 3.913 MB / 1.157 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006556/1.404, allocations: 0.4998 MB / 1.158 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008118/1.404, allocations: 117 kB / 1.158 GB, free: 4.648 MB / 0.7292 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 (276): * Single equations (assignments): 275 * 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 {(3,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003397/1.408, allocations: 0.9262 MB / 1.159 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/1.409, allocations: 260.7 kB / 1.159 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02409/1.433, allocations: 5.349 MB / 1.164 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.092e-05/1.433, allocations: 19.94 kB / 1.164 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/1.433, allocations: 0 / 1.164 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003224/1.436, allocations: 0.84 MB / 1.165 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001271/1.438, allocations: 56.73 kB / 1.165 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006145/1.444, allocations: 379.3 kB / 1.165 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009352/1.445, allocations: 188.3 kB / 1.166 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0254/1.47, allocations: 5.13 MB / 1.171 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03043/1.501, allocations: 7.408 MB / 1.178 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008503/1.509, allocations: 2.175 MB / 1.18 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004165/1.514, allocations: 1.71 MB / 1.182 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of Backend: time 1.372e-06/1.514, allocations: 0 / 1.182 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01698/1.531, allocations: 3.888 MB / 1.185 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of SimCode: time 0.02084/1.551, allocations: 8.099 MB / 1.193 GB, free: 8.324 MB / 0.7605 GB Notification: Performance of Templates: time 0.139/1.691, allocations: 50.67 MB / 1.243 GB, free: 6.039 MB / 0.8073 GB make -j1 -f Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)