Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.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.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.556/1.556, allocations: 287.4 MB / 303.2 MB, free: 8.27 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.000947/0.000947, allocations: 183.1 kB / 371.8 MB, free: 10.83 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.294/1.294, 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.0006756/0.0006756, allocations: 105.7 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003316, allocations: 11.5 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1527, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate): time 0.02002/0.1727, allocations: 28.03 MB / 1.007 GB, free: 92 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4764/0.6492, allocations: 144.9 MB / 1.148 GB, free: 12.36 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.651, allocations: 47.78 kB / 1.148 GB, free: 12.34 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.6524, allocations: 484.6 kB / 1.149 GB, free: 12.08 MB / 0.698 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.003645/0.656, allocations: 1.332 MB / 1.15 GB, free: 11.31 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003728/0.6598, allocations: 1.36 MB / 1.151 GB, free: 10.65 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.03078/0.6906, allocations: 36.97 MB / 1.187 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0204/0.711, allocations: 13.21 MB / 1.2 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01456/0.7256, allocations: 7.98 MB / 1.208 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01352/0.7392, allocations: 8.128 MB / 1.216 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.002931/0.7421, allocations: 448 kB / 1.216 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008003/0.7501, allocations: 1.33 MB / 1.218 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.005005/0.7552, allocations: 2.311 MB / 1.22 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.005535/0.7607, allocations: 2.519 MB / 1.222 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01776/0.7785, allocations: 16.7 MB / 1.239 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.7786, allocations: 4 kB / 1.239 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7786, allocations: 0 / 1.239 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0005697/0.7791, allocations: 0 / 1.239 GB, free: 1.984 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2396 * Number of variables: 2396 Notification: Performance of Generate backend data structure: time 0.02529/0.8044, allocations: 11.22 MB / 1.25 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.8045, allocations: 8.031 kB / 1.25 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.8168, allocations: 2.226 MB / 1.252 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02845/0.8453, allocations: 14.24 MB / 1.266 GB, free: 6.07 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006426/0.846, allocations: 0.6622 MB / 1.266 GB, free: 5.406 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00266/0.8487, allocations: 0.8943 MB / 1.267 GB, free: 4.512 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.032/0.8807, allocations: 14.21 MB / 1.281 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003221/0.881, allocations: 35.72 kB / 1.281 GB, free: 5.812 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001865/0.8829, allocations: 396 kB / 1.282 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004005/0.8833, allocations: 469.3 kB / 1.282 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02832/0.9117, allocations: 12.73 MB / 1.295 GB, free: 8.211 MB / 0.823 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.07156/0.9833, allocations: 50.99 MB / 1.344 GB, free: 3.082 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01385/0.9971, allocations: 8.162 MB / 1.352 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007553/1.005, allocations: 4.475 MB / 1.357 GB, free: 6.453 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001922/1.007, allocations: 1.56 MB / 1.358 GB, free: 4.594 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008398/1.015, allocations: 4.322 MB / 1.362 GB, free: 208 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=553): time 8.275e-06/1.015, allocations: 0 / 1.362 GB, free: 208 kB / 0.8855 GB Notification: Performance of matching and sorting (n=553): time 0.02164/1.037, allocations: 10.84 MB / 1.373 GB, free: 5.262 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/1.037, allocations: 291.7 kB / 1.373 GB, free: 4.918 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01251/1.049, allocations: 8.431 MB / 1.381 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001231/1.051, allocations: 145.7 kB / 1.382 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004791/1.056, allocations: 4.986 MB / 1.387 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002361/1.058, allocations: 1.926 MB / 1.388 GB, free: 5.387 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004078/1.058, allocations: 140 kB / 1.389 GB, free: 5.25 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003663/1.059, allocations: 0.5793 MB / 1.389 GB, free: 4.664 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007139/1.066, allocations: 3.62 MB / 1.393 GB, free: 1.039 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008483/1.074, allocations: 5.491 MB / 1.398 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01675/1.091, allocations: 9.582 MB / 1.407 GB, free: 396 kB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.404e-05/1.091, allocations: 16 kB / 1.407 GB, free: 380 kB / 0.9323 GB Notification: Performance of matching and sorting (n=875) (initialization): time 0.02051/1.112, allocations: 10.24 MB / 1.417 GB, free: 6.051 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001149/1.113, allocations: 1.722 MB / 1.419 GB, free: 3.562 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.28e-05/1.113, allocations: 56 kB / 1.419 GB, free: 3.508 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.862e-05/1.113, allocations: 88 kB / 1.419 GB, free: 3.422 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007828/1.121, allocations: 1.724 MB / 1.421 GB, free: 1.695 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000161/1.121, allocations: 123.6 kB / 1.421 GB, free: 1.574 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008821/1.13, allocations: 1.023 MB / 1.422 GB, free: 0.543 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/1.131, allocations: 339.8 kB / 1.422 GB, free: 216 kB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/1.131, allocations: 6.344 kB / 1.422 GB, free: 212 kB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01974/1.151, allocations: 9.48 MB / 1.432 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/1.151, allocations: 52 kB / 1.432 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.66e-05/1.151, allocations: 88 kB / 1.432 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008192/1.159, allocations: 1.728 MB / 1.433 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001522/1.159, allocations: 127.5 kB / 1.434 GB, free: 4.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008095/1.168, allocations: 0.9311 MB / 1.434 GB, free: 3.727 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000968/1.169, allocations: 339.8 kB / 1.435 GB, free: 3.395 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 244 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled,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 (875): * Single equations (assignments): 875 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.6463/1.815, allocations: 3.999 MB / 1.439 GB, free: 335 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002301/1.817, allocations: 0.8794 MB / 1.439 GB, free: 335 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01896/1.836, allocations: 8.835 MB / 1.448 GB, free: 333.1 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01373/1.85, allocations: 6.976 MB / 1.455 GB, free: 330.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/1.85, allocations: 1.562 kB / 1.455 GB, free: 330.6 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005146/1.855, allocations: 2.08 MB / 1.457 GB, free: 330 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001934/1.857, allocations: 118.5 kB / 1.457 GB, free: 329.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00759/1.865, allocations: 0.6487 MB / 1.458 GB, free: 329.8 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007633/1.865, allocations: 321.9 kB / 1.458 GB, free: 329.8 MB / 0.9637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0199/1.885, allocations: 8.685 MB / 1.467 GB, free: 327 MB / 0.9637 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02383/1.909, allocations: 13.64 MB / 1.48 GB, free: 322 MB / 0.9637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006986/1.916, allocations: 3.889 MB / 1.484 GB, free: 320.6 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.009276/1.926, allocations: 5.889 MB / 1.489 GB, free: 318.6 MB / 0.9637 GB Notification: Performance of Backend: time 7.12e-07/1.926, allocations: 1.75 kB / 1.489 GB, free: 318.6 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.02541/1.951, allocations: 11.54 MB / 1.501 GB, free: 314.1 MB / 0.9637 GB Notification: Performance of SimCode: time 0.04822/1.999, allocations: 29.14 MB / 1.529 GB, free: 287.9 MB / 0.9637 GB Notification: Performance of Templates: time 0.2703/2.27, allocations: 219.6 MB / 1.744 GB, free: 68.93 MB / 0.9637 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)