Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.105/2.105, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001306/0.001306, allocations: 173.5 kB / 326.3 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.283/2.283, allocations: 205.4 MB / 0.5772 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009169/0.0009169, allocations: 91.59 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004674, allocations: 9 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1895, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.03982/0.2294, allocations: 33.66 MB / 0.9324 GB, free: 31.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.8519/1.081, allocations: 145.6 MB / 1.075 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002949/1.084, allocations: 56.53 kB / 1.075 GB, free: 3.512 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002685/1.087, allocations: 488.2 kB / 1.075 GB, free: 3.508 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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.006724/1.094, allocations: 1.433 MB / 1.076 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007151/1.101, allocations: 1.536 MB / 1.078 GB, free: 3.383 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.02273/1.124, allocations: 13.45 MB / 1.091 GB, free: 3.352 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01027/1.134, allocations: 4.971 MB / 1.096 GB, free: 18.68 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008649/1.143, allocations: 3.149 MB / 1.099 GB, free: 18.67 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007446/1.15, allocations: 3.106 MB / 1.102 GB, free: 18.31 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001454/1.152, allocations: 176.4 kB / 1.102 GB, free: 18.31 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006135/1.158, allocations: 1.139 MB / 1.103 GB, free: 18.22 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002371/1.16, allocations: 0.9282 MB / 1.104 GB, free: 18.03 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002693/1.163, allocations: 1.042 MB / 1.105 GB, free: 17.82 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01081/1.174, allocations: 6.875 MB / 1.112 GB, free: 16.37 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.174, allocations: 0 / 1.112 GB, free: 16.37 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.026e-06/1.174, allocations: 0 / 1.112 GB, free: 16.37 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002928/1.174, allocations: 0 / 1.112 GB, free: 16.37 MB / 0.7136 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.01903/1.193, allocations: 4.947 MB / 1.117 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/1.193, allocations: 9.062 kB / 1.117 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01556/1.209, allocations: 1.426 MB / 1.118 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01674/1.226, allocations: 5.114 MB / 1.123 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003361/1.226, allocations: 300.4 kB / 1.123 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001621/1.228, allocations: 395.7 kB / 1.124 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01999/1.248, allocations: 5.767 MB / 1.129 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001645/1.248, allocations: 13.56 kB / 1.129 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009214/1.249, allocations: 164 kB / 1.13 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002328/1.249, allocations: 186.4 kB / 1.13 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02198/1.271, allocations: 5.573 MB / 1.135 GB, free: 7.914 MB / 0.7136 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.05176/1.323, allocations: 20.17 MB / 1.155 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01372/1.337, allocations: 3.604 MB / 1.158 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007426/1.344, allocations: 1.92 MB / 1.16 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004063/1.348, allocations: 1.944 MB / 1.162 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00837/1.357, allocations: 2.056 MB / 1.164 GB, free: 5.883 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=267): time 8.006e-06/1.357, allocations: 4 kB / 1.164 GB, free: 5.879 MB / 0.7292 GB Notification: Performance of matching and sorting (n=267): time 0.02452/1.381, allocations: 5.164 MB / 1.169 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001778/1.382, allocations: 241.6 kB / 1.17 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009022/1.391, allocations: 3.415 MB / 1.173 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0008478/1.391, allocations: 76.95 kB / 1.173 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002956/1.394, allocations: 2.034 MB / 1.175 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001831/1.396, allocations: 0.9067 MB / 1.176 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004089/1.397, allocations: 61.44 kB / 1.176 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003424/1.397, allocations: 425 kB / 1.176 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006894/1.404, allocations: 1.579 MB / 1.178 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007977/1.412, allocations: 2.254 MB / 1.18 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00788/1.42, allocations: 1.912 MB / 1.182 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.837e-05/1.42, allocations: 8 kB / 1.182 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.01934/1.439, allocations: 4.45 MB / 1.186 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005606/1.44, allocations: 0.6053 MB / 1.187 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.151e-05/1.44, allocations: 20 kB / 1.187 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/1.441, allocations: 111.6 kB / 1.187 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007979/1.449, allocations: 0.786 MB / 1.188 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003641/1.453, allocations: 2.167 MB / 1.19 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007595/1.46, allocations: 477.7 kB / 1.19 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/1.462, allocations: 148.7 kB / 1.19 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/1.462, allocations: 7.984 kB / 1.19 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01787/1.479, allocations: 4.106 MB / 1.194 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.65e-05/1.48, allocations: 16 kB / 1.194 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/1.481, allocations: 117.5 kB / 1.195 GB, free: 14 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007626/1.488, allocations: 0.7651 MB / 1.195 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003087/1.491, allocations: 1.574 MB / 1.197 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007222/1.499, allocations: 446.4 kB / 1.197 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009518/1.5, allocations: 152.7 kB / 1.197 GB, free: 11.16 MB / 0.7605 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.004867/1.505, allocations: 1.532 MB / 1.199 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001618/1.506, allocations: 383.3 kB / 1.199 GB, free: 9.766 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01988/1.526, allocations: 4.416 MB / 1.204 GB, free: 6.648 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01601/1.542, allocations: 3.542 MB / 1.207 GB, free: 4.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/1.542, allocations: 0 / 1.207 GB, free: 4.07 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004107/1.546, allocations: 0.9758 MB / 1.208 GB, free: 3.324 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001875/1.548, allocations: 50.75 kB / 1.208 GB, free: 3.312 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007338/1.556, allocations: 322.2 kB / 1.208 GB, free: 3.043 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008867/1.557, allocations: 176.1 kB / 1.209 GB, free: 2.887 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0214/1.578, allocations: 4.136 MB / 1.213 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02501/1.603, allocations: 6.346 MB / 1.219 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006824/1.61, allocations: 1.815 MB / 1.221 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.006784/1.617, allocations: 2.392 MB / 1.223 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of Backend: time 1.323e-06/1.617, allocations: 0 / 1.223 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02619/1.643, allocations: 5.689 MB / 1.228 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of SimCode: time 0.03743/1.68, allocations: 11.95 MB / 1.24 GB, free: 9.457 MB / 0.7917 GB Notification: Performance of Templates: time 0.2946/1.975, allocations: 95.35 MB / 1.333 GB, free: 10.55 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)