Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.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.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.617/1.617, allocations: 287.4 MB / 303.2 MB, free: 8.156 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.001084/0.001084, allocations: 185.1 kB / 371.8 MB, free: 10.82 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.305/1.305, allocations: 205.4 MB / 0.6304 GB, free: 10.57 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.0007393/0.0007393, allocations: 96.83 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003599, allocations: 14.75 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1769, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System3): time 0.6967/0.8736, allocations: 327.3 MB / 1.299 GB, free: 4.301 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.05285/0.9265, allocations: 38.72 MB / 1.337 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006251/0.9327, allocations: 143.1 kB / 1.337 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.006953/0.9397, allocations: 1.844 MB / 1.339 GB, free: 11.51 MB / 0.8698 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.02032/0.9601, allocations: 6.321 MB / 1.345 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01432/0.9744, allocations: 4.619 MB / 1.349 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01845/0.9929, allocations: 13.72 MB / 1.363 GB, free: 2.824 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008452/1.001, allocations: 4.212 MB / 1.367 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01124/1.013, allocations: 4.715 MB / 1.371 GB, free: 9.801 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007462/1.02, allocations: 3.532 MB / 1.375 GB, free: 6.254 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.001733/1.022, allocations: 204 kB / 1.375 GB, free: 6.055 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01464/1.036, allocations: 5.029 MB / 1.38 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.002764/1.039, allocations: 1.37 MB / 1.381 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.002785/1.042, allocations: 1.155 MB / 1.382 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01456/1.057, allocations: 8.316 MB / 1.391 GB, free: 6.141 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/1.057, allocations: 0 / 1.391 GB, free: 6.141 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.236e-06/1.057, allocations: 4 kB / 1.391 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003708/1.057, allocations: 0 / 1.391 GB, free: 6.137 MB / 0.9167 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.01492/1.072, allocations: 5.783 MB / 1.396 GB, free: 268 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/1.072, allocations: 8.031 kB / 1.396 GB, free: 260 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02171/1.094, allocations: 3.388 MB / 1.4 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009616/1.103, allocations: 4.118 MB / 1.404 GB, free: 8.676 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001218/1.105, allocations: 0.5083 MB / 1.404 GB, free: 8.168 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00149/1.106, allocations: 427.9 kB / 1.405 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01443/1.121, allocations: 5.728 MB / 1.41 GB, free: 1.906 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.782e-05/1.121, allocations: 11.91 kB / 1.41 GB, free: 1.895 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004455/1.121, allocations: 168 kB / 1.41 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001513/1.121, allocations: 167.8 kB / 1.41 GB, free: 1.566 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01696/1.138, allocations: 6.436 MB / 1.417 GB, free: 11.12 MB / 0.948 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.4507/1.589, allocations: 21.93 MB / 1.438 GB, free: 335.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/1.601, allocations: 4.715 MB / 1.443 GB, free: 333.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007864/1.609, allocations: 2.6 MB / 1.445 GB, free: 332.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01682/1.626, allocations: 8.222 MB / 1.453 GB, free: 327.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007984/1.634, allocations: 2.859 MB / 1.456 GB, free: 326.7 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002355/1.637, allocations: 276.4 kB / 1.456 GB, free: 326.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=318): time 7.995e-06/1.637, allocations: 0 / 1.456 GB, free: 326.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=325): time 0.04667/1.683, allocations: 13.9 MB / 1.47 GB, free: 321.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/1.683, allocations: 295.8 kB / 1.47 GB, free: 321.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00631/1.69, allocations: 3.391 MB / 1.474 GB, free: 319.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00104/1.691, allocations: 100.5 kB / 1.474 GB, free: 319.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001945/1.693, allocations: 2.057 MB / 1.476 GB, free: 318.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00174/1.694, allocations: 1.101 MB / 1.477 GB, free: 317.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003057/1.695, allocations: 75.16 kB / 1.477 GB, free: 317.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001828/1.695, allocations: 446.8 kB / 1.477 GB, free: 316.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006731/1.702, allocations: 2.312 MB / 1.479 GB, free: 315.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00722/1.709, allocations: 3.066 MB / 1.482 GB, free: 313.6 MB / 0.948 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.01468/1.724, allocations: 5.666 MB / 1.488 GB, free: 310.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.169e-05/1.724, allocations: 3.844 kB / 1.488 GB, free: 310.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=463) (initialization): time 0.01888/1.743, allocations: 6.395 MB / 1.494 GB, free: 307.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002119/1.743, allocations: 0.4995 MB / 1.495 GB, free: 306.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.031e-05/1.743, allocations: 14.56 kB / 1.495 GB, free: 306.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/1.745, allocations: 0.608 MB / 1.495 GB, free: 306.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006617/1.752, allocations: 1.221 MB / 1.497 GB, free: 305.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008313/1.76, allocations: 10.67 MB / 1.507 GB, free: 296 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007302/1.767, allocations: 0.6788 MB / 1.508 GB, free: 295.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006168/1.768, allocations: 178.7 kB / 1.508 GB, free: 295.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/1.768, allocations: 3.656 kB / 1.508 GB, free: 295.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01493/1.783, allocations: 5.933 MB / 1.514 GB, free: 290.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.894e-05/1.783, allocations: 15.98 kB / 1.514 GB, free: 290.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/1.785, allocations: 0.5836 MB / 1.514 GB, free: 290.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006215/1.791, allocations: 1.205 MB / 1.515 GB, free: 288.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008912/1.8, allocations: 11.62 MB / 1.527 GB, free: 276.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007035/1.807, allocations: 0.6658 MB / 1.527 GB, free: 275.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006752/1.808, allocations: 171.9 kB / 1.528 GB, free: 275.6 MB / 0.948 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: cooCoi.UAFroRated.TWatIn = 293.15 cooCoi.UAFroRated.hAirIn = 45300.945. 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.isFulDry,cooCoi.UAFroRated.isFulWet,cooCoi.flowRegime_nominal,$whenCondition2,$whenCondition1,cooCoi.flowRegime,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.con.y,con.y,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 (425): * Single equations (assignments): 412 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {1 1,1 3,1 2,1 18,1 4,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002738/1.811, allocations: 1.115 MB / 1.529 GB, free: 274.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/1.812, allocations: 438.6 kB / 1.529 GB, free: 274 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01652/1.828, allocations: 6.063 MB / 1.535 GB, free: 267.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01336/1.842, allocations: 4.998 MB / 1.54 GB, free: 262.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/1.842, allocations: 0 / 1.54 GB, free: 262.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00305/1.845, allocations: 1.081 MB / 1.541 GB, free: 261.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/1.846, allocations: 71.92 kB / 1.541 GB, free: 261.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005708/1.852, allocations: 0.6198 MB / 1.542 GB, free: 261.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004991/1.852, allocations: 218.4 kB / 1.542 GB, free: 260.9 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01823/1.87, allocations: 5.968 MB / 1.548 GB, free: 254.9 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02038/1.891, allocations: 8.373 MB / 1.556 GB, free: 246.5 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006966/1.898, allocations: 2.496 MB / 1.558 GB, free: 244 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00461/1.903, allocations: 2.252 MB / 1.56 GB, free: 241.7 MB / 0.948 GB Notification: Performance of Backend: time 5.31e-07/1.903, allocations: 0 / 1.56 GB, free: 241.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02922/1.932, allocations: 9.943 MB / 1.57 GB, free: 232.2 MB / 0.948 GB Notification: Performance of SimCode: time 0.02044/1.952, allocations: 11.73 MB / 1.582 GB, free: 220.4 MB / 0.948 GB Notification: Performance of Templates: time 0.184/2.136, allocations: 133.2 MB / 1.712 GB, free: 87.7 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe 2>&1)