Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.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.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.603/1.603, allocations: 287.4 MB / 303.2 MB, free: 8.297 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.001028/0.001028, allocations: 170.7 kB / 371.8 MB, free: 10.81 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.353/1.353, allocations: 205.4 MB / 0.6305 GB, free: 10.5 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.0007323/0.0007322, allocations: 89.23 kB / 0.7438 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005538/0.0005539, allocations: 11 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2003, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System2): time 0.6919/0.8923, allocations: 327.2 MB / 1.299 GB, free: 4.391 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.05397/0.9463, allocations: 38.7 MB / 1.337 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007335/0.9537, allocations: 143.1 kB / 1.337 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.007736/0.9615, allocations: 1.84 MB / 1.339 GB, free: 11.62 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.02057/0.9821, allocations: 6.319 MB / 1.345 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01574/0.9978, allocations: 4.613 MB / 1.349 GB, free: 0.6992 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01788/1.016, allocations: 13.69 MB / 1.363 GB, free: 2.961 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009806/1.026, allocations: 4.192 MB / 1.367 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01151/1.037, allocations: 4.699 MB / 1.371 GB, free: 9.973 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006576/1.044, allocations: 3.536 MB / 1.375 GB, free: 6.422 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.001874/1.046, allocations: 204 kB / 1.375 GB, free: 6.223 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01384/1.06, allocations: 5.017 MB / 1.38 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.002624/1.062, allocations: 1.362 MB / 1.381 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.002501/1.065, allocations: 1.151 MB / 1.382 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.01257/1.077, allocations: 8.288 MB / 1.39 GB, free: 6.363 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.077, allocations: 0 / 1.39 GB, free: 6.363 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.174e-06/1.077, allocations: 0 / 1.39 GB, free: 6.363 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003273/1.078, allocations: 4 kB / 1.39 GB, free: 6.359 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: 1020 * Number of variables: 1020 Notification: Performance of Generate backend data structure: time 0.01396/1.092, allocations: 5.724 MB / 1.396 GB, free: 0.5469 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/1.092, allocations: 8.031 kB / 1.396 GB, free: 0.5391 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02205/1.114, allocations: 3.384 MB / 1.399 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/1.124, allocations: 4.114 MB / 1.403 GB, free: 8.969 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00133/1.126, allocations: 0.5004 MB / 1.404 GB, free: 8.469 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001672/1.127, allocations: 423.9 kB / 1.404 GB, free: 8.055 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01601/1.143, allocations: 5.695 MB / 1.41 GB, free: 2.27 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.584e-05/1.144, allocations: 3.938 kB / 1.41 GB, free: 2.266 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005442/1.144, allocations: 176 kB / 1.41 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001539/1.144, allocations: 159.8 kB / 1.41 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01841/1.163, allocations: 6.424 MB / 1.416 GB, free: 11.5 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.4431/1.606, allocations: 22.02 MB / 1.438 GB, free: 335.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/1.617, allocations: 4.439 MB / 1.442 GB, free: 333.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006996/1.624, allocations: 2.481 MB / 1.445 GB, free: 332.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0158/1.64, allocations: 8.097 MB / 1.452 GB, free: 327.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007165/1.647, allocations: 2.715 MB / 1.455 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002029/1.65, allocations: 289.5 kB / 1.455 GB, free: 327 MB / 0.948 GB Notification: Performance of pre-optimization done (n=307): time 5.721e-06/1.65, allocations: 0 / 1.455 GB, free: 327 MB / 0.948 GB Notification: Performance of matching and sorting (n=307): time 0.02396/1.673, allocations: 7.574 MB / 1.463 GB, free: 324.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.538e-05/1.674, allocations: 318.8 kB / 1.463 GB, free: 324.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006107/1.68, allocations: 3.586 MB / 1.467 GB, free: 322.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009248/1.681, allocations: 98.38 kB / 1.467 GB, free: 322.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001695/1.682, allocations: 2.045 MB / 1.469 GB, free: 321.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001286/1.684, allocations: 1.041 MB / 1.47 GB, free: 320.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/1.684, allocations: 71.17 kB / 1.47 GB, free: 320.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001589/1.684, allocations: 441.1 kB / 1.47 GB, free: 320 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006457/1.691, allocations: 2.257 MB / 1.472 GB, free: 319.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007355/1.698, allocations: 3.019 MB / 1.475 GB, free: 317.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.0155/1.714, allocations: 5.473 MB / 1.481 GB, free: 314.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-05/1.714, allocations: 3.969 kB / 1.481 GB, free: 314.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=452) (initialization): time 0.01769/1.731, allocations: 6.107 MB / 1.487 GB, free: 311.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002643/1.732, allocations: 0.4974 MB / 1.487 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-05/1.732, allocations: 11.81 kB / 1.487 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/1.733, allocations: 355.7 kB / 1.488 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007146/1.74, allocations: 1.256 MB / 1.489 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004757/1.745, allocations: 6.593 MB / 1.495 GB, free: 303.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007982/1.753, allocations: 0.7106 MB / 1.496 GB, free: 303.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/1.754, allocations: 176.8 kB / 1.496 GB, free: 303.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/1.754, allocations: 11.59 kB / 1.496 GB, free: 303.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01769/1.772, allocations: 5.636 MB / 1.502 GB, free: 300.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.393e-05/1.772, allocations: 19.72 kB / 1.502 GB, free: 300.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/1.774, allocations: 336.7 kB / 1.502 GB, free: 300.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0067/1.78, allocations: 1.238 MB / 1.503 GB, free: 300.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005191/1.786, allocations: 6.924 MB / 1.51 GB, free: 293.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007272/1.793, allocations: 0.6684 MB / 1.511 GB, free: 292.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/1.794, allocations: 168.8 kB / 1.511 GB, free: 292.9 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: 60 * Number of states: 0 () * Number of discrete variables: 12 (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,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 (436): * Single equations (assignments): 424 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 3,1 2,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003822/1.798, allocations: 1.104 MB / 1.512 GB, free: 292.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001907/1.8, allocations: 444.9 kB / 1.512 GB, free: 291.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01736/1.817, allocations: 5.766 MB / 1.518 GB, free: 286 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01315/1.83, allocations: 4.631 MB / 1.522 GB, free: 281.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/1.83, allocations: 0 / 1.522 GB, free: 281.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003124/1.834, allocations: 1.077 MB / 1.523 GB, free: 280.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00124/1.835, allocations: 56 kB / 1.523 GB, free: 280.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005733/1.841, allocations: 0.5956 MB / 1.524 GB, free: 279.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004054/1.841, allocations: 206.3 kB / 1.524 GB, free: 279.3 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01691/1.858, allocations: 5.498 MB / 1.53 GB, free: 273.8 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02061/1.879, allocations: 7.887 MB / 1.537 GB, free: 265.9 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00568/1.884, allocations: 2.308 MB / 1.54 GB, free: 263.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004761/1.889, allocations: 2.407 MB / 1.542 GB, free: 261.2 MB / 0.948 GB Notification: Performance of Backend: time 6.71e-07/1.889, allocations: 0 / 1.542 GB, free: 261.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02864/1.918, allocations: 9.174 MB / 1.551 GB, free: 252.5 MB / 0.948 GB Notification: Performance of SimCode: time 0.02483/1.943, allocations: 11.61 MB / 1.562 GB, free: 240.8 MB / 0.948 GB Notification: Performance of Templates: time 0.1747/2.117, allocations: 130.1 MB / 1.689 GB, free: 111.3 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe 2>&1)