Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.194/1.194, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0008267/0.0008269, allocations: 175 kB / 326.5 MB, free: 2.703 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.27/1.27, allocations: 205 MB / 0.5767 GB, free: 21.03 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.0006191/0.0006191, allocations: 84.94 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002646/0.0002646, allocations: 8.719 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1361, allocations: 105.4 MB / 0.8967 GB, free: 68.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1266/0.2628, allocations: 158.1 MB / 1.051 GB, free: 5.555 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.3368/0.5996, allocations: 26.21 MB / 1.077 GB, free: 1.363 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002087/0.6017, allocations: 65.38 kB / 1.077 GB, free: 1.363 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.6034, allocations: 0.9012 MB / 1.078 GB, free: 1.344 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.002912/0.6063, allocations: 1.467 MB / 1.079 GB, free: 1.289 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.6094, allocations: 1.457 MB / 1.08 GB, free: 1.234 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004244/0.6136, allocations: 5.008 MB / 1.085 GB, free: 1.223 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00322/0.6169, allocations: 3.396 MB / 1.089 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/0.6184, allocations: 1.356 MB / 1.09 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.6201, allocations: 1.887 MB / 1.092 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002495/0.6204, allocations: 112 kB / 1.092 GB, free: 16.63 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.6217, allocations: 0.629 MB / 1.093 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004625/0.6221, allocations: 0.7416 MB / 1.093 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.6232, allocations: 1.522 MB / 1.095 GB, free: 16.19 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003344/0.6265, allocations: 5.179 MB / 1.1 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6266, allocations: 3.438 kB / 1.1 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6266, allocations: 0 / 1.1 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.319e-05/0.6266, allocations: 0 / 1.1 GB, free: 15.46 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.005933/0.6326, allocations: 3.763 MB / 1.104 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.6326, allocations: 8.312 kB / 1.104 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/0.6433, allocations: 2.695 MB / 1.106 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00308/0.6464, allocations: 2.244 MB / 1.108 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.6465, allocations: 231.5 kB / 1.109 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004076/0.6469, allocations: 310.9 kB / 1.109 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008248/0.6552, allocations: 5.006 MB / 1.114 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.888e-05/0.6553, allocations: 5.75 kB / 1.114 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002776/0.6556, allocations: 132.3 kB / 1.114 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.774e-05/0.6556, allocations: 76.62 kB / 1.114 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01201/0.6676, allocations: 6.123 MB / 1.12 GB, free: 11.32 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.01918/0.6868, allocations: 14.27 MB / 1.134 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008211/0.6951, allocations: 4.528 MB / 1.138 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003883/0.699, allocations: 2.363 MB / 1.141 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007877/0.6998, allocations: 0.6693 MB / 1.141 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004185/0.704, allocations: 2.364 MB / 1.144 GB, free: 488 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=268): time 4.389e-06/0.704, allocations: 0 / 1.144 GB, free: 488 kB / 0.7136 GB Notification: Performance of matching and sorting (n=268): time 0.01549/0.7195, allocations: 7.284 MB / 1.151 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.253e-05/0.7196, allocations: 214 kB / 1.151 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002757/0.7224, allocations: 2.372 MB / 1.153 GB, free: 7.918 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002242/0.7226, allocations: 73.7 kB / 1.153 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009859/0.7236, allocations: 1.336 MB / 1.155 GB, free: 6.488 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000703/0.7243, allocations: 0.8904 MB / 1.155 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003021/0.7246, allocations: 194.7 kB / 1.156 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.647e-05/0.7247, allocations: 301.1 kB / 1.156 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003788/0.7285, allocations: 1.894 MB / 1.158 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004015/0.7325, allocations: 2.186 MB / 1.16 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0077/0.7402, allocations: 4.065 MB / 1.164 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.7403, allocations: 0 / 1.164 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.009521/0.7498, allocations: 4.794 MB / 1.169 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.7498, allocations: 4 kB / 1.169 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.7498, allocations: 4 kB / 1.169 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007494/0.7506, allocations: 341 kB / 1.169 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003248/0.7538, allocations: 0.7427 MB / 1.17 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004812/0.7587, allocations: 3.918 MB / 1.173 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003183/0.7619, allocations: 0.5021 MB / 1.174 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002415/0.7621, allocations: 111.9 kB / 1.174 GB, free: 2.305 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 (276): * Single equations (assignments): 275 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001616/0.7637, allocations: 0.9223 MB / 1.175 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004862/0.7642, allocations: 272.6 kB / 1.175 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/0.7749, allocations: 5.347 MB / 1.18 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.141e-05/0.7749, allocations: 15.94 kB / 1.18 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.7749, allocations: 0 / 1.18 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/0.7762, allocations: 0.786 MB / 1.181 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003842/0.7766, allocations: 67.83 kB / 1.181 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002374/0.779, allocations: 385.8 kB / 1.182 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000336/0.7793, allocations: 189.9 kB / 1.182 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01108/0.7904, allocations: 5.146 MB / 1.187 GB, free: 5.133 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0133/0.8037, allocations: 7.436 MB / 1.194 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003864/0.8076, allocations: 2.188 MB / 1.196 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002158/0.8098, allocations: 1.729 MB / 1.198 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of Backend: time 3.01e-07/0.8098, allocations: 0 / 1.198 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.008012/0.8178, allocations: 3.907 MB / 1.202 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of SimCode: time 0.009474/0.8273, allocations: 8.263 MB / 1.21 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of Templates: time 0.06949/0.8968, allocations: 51.78 MB / 1.26 GB, free: 10.38 MB / 0.8386 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)