Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.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.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.677/1.677, allocations: 288.4 MB / 304.3 MB, free: 8.031 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.0008871/0.0008871, allocations: 188.5 kB / 372.9 MB, free: 10.13 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.386/1.386, allocations: 205.4 MB / 0.6316 GB, free: 9.895 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.0007898/0.00079, allocations: 98.23 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003559, allocations: 15.75 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1776, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.02764/0.2052, allocations: 33.66 MB / 1.014 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.549/0.7543, allocations: 145.6 MB / 1.156 GB, free: 7.492 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/0.7565, allocations: 53.5 kB / 1.156 GB, free: 7.469 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.758, allocations: 0.4886 MB / 1.156 GB, free: 7.191 MB / 0.698 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.004374/0.7624, allocations: 1.486 MB / 1.158 GB, free: 6.348 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004375/0.7667, allocations: 1.572 MB / 1.159 GB, free: 5.477 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0149/0.7817, allocations: 13.48 MB / 1.172 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00635/0.788, allocations: 5.195 MB / 1.178 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005853/0.7939, allocations: 3.174 MB / 1.181 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005402/0.7994, allocations: 3.115 MB / 1.184 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0008796/0.8003, allocations: 178.7 kB / 1.184 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003948/0.8042, allocations: 1.281 MB / 1.185 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.8053, allocations: 0.9378 MB / 1.186 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.003521/0.8088, allocations: 2.38 MB / 1.188 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.006753/0.8156, allocations: 6.966 MB / 1.195 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.8156, allocations: 12 kB / 1.195 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8156, allocations: 0 / 1.195 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002161/0.8159, allocations: 0 / 1.195 GB, free: 15.07 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1037 * Number of variables: 1037 Notification: Performance of Generate backend data structure: time 0.01/0.8259, allocations: 4.905 MB / 1.2 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.8259, allocations: 8.031 kB / 1.2 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008231/0.8342, allocations: 1.423 MB / 1.201 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009906/0.8441, allocations: 5.254 MB / 1.206 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002579/0.8444, allocations: 295.9 kB / 1.207 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/0.8454, allocations: 403.9 kB / 1.207 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/0.8566, allocations: 5.812 MB / 1.213 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.208e-05/0.8567, allocations: 11.94 kB / 1.213 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004451/0.8571, allocations: 172 kB / 1.213 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001561/0.8573, allocations: 179.7 kB / 1.213 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01235/0.8697, allocations: 5.572 MB / 1.219 GB, free: 6.719 MB / 0.7448 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.03254/0.9022, allocations: 20.23 MB / 1.238 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007454/0.9097, allocations: 3.602 MB / 1.242 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003843/0.9136, allocations: 1.919 MB / 1.244 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002248/0.9159, allocations: 1.942 MB / 1.246 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004439/0.9203, allocations: 2.094 MB / 1.248 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=267): time 5.861e-06/0.9204, allocations: 0 / 1.248 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of matching and sorting (n=267): time 0.01243/0.9328, allocations: 5.165 MB / 1.253 GB, free: 2.492 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.933, allocations: 235.7 kB / 1.253 GB, free: 2.211 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004993/0.938, allocations: 3.418 MB / 1.256 GB, free: 14.81 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0005976/0.9386, allocations: 77.7 kB / 1.256 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001781/0.9404, allocations: 2.037 MB / 1.258 GB, free: 12.67 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.00115/0.9415, allocations: 0.9088 MB / 1.259 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.9418, allocations: 60 kB / 1.259 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.942, allocations: 424.2 kB / 1.26 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003616/0.9456, allocations: 1.583 MB / 1.261 GB, free: 9.68 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004122/0.9497, allocations: 2.246 MB / 1.263 GB, free: 7.184 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00806/0.9578, allocations: 3.946 MB / 1.267 GB, free: 2.969 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.09e-05/0.9579, allocations: 4 kB / 1.267 GB, free: 2.965 MB / 0.7917 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.01107/0.9689, allocations: 4.451 MB / 1.272 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004513/0.9694, allocations: 0.601 MB / 1.272 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.555e-05/0.9695, allocations: 16 kB / 1.272 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006438/0.9701, allocations: 112.8 kB / 1.272 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004184/0.9743, allocations: 0.7878 MB / 1.273 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.9768, allocations: 2.153 MB / 1.275 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004621/0.9814, allocations: 484.6 kB / 1.276 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007084/0.9821, allocations: 147.9 kB / 1.276 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.9822, allocations: 9.562 kB / 1.276 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01073/0.9929, allocations: 4.11 MB / 1.28 GB, free: 5.609 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.924e-05/0.993, allocations: 16 kB / 1.28 GB, free: 5.594 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005887/0.9936, allocations: 116.8 kB / 1.28 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003985/0.9976, allocations: 0.7722 MB / 1.281 GB, free: 4.703 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.9995, allocations: 1.571 MB / 1.282 GB, free: 2.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004325/1.004, allocations: 445.2 kB / 1.283 GB, free: 2.555 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006682/1.005, allocations: 151.9 kB / 1.283 GB, free: 2.406 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$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 (379): * Single equations (assignments): 377 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003581/1.008, allocations: 1.536 MB / 1.284 GB, free: 0.8594 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/1.009, allocations: 387.2 kB / 1.285 GB, free: 488 kB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/1.021, allocations: 4.401 MB / 1.289 GB, free: 12.02 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008122/1.029, allocations: 3.539 MB / 1.292 GB, free: 8.391 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/1.029, allocations: 4 kB / 1.292 GB, free: 8.387 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002686/1.032, allocations: 0.9834 MB / 1.293 GB, free: 7.379 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/1.033, allocations: 59.98 kB / 1.293 GB, free: 7.32 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003724/1.037, allocations: 315.3 kB / 1.294 GB, free: 7.012 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004489/1.037, allocations: 170 kB / 1.294 GB, free: 6.844 MB / 0.823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0112/1.049, allocations: 4.134 MB / 1.298 GB, free: 2.656 MB / 0.823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0129/1.061, allocations: 6.345 MB / 1.304 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00358/1.065, allocations: 1.817 MB / 1.306 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.004502/1.07, allocations: 2.386 MB / 1.308 GB, free: 8.031 MB / 0.8386 GB Notification: Performance of Backend: time 6.71e-07/1.07, allocations: 0 / 1.308 GB, free: 8.031 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01622/1.086, allocations: 5.708 MB / 1.314 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of SimCode: time 0.02329/1.109, allocations: 11.95 MB / 1.326 GB, free: 6.469 MB / 0.8542 GB Notification: Performance of Templates: time 0.1463/1.256, allocations: 96.88 MB / 1.42 GB, free: 5.91 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)