Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3.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.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 108.7 kB / 16.37 MB, free: 6.312 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.00155/0.00155, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.263/1.263, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.786/1.786, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001637/0.001637, allocations: 75 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2219, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System3): time 0.7251/0.9471, allocations: 357.7 MB / 1.134 GB, free: 3.68 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.4984/1.446, allocations: 41.27 MB / 1.174 GB, free: 26.15 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006479/1.452, allocations: 162.9 kB / 1.175 GB, free: 26.15 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.007497/1.46, allocations: 2.866 MB / 1.177 GB, free: 26.1 MB / 0.92 GB [/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'. [/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'. Notification: Performance of NFTyping.typeBindings: time 0.02145/1.481, allocations: 8.646 MB / 1.186 GB, free: 25.81 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01595/1.497, allocations: 6.535 MB / 1.192 GB, free: 25.68 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01689/1.514, allocations: 12.61 MB / 1.205 GB, free: 25.64 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008305/1.522, allocations: 5.214 MB / 1.21 GB, free: 25.07 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01247/1.535, allocations: 6.152 MB / 1.216 GB, free: 25 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007574/1.542, allocations: 4.036 MB / 1.22 GB, free: 24.67 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002045/1.544, allocations: 0.6321 MB / 1.22 GB, free: 24.67 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01714/1.562, allocations: 8.528 MB / 1.229 GB, free: 24.57 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00435/1.566, allocations: 1.869 MB / 1.23 GB, free: 24.35 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.007051/1.573, allocations: 3.318 MB / 1.234 GB, free: 23.47 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02557/1.599, allocations: 11.83 MB / 1.245 GB, free: 19.04 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/1.599, allocations: 0 / 1.245 GB, free: 19.04 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.493e-06/1.599, allocations: 0 / 1.245 GB, free: 19.04 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003429/1.599, allocations: 0 / 1.245 GB, free: 19.04 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: 1029 * Number of variables: 1029 Notification: Performance of Generate backend data structure: time 0.01879/1.618, allocations: 6.958 MB / 1.252 GB, free: 15.26 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.618, allocations: 9.438 kB / 1.252 GB, free: 15.26 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02242/1.64, allocations: 3.202 MB / 1.255 GB, free: 13.97 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/1.65, allocations: 4.243 MB / 1.259 GB, free: 12.24 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003685/1.651, allocations: 321.9 kB / 1.26 GB, free: 12.23 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/1.653, allocations: 429 kB / 1.26 GB, free: 12.23 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01675/1.669, allocations: 5.669 MB / 1.265 GB, free: 7.328 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001707/1.669, allocations: 9.062 kB / 1.265 GB, free: 7.324 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001298/1.671, allocations: 167 kB / 1.266 GB, free: 7.164 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/1.671, allocations: 163.8 kB / 1.266 GB, free: 7.004 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01735/1.688, allocations: 6.283 MB / 1.272 GB, free: 0.7305 MB / 0.92 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.04406/1.732, allocations: 21.88 MB / 1.293 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/1.744, allocations: 4.563 MB / 1.298 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00742/1.752, allocations: 2.522 MB / 1.3 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01667/1.768, allocations: 8.128 MB / 1.308 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007983/1.776, allocations: 2.762 MB / 1.311 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=315): time 9.047e-06/1.776, allocations: 0 / 1.311 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=322): time 0.0448/1.821, allocations: 13.54 MB / 1.324 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/1.821, allocations: 293.9 kB / 1.324 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008735/1.83, allocations: 3.44 MB / 1.328 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0008073/1.831, allocations: 93.7 kB / 1.328 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002531/1.833, allocations: 2.057 MB / 1.33 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001659/1.835, allocations: 1.086 MB / 1.331 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002613/1.838, allocations: 0.756 MB / 1.332 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.838, allocations: 305.1 kB / 1.332 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006972/1.845, allocations: 2.273 MB / 1.334 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008144/1.853, allocations: 3.009 MB / 1.337 GB, free: 12.7 MB / 0.9981 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01727/1.87, allocations: 5.612 MB / 1.343 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-05/1.87, allocations: 4 kB / 1.343 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=460) (initialization): time 0.02068/1.891, allocations: 6.254 MB / 1.349 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/1.891, allocations: 15.38 kB / 1.349 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.925e-05/1.891, allocations: 12 kB / 1.349 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002447/1.894, allocations: 0.5934 MB / 1.349 GB, free: 68 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007359/1.901, allocations: 1.204 MB / 1.35 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/1.913, allocations: 11.35 MB / 1.362 GB, free: 2.852 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007284/1.92, allocations: 461.6 kB / 1.362 GB, free: 2.402 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/1.921, allocations: 171.9 kB / 1.362 GB, free: 2.234 MB / 1.014 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: cooCoi.UAFroRated.TAirIn = 293.15 cooCoi.UAFroRated.TWatIn = 293.15. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01076/1.932, allocations: 3.082 MB / 1.365 GB, free: 15.15 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008425/1.941, allocations: 2.965 MB / 1.368 GB, free: 11.93 MB / 1.029 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01728/1.958, allocations: 5.53 MB / 1.373 GB, free: 6.227 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.882e-05/1.958, allocations: 4 kB / 1.373 GB, free: 6.223 MB / 1.029 GB Notification: Performance of matching and sorting (n=460) (initialization_lambda0): time 0.02157/1.98, allocations: 6.13 MB / 1.379 GB, free: 132 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/1.98, allocations: 14.06 kB / 1.379 GB, free: 120 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/1.98, allocations: 16 kB / 1.379 GB, free: 104 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002317/1.982, allocations: 0.5742 MB / 1.38 GB, free: 15.51 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007224/1.989, allocations: 1.194 MB / 1.381 GB, free: 14.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/2.002, allocations: 12.43 MB / 1.393 GB, free: 1.109 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00725/2.01, allocations: 464.2 kB / 1.394 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/2.011, allocations: 175 kB / 1.394 GB, free: 0.4922 MB / 1.045 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization_lambda0 system: cooCoi.UAFroRated.TAirIn = 293.15 cooCoi.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 14 (cooCoi.UAFroRated.isFulWet,cooCoi.UAFroRated.isFulDry,cooCoi.flowRegime_nominal,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,con.y,$PRE.con.y,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,cooCoi.flowRegime,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (422): * Single equations (assignments): 409 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(1,1), (1,3), (1,2), (1,18), (1,4), (1,3), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001966/2.013, allocations: 405.4 kB / 1.394 GB, free: 140 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001968/2.015, allocations: 442.8 kB / 1.395 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02105/2.036, allocations: 5.831 MB / 1.4 GB, free: 9.824 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01598/2.052, allocations: 4.836 MB / 1.405 GB, free: 4.941 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/2.052, allocations: 0 / 1.405 GB, free: 4.941 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003212/2.055, allocations: 1.038 MB / 1.406 GB, free: 3.879 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001624/2.057, allocations: 66.53 kB / 1.406 GB, free: 3.816 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006104/2.063, allocations: 423.5 kB / 1.407 GB, free: 3.402 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007568/2.064, allocations: 214.4 kB / 1.407 GB, free: 3.191 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02178/2.085, allocations: 5.735 MB / 1.412 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02465/2.11, allocations: 8.107 MB / 1.42 GB, free: 5.301 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006989/2.117, allocations: 2.422 MB / 1.423 GB, free: 2.867 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.005406/2.123, allocations: 2.291 MB / 1.425 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of Backend: time 2.795e-06/2.123, allocations: 0 / 1.425 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.03418/2.157, allocations: 9.923 MB / 1.435 GB, free: 7.055 MB / 1.092 GB Notification: Performance of SimCode: time 0.02368/2.181, allocations: 9.888 MB / 1.444 GB, free: 13.2 MB / 1.107 GB Notification: Performance of Templates: time 0.6823/2.863, allocations: 139.2 MB / 1.58 GB, free: 0.55 GB / 1.201 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3.sim & ./Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe 2>&1)