Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.532/1.532, allocations: 292.3 MB / 308.1 MB, free: 4.25 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.001074/0.001074, allocations: 192.5 kB / 376.9 MB, free: 1.793 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.317/1.317, allocations: 205 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009579/0.0009577, allocations: 96.73 kB / 0.748 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009887/0.0009888, allocations: 51.92 kB / 0.8703 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2467, allocations: 114.6 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.5762/0.823, allocations: 157.8 MB / 1.136 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.02888/0.8519, allocations: 26.02 MB / 1.162 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0027/0.8546, allocations: 61.81 kB / 1.162 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.8568, allocations: 0.5189 MB / 1.162 GB, free: 296 kB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.004116/0.8609, allocations: 1.235 MB / 1.164 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003758/0.8647, allocations: 1.389 MB / 1.165 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.005006/0.8697, allocations: 4.686 MB / 1.169 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004456/0.8742, allocations: 3.437 MB / 1.173 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/0.8766, allocations: 1.485 MB / 1.174 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003106/0.8797, allocations: 1.96 MB / 1.176 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0009467/0.8807, allocations: 217.7 kB / 1.176 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00273/0.8834, allocations: 1.147 MB / 1.177 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001158/0.8846, allocations: 0.8158 MB / 1.178 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002651/0.8872, allocations: 1.6 MB / 1.18 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.005881/0.8931, allocations: 5.089 MB / 1.185 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8931, allocations: 0 / 1.185 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8931, allocations: 0 / 1.185 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002261/0.8934, allocations: 0 / 1.185 GB, free: 6.098 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 746 * Number of variables: 746 Notification: Performance of Generate backend data structure: time 0.01074/0.9041, allocations: 4 MB / 1.189 GB, free: 3.918 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.9042, allocations: 9.781 kB / 1.189 GB, free: 3.918 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/0.9168, allocations: 2.55 MB / 1.191 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006554/0.9234, allocations: 2.066 MB / 1.193 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000326/0.9237, allocations: 216.4 kB / 1.193 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009231/0.9247, allocations: 289.7 kB / 1.194 GB, free: 2.363 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/0.9361, allocations: 4.762 MB / 1.198 GB, free: 0.7734 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-05/0.9362, allocations: 5.875 kB / 1.198 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003252/0.9366, allocations: 122.8 kB / 1.199 GB, free: 0.6758 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.997e-05/0.9366, allocations: 71.12 kB / 1.199 GB, free: 0.6758 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01622/0.9529, allocations: 5.849 MB / 1.204 GB, free: 15.29 MB / 0.7917 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.0267/0.9796, allocations: 14.2 MB / 1.218 GB, free: 7.797 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009363/0.989, allocations: 4.121 MB / 1.222 GB, free: 6.531 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004283/0.9933, allocations: 2.087 MB / 1.224 GB, free: 5.883 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000859/0.9942, allocations: 0.6617 MB / 1.225 GB, free: 5.176 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00454/0.9987, allocations: 2.229 MB / 1.227 GB, free: 3.887 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=231): time 4.158e-06/0.9988, allocations: 4 kB / 1.227 GB, free: 3.883 MB / 0.7917 GB Notification: Performance of matching and sorting (n=231): time 0.01439/1.013, allocations: 6.266 MB / 1.233 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/1.013, allocations: 289.4 kB / 1.233 GB, free: 280 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002948/1.016, allocations: 2.054 MB / 1.235 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002295/1.017, allocations: 67.8 kB / 1.236 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009804/1.018, allocations: 1.187 MB / 1.237 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007067/1.018, allocations: 0.7698 MB / 1.237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008547/1.019, allocations: 491.8 kB / 1.238 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.18e-05/1.019, allocations: 305.3 kB / 1.238 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004031/1.023, allocations: 1.768 MB / 1.24 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004294/1.028, allocations: 2.131 MB / 1.242 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008086/1.036, allocations: 3.789 MB / 1.246 GB, free: 4.672 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/1.036, allocations: 4 kB / 1.246 GB, free: 4.668 MB / 0.8073 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.0102/1.046, allocations: 4.463 MB / 1.25 GB, free: 152 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/1.046, allocations: 8 kB / 1.25 GB, free: 144 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/1.046, allocations: 4 kB / 1.25 GB, free: 140 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006164/1.047, allocations: 224.7 kB / 1.25 GB, free: 15.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003412/1.05, allocations: 0.7216 MB / 1.251 GB, free: 15.19 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003769/1.054, allocations: 3.104 MB / 1.254 GB, free: 11.96 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003824/1.058, allocations: 0.5397 MB / 1.255 GB, free: 11.42 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003503/1.058, allocations: 103.9 kB / 1.255 GB, free: 11.32 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (264): * Single equations (assignments): 263 * 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.001694/1.06, allocations: 0.8099 MB / 1.255 GB, free: 10.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006029/1.06, allocations: 244.9 kB / 1.256 GB, free: 10.25 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/1.071, allocations: 4.671 MB / 1.26 GB, free: 5.559 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/1.071, allocations: 20 kB / 1.26 GB, free: 5.539 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/1.071, allocations: 11.94 kB / 1.26 GB, free: 5.527 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/1.071, allocations: 7.969 kB / 1.26 GB, free: 5.52 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0158/1.087, allocations: 8.107 MB / 1.268 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-06/1.087, allocations: 0 / 1.268 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00293/1.09, allocations: 0.6202 MB / 1.269 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007633/1.091, allocations: 262.4 kB / 1.269 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002181/1.091, allocations: 71.88 kB / 1.269 GB, free: 12.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004407/1.095, allocations: 4.795 MB / 1.274 GB, free: 7.277 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.095, allocations: 0 / 1.274 GB, free: 7.277 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2685/1.364, allocations: 96.43 MB / 1.368 GB, free: 6.07 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/1.365, allocations: 0.7279 MB / 1.369 GB, free: 5.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003879/1.366, allocations: 59.78 kB / 1.369 GB, free: 5.262 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002495/1.368, allocations: 359.3 kB / 1.369 GB, free: 4.91 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003497/1.369, allocations: 149.7 kB / 1.369 GB, free: 4.766 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/1.369, allocations: 87.88 kB / 1.369 GB, free: 4.68 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001984/1.371, allocations: 1.471 MB / 1.371 GB, free: 3.191 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.81e-07/1.371, allocations: 0 / 1.371 GB, free: 3.191 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003539/1.374, allocations: 1.302 MB / 1.372 GB, free: 1.887 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,16,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00208/1.376, allocations: 0.9854 MB / 1.373 GB, free: 1.145 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.3997/1.776, allocations: 4.212 MB / 1.377 GB, free: 280.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/1.776, allocations: 0 / 1.377 GB, free: 280.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.005056/1.781, allocations: 2.342 MB / 1.379 GB, free: 280.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/1.784, allocations: 0.569 MB / 1.38 GB, free: 280.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/1.8, allocations: 9.829 MB / 1.39 GB, free: 276.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002555/1.803, allocations: 2.271 MB / 1.392 GB, free: 276 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.006013/1.809, allocations: 1.275 MB / 1.393 GB, free: 275.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002047/1.811, allocations: 294.5 kB / 1.393 GB, free: 275.9 MB / 0.9323 GB Notification: Performance of SimCode: time 8.02e-07/1.811, allocations: 0 / 1.393 GB, free: 275.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.1075/1.918, allocations: 74.78 MB / 1.466 GB, free: 260.3 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe 2>&1)