Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.603/1.603, allocations: 288.4 MB / 304.3 MB, free: 8.09 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.0009335/0.0009335, allocations: 180.5 kB / 372.9 MB, free: 10.15 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.451/1.451, allocations: 205.4 MB / 0.6316 GB, free: 9.91 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.0007255/0.0007255, allocations: 94.84 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004432/0.0004434, allocations: 14.59 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1826, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System3): time 0.7972/0.9799, allocations: 327.3 MB / 1.3 GB, free: 3.035 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.05049/1.03, allocations: 38.72 MB / 1.338 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006001/1.036, allocations: 143.1 kB / 1.338 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.006996/1.043, allocations: 2.101 MB / 1.34 GB, free: 9.984 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.02199/1.065, allocations: 7.254 MB / 1.347 GB, free: 2.707 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01486/1.08, allocations: 4.804 MB / 1.352 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.01882/1.099, allocations: 13.73 MB / 1.366 GB, free: 176 kB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008307/1.108, allocations: 4.232 MB / 1.37 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01384/1.121, allocations: 4.976 MB / 1.375 GB, free: 6.875 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007584/1.129, allocations: 3.535 MB / 1.378 GB, free: 3.328 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.001826/1.131, allocations: 212 kB / 1.378 GB, free: 3.121 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01801/1.149, allocations: 8.792 MB / 1.387 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.003098/1.152, allocations: 1.374 MB / 1.388 GB, free: 8.93 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.006615/1.159, allocations: 2.672 MB / 1.391 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01752/1.176, allocations: 8.725 MB / 1.399 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.15e-05/1.176, allocations: 0 / 1.399 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.333e-06/1.176, allocations: 0 / 1.399 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003112/1.177, allocations: 0 / 1.399 GB, free: 13.49 MB / 0.9323 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.01698/1.194, allocations: 5.787 MB / 1.405 GB, free: 7.613 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/1.194, allocations: 8.031 kB / 1.405 GB, free: 7.605 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02224/1.216, allocations: 3.391 MB / 1.408 GB, free: 4.203 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009181/1.225, allocations: 4.122 MB / 1.412 GB, free: 20 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001209/1.226, allocations: 0.5121 MB / 1.413 GB, free: 15.51 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/1.227, allocations: 416 kB / 1.413 GB, free: 15.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01348/1.241, allocations: 5.728 MB / 1.419 GB, free: 9.258 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.35e-05/1.241, allocations: 7.844 kB / 1.419 GB, free: 9.25 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004582/1.242, allocations: 168 kB / 1.419 GB, free: 9.086 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001652/1.242, allocations: 163.8 kB / 1.419 GB, free: 8.926 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01701/1.259, allocations: 6.448 MB / 1.425 GB, free: 2.473 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.4638/1.723, allocations: 21.92 MB / 1.447 GB, free: 330.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/1.734, allocations: 4.695 MB / 1.451 GB, free: 328.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007306/1.741, allocations: 2.6 MB / 1.454 GB, free: 328.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01492/1.756, allocations: 8.216 MB / 1.462 GB, free: 323.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007307/1.764, allocations: 2.852 MB / 1.465 GB, free: 322.3 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002453/1.766, allocations: 279 kB / 1.465 GB, free: 322.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=317): time 6.722e-06/1.766, allocations: 0 / 1.465 GB, free: 322.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=324): time 0.04205/1.808, allocations: 13.89 MB / 1.479 GB, free: 315.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/1.809, allocations: 300.3 kB / 1.479 GB, free: 315 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006124/1.815, allocations: 3.387 MB / 1.482 GB, free: 313.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009453/1.816, allocations: 99.03 kB / 1.482 GB, free: 313.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001873/1.818, allocations: 2.056 MB / 1.484 GB, free: 311.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001907/1.819, allocations: 1.09 MB / 1.485 GB, free: 310.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003818/1.82, allocations: 74.88 kB / 1.485 GB, free: 310.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002972/1.82, allocations: 450.6 kB / 1.486 GB, free: 309.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006932/1.827, allocations: 2.308 MB / 1.488 GB, free: 308.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006878/1.834, allocations: 3.062 MB / 1.491 GB, free: 306.8 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.01407/1.848, allocations: 5.662 MB / 1.497 GB, free: 303.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.829e-05/1.848, allocations: 3.969 kB / 1.497 GB, free: 303.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.0176/1.866, allocations: 6.413 MB / 1.503 GB, free: 300.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002818/1.866, allocations: 0.5037 MB / 1.503 GB, free: 299.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.649e-05/1.866, allocations: 12.97 kB / 1.503 GB, free: 299.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/1.868, allocations: 0.6066 MB / 1.504 GB, free: 299.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006304/1.875, allocations: 1.223 MB / 1.505 GB, free: 299.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008267/1.883, allocations: 10.66 MB / 1.516 GB, free: 288.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007665/1.891, allocations: 0.6847 MB / 1.516 GB, free: 288 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006131/1.891, allocations: 176.6 kB / 1.516 GB, free: 287.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/1.891, allocations: 4 kB / 1.516 GB, free: 287.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01564/1.907, allocations: 5.961 MB / 1.522 GB, free: 281.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.913e-05/1.907, allocations: 16 kB / 1.522 GB, free: 281.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/1.909, allocations: 0.5854 MB / 1.523 GB, free: 281.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006437/1.915, allocations: 1.198 MB / 1.524 GB, free: 280.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008941/1.924, allocations: 11.61 MB / 1.535 GB, free: 267.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006917/1.931, allocations: 0.6564 MB / 1.536 GB, free: 267 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005017/1.932, allocations: 175.9 kB / 1.536 GB, free: 266.8 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 (424): * Single equations (assignments): 411 * 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.002597/1.934, allocations: 1.118 MB / 1.537 GB, free: 265.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008823/1.935, allocations: 438.6 kB / 1.538 GB, free: 265.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01605/1.951, allocations: 6.052 MB / 1.544 GB, free: 259.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01325/1.965, allocations: 4.995 MB / 1.548 GB, free: 254.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/1.965, allocations: 0 / 1.548 GB, free: 254.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002881/1.968, allocations: 1.085 MB / 1.549 GB, free: 253 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006904/1.968, allocations: 64 kB / 1.55 GB, free: 252.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004919/1.973, allocations: 0.6143 MB / 1.55 GB, free: 252.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003826/1.974, allocations: 222.4 kB / 1.55 GB, free: 252.1 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01719/1.991, allocations: 5.967 MB / 1.556 GB, free: 246.1 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01839/2.009, allocations: 8.356 MB / 1.564 GB, free: 237.7 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005689/2.015, allocations: 2.493 MB / 1.567 GB, free: 235.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003442/2.018, allocations: 2.252 MB / 1.569 GB, free: 232.9 MB / 0.948 GB Notification: Performance of Backend: time 6.82e-07/2.018, allocations: 0 / 1.569 GB, free: 232.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02529/2.044, allocations: 10.02 MB / 1.579 GB, free: 223.3 MB / 0.948 GB Notification: Performance of SimCode: time 0.01936/2.063, allocations: 11.73 MB / 1.59 GB, free: 211.5 MB / 0.948 GB Notification: Performance of Templates: time 0.1742/2.237, allocations: 134 MB / 1.721 GB, free: 77.89 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe 2>&1)