Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.814/1.814, allocations: 287.5 MB / 302.6 MB, free: 8.289 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.00109/0.00109, allocations: 180.6 kB / 371.2 MB, free: 10.84 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.396/1.396, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.00077/0.00077, allocations: 102.9 kB / 0.7432 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.000368, allocations: 10.8 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1897, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.5129/0.7026, allocations: 145.2 MB / 1.12 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0263/0.729, allocations: 24.39 MB / 1.144 GB, free: 11.6 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003388/0.7324, allocations: 59.97 kB / 1.144 GB, free: 11.58 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.734, allocations: 496 kB / 1.145 GB, free: 11.39 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.003635/0.7377, allocations: 1.136 MB / 1.146 GB, free: 10.87 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003268/0.741, allocations: 1.135 MB / 1.147 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004685/0.7456, allocations: 4.177 MB / 1.151 GB, free: 9.559 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003958/0.7496, allocations: 3.131 MB / 1.154 GB, free: 8.383 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/0.7516, allocations: 1.197 MB / 1.155 GB, free: 7.898 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.7538, allocations: 1.548 MB / 1.157 GB, free: 7.164 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003298/0.7541, allocations: 98.41 kB / 1.157 GB, free: 7.164 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.7563, allocations: 0.9178 MB / 1.158 GB, free: 6.898 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006101/0.7569, allocations: 0.6152 MB / 1.158 GB, free: 6.598 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007671/0.7577, allocations: 0.5568 MB / 1.159 GB, free: 6.293 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004692/0.7624, allocations: 4.007 MB / 1.163 GB, free: 3.496 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7624, allocations: 1.469 kB / 1.163 GB, free: 3.496 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7624, allocations: 0 / 1.163 GB, free: 3.496 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001229/0.7626, allocations: 0 / 1.163 GB, free: 3.496 MB / 0.698 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.008027/0.7706, allocations: 3.415 MB / 1.166 GB, free: 1.152 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.7706, allocations: 8.844 kB / 1.166 GB, free: 1.152 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/0.7835, allocations: 2.668 MB / 1.169 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004193/0.7877, allocations: 2.066 MB / 1.171 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.7879, allocations: 219.3 kB / 1.171 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000642/0.7885, allocations: 288.9 kB / 1.171 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.7988, allocations: 4.782 MB / 1.176 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.403e-05/0.7989, allocations: 2.562 kB / 1.176 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003416/0.7992, allocations: 119.6 kB / 1.176 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/0.7993, allocations: 72.75 kB / 1.176 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01343/0.8127, allocations: 5.919 MB / 1.182 GB, free: 8.496 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.0242/0.8369, allocations: 14.22 MB / 1.196 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009297/0.8463, allocations: 4.109 MB / 1.2 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004842/0.8512, allocations: 2.09 MB / 1.202 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009251/0.8521, allocations: 0.6657 MB / 1.203 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004753/0.8569, allocations: 2.227 MB / 1.205 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=231): time 5.711e-06/0.8569, allocations: 3.984 kB / 1.205 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of matching and sorting (n=231): time 0.01478/0.8717, allocations: 6.286 MB / 1.211 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.8718, allocations: 287 kB / 1.211 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002909/0.8748, allocations: 2.032 MB / 1.213 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002368/0.875, allocations: 69.69 kB / 1.213 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009721/0.876, allocations: 1.191 MB / 1.214 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007182/0.8767, allocations: 0.7701 MB / 1.215 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.8769, allocations: 48 kB / 1.215 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.8771, allocations: 394.6 kB / 1.216 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004019/0.8811, allocations: 1.768 MB / 1.217 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004243/0.8854, allocations: 2.131 MB / 1.219 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008036/0.8934, allocations: 3.789 MB / 1.223 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/0.8935, allocations: 4 kB / 1.223 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.009909/0.9034, allocations: 4.451 MB / 1.227 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.9034, allocations: 8.031 kB / 1.227 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.9034, allocations: 8 kB / 1.227 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/0.9041, allocations: 224.7 kB / 1.228 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003641/0.9077, allocations: 0.7293 MB / 1.228 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003816/0.9115, allocations: 3.093 MB / 1.231 GB, free: 7.004 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003866/0.9154, allocations: 0.5594 MB / 1.232 GB, free: 6.441 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003256/0.9158, allocations: 103.9 kB / 1.232 GB, free: 6.34 MB / 0.7605 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 ($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 (264): * Single equations (assignments): 263 * 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 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001591/0.9174, allocations: 0.8023 MB / 1.233 GB, free: 5.527 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000481/0.9179, allocations: 244.9 kB / 1.233 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/0.9286, allocations: 4.674 MB / 1.238 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.9286, allocations: 24 kB / 1.238 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.9286, allocations: 11.92 kB / 1.238 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/0.9287, allocations: 7.969 kB / 1.238 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/0.944, allocations: 8.099 MB / 1.246 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.944, allocations: 0 / 1.246 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003275/0.9473, allocations: 0.6202 MB / 1.246 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008164/0.9481, allocations: 268.7 kB / 1.246 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002389/0.9484, allocations: 71.88 kB / 1.246 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004545/0.9529, allocations: 4.806 MB / 1.251 GB, free: 2.297 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.9529, allocations: 0 / 1.251 GB, free: 2.297 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01495/0.9679, allocations: 6.733 MB / 1.258 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/0.9697, allocations: 0.7861 MB / 1.258 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000727/0.9705, allocations: 44.09 kB / 1.259 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003103/0.9736, allocations: 375.3 kB / 1.259 GB, free: 10.31 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003456/0.974, allocations: 149.8 kB / 1.259 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002206/0.9742, allocations: 83.94 kB / 1.259 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002485/0.9767, allocations: 1.455 MB / 1.261 GB, free: 8.613 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9767, allocations: 0 / 1.261 GB, free: 8.613 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002933/0.9796, allocations: 0.8962 MB / 1.261 GB, free: 7.715 MB / 0.7917 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002098/0.9818, allocations: 0.976 MB / 1.262 GB, free: 7.07 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.009407/0.9912, allocations: 4.212 MB / 1.266 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.9912, allocations: 4 kB / 1.266 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.004823/0.996, allocations: 2.341 MB / 1.269 GB, free: 472 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003259/0.9993, allocations: 0.5748 MB / 1.269 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/1.012, allocations: 7.802 MB / 1.277 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002099/1.014, allocations: 2.202 MB / 1.279 GB, free: 5.828 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.004582/1.019, allocations: 1.056 MB / 1.28 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/1.02, allocations: 243.3 kB / 1.28 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of SimCode: time 1.593e-06/1.02, allocations: 0 / 1.28 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of Templates: time 0.06474/1.085, allocations: 39.25 MB / 1.319 GB, free: 13.46 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.sim & ./Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomSteadyState.pipe 2>&1)