Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.ScalableBenchmarks.BuildingVAV.ThermalZones.Validation.ThermalZone.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ScalableBenchmarks.BuildingVAV.ThermalZones.Validation.ThermalZone,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ScalableBenchmarks.BuildingVAV.ThermalZones.Validation.ThermalZone") translateModel(Buildings.Examples.ScalableBenchmarks.BuildingVAV.ThermalZones.Validation.ThermalZone,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ScalableBenchmarks.BuildingVAV.ThermalZones.Validation.ThermalZone") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 114.6 kB / 16.38 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 187.6 kB / 17.31 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.821/1.821, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 66.47 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.225, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ScalableBenchmarks.BuildingVAV.ThermalZones.Validation.ThermalZone): time 0.6601/0.8852, allocations: 249.5 MB / 1.028 GB, free: 192 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.06342/0.9486, allocations: 44.85 MB / 1.072 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01392/0.9626, allocations: 338 kB / 1.073 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01821/0.9809, allocations: 7.254 MB / 1.08 GB, free: 11.6 MB / 0.8731 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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.02079/1.002, allocations: 6.607 MB / 1.086 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.01791/1.02, allocations: 6.635 MB / 1.093 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.04512/1.065, allocations: 32.65 MB / 1.125 GB, free: 13.71 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6984/1.763, allocations: 14.77 MB / 1.139 GB, free: 21.86 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03043/1.794, allocations: 12.66 MB / 1.151 GB, free: 21.84 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0308/1.825, allocations: 11.27 MB / 1.162 GB, free: 20.04 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.01517/1.84, allocations: 2.44 MB / 1.165 GB, free: 20.04 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03003/1.87, allocations: 6.901 MB / 1.171 GB, free: 20.04 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01755/1.887, allocations: 8.098 MB / 1.179 GB, free: 19.35 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.02974/1.917, allocations: 10.75 MB / 1.19 GB, free: 16.64 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0732/1.991, allocations: 38.93 MB / 1.228 GB, free: 9.84 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/1.991, allocations: 3.312 kB / 1.228 GB, free: 9.84 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.344e-06/1.991, allocations: 0.9062 kB / 1.228 GB, free: 9.84 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.001277/1.992, allocations: 0 / 1.228 GB, free: 9.84 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.08943/2.081, allocations: 22.66 MB / 1.25 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/2.081, allocations: 8.094 kB / 1.25 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02928/2.111, allocations: 4.83 MB / 1.255 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06427/2.175, allocations: 28.44 MB / 1.282 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001563/2.177, allocations: 1.132 MB / 1.284 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006288/2.183, allocations: 0.7266 MB / 1.284 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03777/2.221, allocations: 10.24 MB / 1.294 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000336/2.221, allocations: 14.31 kB / 1.294 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003845/2.225, allocations: 242.7 kB / 1.295 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002892/2.225, allocations: 212.6 kB / 1.295 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03076/2.256, allocations: 10.8 MB / 1.305 GB, free: 9.367 MB / 0.9669 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.1485/2.405, allocations: 58.8 MB / 1.363 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01748/2.422, allocations: 7.526 MB / 1.37 GB, free: 6.621 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009954/2.432, allocations: 4.797 MB / 1.375 GB, free: 1.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001721/2.434, allocations: 0.8667 MB / 1.376 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01145/2.446, allocations: 4.402 MB / 1.38 GB, free: 12.36 MB / 1.045 GB Notification: Performance of pre-optimization done (n=403): time 1.077e-05/2.446, allocations: 3.094 kB / 1.38 GB, free: 12.36 MB / 1.045 GB Notification: Performance of matching and sorting (n=403): time 0.05889/2.504, allocations: 17.7 MB / 1.397 GB, free: 10.53 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003382/2.505, allocations: 364.6 kB / 1.398 GB, free: 10.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09483/2.6, allocations: 36.91 MB / 1.434 GB, free: 5.316 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.003962/2.604, allocations: 173.7 kB / 1.434 GB, free: 5.141 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.01796/2.622, allocations: 7.342 MB / 1.441 GB, free: 13.83 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.003841/2.626, allocations: 1.414 MB / 1.442 GB, free: 12.43 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01758/2.643, allocations: 4.538 MB / 1.447 GB, free: 7.887 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001087/2.643, allocations: 301.1 kB / 1.447 GB, free: 7.59 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04263/2.686, allocations: 30.96 MB / 1.477 GB, free: 8.617 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04487/2.731, allocations: 33.69 MB / 1.51 GB, free: 6.164 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05701/2.788, allocations: 39.34 MB / 1.549 GB, free: 14.25 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001582/2.788, allocations: 16 kB / 1.549 GB, free: 14.24 MB / 1.217 GB Notification: Performance of matching and sorting (n=1732) (initialization): time 0.6106/3.399, allocations: 70.01 MB / 1.617 GB, free: 0.509 GB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003083/3.399, allocations: 182.2 kB / 1.617 GB, free: 0.5089 GB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07823/3.477, allocations: 50.32 MB / 1.666 GB, free: 498.8 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01148/3.489, allocations: 3.16 MB / 1.669 GB, free: 496.4 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01226/3.501, allocations: 2.023 MB / 1.671 GB, free: 494.9 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/3.517, allocations: 9.723 MB / 1.681 GB, free: 485.8 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02048/3.538, allocations: 1.662 MB / 1.682 GB, free: 485 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004054/3.542, allocations: 364.7 kB / 1.683 GB, free: 484.7 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.05013/3.592, allocations: 39.2 MB / 1.721 GB, free: 449.1 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03693/3.629, allocations: 33.67 MB / 1.754 GB, free: 417.2 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04735/3.677, allocations: 39.3 MB / 1.792 GB, free: 380.1 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.922e-05/3.677, allocations: 19.53 kB / 1.792 GB, free: 380 MB / 1.217 GB Notification: Performance of matching and sorting (n=1732) (initialization_lambda0): time 0.09444/3.771, allocations: 70.68 MB / 1.861 GB, free: 311.2 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002919/3.772, allocations: 173.6 kB / 1.862 GB, free: 311.1 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06759/3.839, allocations: 50.99 MB / 1.911 GB, free: 260.1 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008471/3.848, allocations: 2.97 MB / 1.914 GB, free: 257.1 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0117/3.859, allocations: 2.026 MB / 1.916 GB, free: 255.1 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02885/3.888, allocations: 23.4 MB / 1.939 GB, free: 231.2 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01949/3.908, allocations: 1.463 MB / 1.94 GB, free: 229.9 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00392/3.912, allocations: 365.5 kB / 1.941 GB, free: 229.6 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 247 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.thermalZone.intLoad.nextTimeEvent,$whenCondition3,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,thermalZone.roo.solRadExc.isFlo[10],thermalZone.roo.solRadExc.isFlo[9],thermalZone.roo.solRadExc.isFlo[8],thermalZone.roo.solRadExc.isFlo[7],thermalZone.roo.solRadExc.isFlo[6],thermalZone.roo.solRadExc.isFlo[5],thermalZone.roo.solRadExc.isFlo[4],thermalZone.roo.solRadExc.isFlo[3],thermalZone.roo.solRadExc.isFlo[2],thermalZone.roo.solRadExc.isFlo[1],weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,thermalZone.intLoad.nextTimeEventScaled,$PRE.thermalZone.intLoad.nextTimeEventScaled,thermalZone.intLoad.nextTimeEvent,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (952): * Single equations (assignments): 911 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(14,55), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00609/3.918, allocations: 0.7833 MB / 1.942 GB, free: 228.8 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007586/3.926, allocations: 1.48 MB / 1.943 GB, free: 227.3 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03068/3.956, allocations: 11.47 MB / 1.954 GB, free: 215.8 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01994/3.976, allocations: 9.367 MB / 1.963 GB, free: 206.3 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.664e-05/3.976, allocations: 7.875 kB / 1.963 GB, free: 206.3 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01244/3.989, allocations: 3.917 MB / 1.967 GB, free: 202.4 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007341/3.996, allocations: 104 kB / 1.967 GB, free: 202.3 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01154/4.008, allocations: 0.5419 MB / 1.968 GB, free: 201.7 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001867/4.01, allocations: 242.8 kB / 1.968 GB, free: 201.5 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02626/4.036, allocations: 11.59 MB / 1.979 GB, free: 189.9 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03171/4.068, allocations: 15.59 MB / 1.995 GB, free: 174.3 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007279/4.075, allocations: 4.596 MB / 1.999 GB, free: 169.7 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.04636/4.121, allocations: 25 MB / 2.024 GB, free: 144.8 MB / 1.217 GB Notification: Performance of Backend: time 1.443e-06/4.121, allocations: 5.031 kB / 2.024 GB, free: 144.7 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.112/4.233, allocations: 78.59 MB / 2.1 GB, free: 66.88 MB / 1.217 GB Notification: Performance of SimCode: time 0.09708/4.331, allocations: 46.8 MB / 2.146 GB, free: 20.41 MB / 1.217 GB Notification: Performance of Templates: time 1.479/5.81, allocations: 369.1 MB / 2.506 GB, free: 263.2 MB / 1.217 GB make -j1 -f Buildings_8_Buildings.Examples.ScalableBenchmarks.BuildingVAV.ThermalZones.Validation.ThermalZone.makefile (rm -f Buildings_8_Buildings.Examples.ScalableBenchmarks.BuildingVAV.ThermalZones.Validation.ThermalZone.pipe ; mkfifo Buildings_8_Buildings.Examples.ScalableBenchmarks.BuildingVAV.ThermalZones.Validation.ThermalZone.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ScalableBenchmarks.BuildingVAV.ThermalZones.Validation.ThermalZone.pipe >> ../files/Buildings_8_Buildings.Examples.ScalableBenchmarks.BuildingVAV.ThermalZones.Validation.ThermalZone.sim & ./Buildings_8_Buildings.Examples.ScalableBenchmarks.BuildingVAV.ThermalZones.Validation.ThermalZone -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ScalableBenchmarks.BuildingVAV.ThermalZones.Validation.ThermalZone.pipe 2>&1)