Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.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.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 111.5 kB / 16.37 MB, free: 6.309 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.001011/0.001011, allocations: 189.8 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.266/1.266, 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.753/1.753, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001451/0.001451, allocations: 75.89 kB / 0.6729 GB, free: 5.773 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2071, allocations: 114.6 MB / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.4148/0.6219, allocations: 104.2 MB / 0.8866 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.2024/0.8244, allocations: 184.1 MB / 1.066 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006665/0.8311, allocations: 155.1 kB / 1.066 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.006856/0.838, allocations: 2.154 MB / 1.069 GB, free: 7.027 MB / 0.8575 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.01398/0.852, allocations: 4.913 MB / 1.073 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.01335/0.8654, allocations: 5.766 MB / 1.079 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0285/0.8939, allocations: 28.04 MB / 1.106 GB, free: 288 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01764/0.9115, allocations: 14.01 MB / 1.12 GB, free: 2.195 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01821/0.9298, allocations: 9.965 MB / 1.13 GB, free: 8.266 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.755/1.685, allocations: 8.416 MB / 1.138 GB, free: 30.68 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.003774/1.689, allocations: 1.406 MB / 1.139 GB, free: 30.68 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01067/1.699, allocations: 4.431 MB / 1.144 GB, free: 30.68 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.004781/1.704, allocations: 3.378 MB / 1.147 GB, free: 30.68 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01375/1.718, allocations: 6.729 MB / 1.154 GB, free: 30.68 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02719/1.745, allocations: 20.12 MB / 1.173 GB, free: 29.43 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.745, allocations: 0.5 kB / 1.173 GB, free: 29.43 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.934e-06/1.745, allocations: 1.812 kB / 1.173 GB, free: 29.43 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0005707/1.746, allocations: 0 / 1.173 GB, free: 29.43 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: 2102 * Number of variables: 2102 Notification: Performance of Generate backend data structure: time 0.03857/1.784, allocations: 12.59 MB / 1.186 GB, free: 24.95 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/1.784, allocations: 9.219 kB / 1.186 GB, free: 24.95 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01357/1.798, allocations: 2.183 MB / 1.188 GB, free: 24.36 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0202/1.818, allocations: 9.901 MB / 1.197 GB, free: 22.93 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005173/1.819, allocations: 0.6154 MB / 1.198 GB, free: 22.91 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003318/1.822, allocations: 0.822 MB / 1.199 GB, free: 22.91 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02965/1.852, allocations: 11.98 MB / 1.21 GB, free: 21.79 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003152/1.852, allocations: 30.52 kB / 1.211 GB, free: 21.79 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002449/1.855, allocations: 341 kB / 1.211 GB, free: 21.79 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002909/1.855, allocations: 344.5 kB / 1.211 GB, free: 21.77 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02421/1.879, allocations: 10.98 MB / 1.222 GB, free: 21.71 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.07288/1.952, allocations: 47.37 MB / 1.268 GB, free: 12.55 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01493/1.967, allocations: 7.83 MB / 1.276 GB, free: 8.398 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007567/1.975, allocations: 4.125 MB / 1.28 GB, free: 6.254 MB / 0.9357 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 evalFunc (simulation): time 0.03622/2.011, allocations: 18.5 MB / 1.298 GB, free: 5.621 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007502/2.018, allocations: 3.682 MB / 1.301 GB, free: 1.93 MB / 0.9513 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004184/2.022, allocations: 481.5 kB / 1.302 GB, free: 1.457 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=507): time 1.487e-05/2.023, allocations: 0 / 1.302 GB, free: 1.457 MB / 0.9513 GB Notification: Performance of matching and sorting (n=507): time 0.02346/2.046, allocations: 9.403 MB / 1.311 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/2.046, allocations: 313 kB / 1.311 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01476/2.061, allocations: 7.779 MB / 1.319 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.001365/2.062, allocations: 137.6 kB / 1.319 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.005069/2.067, allocations: 4.398 MB / 1.323 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.002665/2.07, allocations: 1.754 MB / 1.325 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003787/2.074, allocations: 1.31 MB / 1.326 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.568e-05/2.074, allocations: 304.8 kB / 1.327 GB, free: 8 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007182/2.081, allocations: 3.469 MB / 1.33 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008539/2.09, allocations: 5.134 MB / 1.335 GB, free: 14.72 MB / 0.9982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01633/2.106, allocations: 8.648 MB / 1.344 GB, free: 5.559 MB / 0.9982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-05/2.106, allocations: 12 kB / 1.344 GB, free: 5.547 MB / 0.9982 GB Notification: Performance of matching and sorting (n=834) (initialization): time 0.02248/2.129, allocations: 9.633 MB / 1.353 GB, free: 12.11 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.194e-05/2.129, allocations: 24.78 kB / 1.353 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.817e-05/2.129, allocations: 49.5 kB / 1.353 GB, free: 12.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.594e-05/2.129, allocations: 76 kB / 1.353 GB, free: 11.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007843/2.137, allocations: 1.634 MB / 1.355 GB, free: 10.42 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001559/2.137, allocations: 116.6 kB / 1.355 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008436/2.145, allocations: 467.8 kB / 1.355 GB, free: 9.867 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001207/2.147, allocations: 315.9 kB / 1.356 GB, free: 9.559 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01328/2.16, allocations: 6.294 MB / 1.362 GB, free: 3.254 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008558/2.168, allocations: 5.103 MB / 1.367 GB, free: 13.49 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01582/2.184, allocations: 8.597 MB / 1.375 GB, free: 4.383 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.921e-05/2.184, allocations: 12 kB / 1.375 GB, free: 4.371 MB / 1.029 GB Notification: Performance of matching and sorting (n=834) (initialization_lambda0): time 0.02495/2.209, allocations: 9.578 MB / 1.384 GB, free: 10.99 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/2.209, allocations: 24.78 kB / 1.385 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.611e-05/2.21, allocations: 48 kB / 1.385 GB, free: 10.92 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.307e-05/2.21, allocations: 80.78 kB / 1.385 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008147/2.218, allocations: 1.623 MB / 1.386 GB, free: 9.312 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001437/2.218, allocations: 107.1 kB / 1.386 GB, free: 9.227 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009281/2.227, allocations: 487 kB / 1.387 GB, free: 8.754 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001543/2.229, allocations: 311.9 kB / 1.387 GB, free: 8.449 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (831): * Single equations (assignments): 828 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002611/2.231, allocations: 0.5705 MB / 1.388 GB, free: 7.969 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003569/2.235, allocations: 0.764 MB / 1.388 GB, free: 7.195 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01941/2.254, allocations: 7.88 MB / 1.396 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01358/2.268, allocations: 6.318 MB / 1.402 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.976e-05/2.268, allocations: 3.938 kB / 1.402 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005825/2.274, allocations: 1.776 MB / 1.404 GB, free: 7.016 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003095/2.277, allocations: 111.9 kB / 1.404 GB, free: 6.906 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007606/2.285, allocations: 384.3 kB / 1.404 GB, free: 6.535 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008489/2.286, allocations: 303.8 kB / 1.405 GB, free: 6.234 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01902/2.305, allocations: 7.481 MB / 1.412 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02477/2.329, allocations: 11.95 MB / 1.424 GB, free: 2.641 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006678/2.336, allocations: 3.452 MB / 1.427 GB, free: 15.16 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.012/2.348, allocations: 5.378 MB / 1.432 GB, free: 9.797 MB / 1.092 GB Notification: Performance of Backend: time 8.42e-07/2.348, allocations: 0 / 1.432 GB, free: 9.797 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0337/2.382, allocations: 11.23 MB / 1.443 GB, free: 15.26 MB / 1.108 GB Notification: Performance of SimCode: time 0.05034/2.432, allocations: 21.4 MB / 1.464 GB, free: 10.09 MB / 1.123 GB Notification: Performance of Templates: time 0.6262/3.058, allocations: 202 MB / 1.662 GB, free: 0.4965 GB / 1.201 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)