Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.539/1.539, allocations: 288.4 MB / 304.3 MB, free: 8.078 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009293/0.0009294, allocations: 172.5 kB / 372.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.4 MB / 0.6316 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007559/0.0007558, allocations: 92.64 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003672, allocations: 14.97 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1719, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5213/0.6932, allocations: 146.6 MB / 1.124 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0278/0.721, allocations: 24.81 MB / 1.148 GB, free: 11.22 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002945/0.724, allocations: 66.94 kB / 1.148 GB, free: 11.2 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.7258, allocations: 0.8971 MB / 1.149 GB, free: 10.67 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.003827/0.7296, allocations: 1.478 MB / 1.15 GB, free: 9.727 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003411/0.733, allocations: 1.249 MB / 1.152 GB, free: 9.223 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005674/0.7387, allocations: 4.875 MB / 1.156 GB, free: 7.5 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005156/0.7439, allocations: 3.581 MB / 1.16 GB, free: 5.387 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003072/0.747, allocations: 1.411 MB / 1.161 GB, free: 4.66 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003136/0.7501, allocations: 1.916 MB / 1.163 GB, free: 3.547 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004593/0.7506, allocations: 119.5 kB / 1.163 GB, free: 3.547 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.7526, allocations: 0.623 MB / 1.164 GB, free: 3.305 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007589/0.7534, allocations: 0.7673 MB / 1.165 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.7553, allocations: 1.581 MB / 1.166 GB, free: 1.664 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005471/0.7608, allocations: 4.587 MB / 1.171 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.7608, allocations: 4 kB / 1.171 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.953e-06/0.7608, allocations: 0 / 1.171 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000237/0.761, allocations: 0 / 1.171 GB, free: 14.41 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.01002/0.7711, allocations: 3.971 MB / 1.175 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.7711, allocations: 10.88 kB / 1.175 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/0.7829, allocations: 2.714 MB / 1.177 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004494/0.7874, allocations: 2.363 MB / 1.18 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.7876, allocations: 256.8 kB / 1.18 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000589/0.7882, allocations: 323.8 kB / 1.18 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.7989, allocations: 5.226 MB / 1.185 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.806e-05/0.799, allocations: 3 kB / 1.185 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003355/0.7994, allocations: 142.3 kB / 1.185 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-05/0.7994, allocations: 79.16 kB / 1.185 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/0.813, allocations: 6.336 MB / 1.192 GB, free: 1.824 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.02529/0.8383, allocations: 15.48 MB / 1.207 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007961/0.8463, allocations: 4.096 MB / 1.211 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004912/0.8512, allocations: 2.643 MB / 1.213 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008807/0.8521, allocations: 0.6736 MB / 1.214 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004926/0.8571, allocations: 2.464 MB / 1.216 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=286): time 4.759e-06/0.8571, allocations: 0 / 1.216 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of matching and sorting (n=286): time 0.01936/0.8764, allocations: 8.109 MB / 1.224 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.477e-05/0.8766, allocations: 214.2 kB / 1.224 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003228/0.8798, allocations: 2.472 MB / 1.227 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004199/0.8802, allocations: 81.64 kB / 1.227 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/0.8814, allocations: 1.416 MB / 1.228 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001042/0.8825, allocations: 0.951 MB / 1.229 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.8826, allocations: 48 kB / 1.229 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.8828, allocations: 411.1 kB / 1.23 GB, free: 9.75 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004261/0.8871, allocations: 1.968 MB / 1.232 GB, free: 7.777 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004604/0.8917, allocations: 2.282 MB / 1.234 GB, free: 5.422 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009371/0.9011, allocations: 4.242 MB / 1.238 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.9012, allocations: 0 / 1.238 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of matching and sorting (n=325) (initialization): time 0.01146/0.9126, allocations: 5.135 MB / 1.243 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.9127, allocations: 17.42 kB / 1.243 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.9127, allocations: 4 kB / 1.243 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.9139, allocations: 0.553 MB / 1.244 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003585/0.9175, allocations: 0.7527 MB / 1.244 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006983/0.9245, allocations: 5.284 MB / 1.249 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003958/0.9285, allocations: 0.5284 MB / 1.25 GB, free: 4.625 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003966/0.9289, allocations: 115.9 kB / 1.25 GB, free: 4.512 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 ($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.002078/0.931, allocations: 0.9636 MB / 1.251 GB, free: 3.539 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005142/0.9315, allocations: 288.4 kB / 1.251 GB, free: 3.254 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/0.9436, allocations: 5.693 MB / 1.257 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.882e-05/0.9436, allocations: 11.95 kB / 1.257 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.9436, allocations: 3.984 kB / 1.257 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002159/0.9458, allocations: 0.8752 MB / 1.258 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005853/0.9464, allocations: 52 kB / 1.258 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003453/0.9499, allocations: 403.3 kB / 1.258 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004927/0.9504, allocations: 210 kB / 1.258 GB, free: 11.93 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01399/0.9644, allocations: 5.501 MB / 1.264 GB, free: 6.375 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01524/0.9796, allocations: 7.774 MB / 1.271 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004483/0.9842, allocations: 2.275 MB / 1.274 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00253/0.9867, allocations: 1.798 MB / 1.275 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of Backend: time 6.71e-07/0.9867, allocations: 0 / 1.275 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.009635/0.9964, allocations: 4.113 MB / 1.279 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of SimCode: time 0.01179/1.008, allocations: 8.696 MB / 1.288 GB, free: 13.84 MB / 0.823 GB Notification: Performance of Templates: time 0.08352/1.092, allocations: 54.15 MB / 1.341 GB, free: 7.859 MB / 0.8698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)