Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.344/1.344, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009033/0.0009033, allocations: 163.3 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0007554/0.0007554, allocations: 90.34 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002894, allocations: 16.41 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1549, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.02467/0.1796, allocations: 36.17 MB / 0.9321 GB, free: 31.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.4866/0.6663, allocations: 157.6 MB / 1.086 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/0.6684, allocations: 52.5 kB / 1.086 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.6701, allocations: 0.5396 MB / 1.087 GB, free: 14.28 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.004528/0.6746, allocations: 1.604 MB / 1.088 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004936/0.6796, allocations: 1.845 MB / 1.09 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0124/0.692, allocations: 15.62 MB / 1.105 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005765/0.6978, allocations: 5.107 MB / 1.11 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005084/0.7029, allocations: 3.221 MB / 1.113 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004334/0.7072, allocations: 3.288 MB / 1.117 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0006139/0.7079, allocations: 175.4 kB / 1.117 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003607/0.7115, allocations: 1.323 MB / 1.118 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001161/0.7127, allocations: 0.9941 MB / 1.119 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002824/0.7155, allocations: 2.452 MB / 1.121 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.007578/0.7231, allocations: 8.31 MB / 1.129 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7231, allocations: 2.188 kB / 1.129 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.953e-06/0.7231, allocations: 0 / 1.129 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001538/0.7233, allocations: 0 / 1.129 GB, free: 4.68 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.008484/0.7318, allocations: 4.891 MB / 1.134 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.7318, allocations: 7.719 kB / 1.134 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007716/0.7395, allocations: 1.429 MB / 1.136 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009225/0.7488, allocations: 5.229 MB / 1.141 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.749, allocations: 299.1 kB / 1.141 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007129/0.7497, allocations: 395.1 kB / 1.141 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009981/0.7597, allocations: 5.798 MB / 1.147 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.994e-05/0.7598, allocations: 10.75 kB / 1.147 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003971/0.7602, allocations: 170.3 kB / 1.147 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001671/0.7604, allocations: 182.1 kB / 1.147 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/0.7708, allocations: 5.602 MB / 1.153 GB, free: 10.89 MB / 0.7292 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.02576/0.7966, allocations: 20.18 MB / 1.173 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006749/0.8034, allocations: 3.618 MB / 1.176 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003426/0.8068, allocations: 1.934 MB / 1.178 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002195/0.809, allocations: 1.94 MB / 1.18 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00389/0.8129, allocations: 2.07 MB / 1.182 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=267): time 4.678e-06/0.813, allocations: 7.938 kB / 1.182 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of matching and sorting (n=267): time 0.01196/0.8249, allocations: 5.181 MB / 1.187 GB, free: 7.625 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.8251, allocations: 231.7 kB / 1.187 GB, free: 7.348 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004461/0.8295, allocations: 3.457 MB / 1.191 GB, free: 3.906 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002866/0.8298, allocations: 77.7 kB / 1.191 GB, free: 3.824 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001626/0.8315, allocations: 2.028 MB / 1.193 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007658/0.8322, allocations: 0.9085 MB / 1.194 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003293/0.8326, allocations: 243.9 kB / 1.194 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.539e-05/0.8327, allocations: 301.1 kB / 1.194 GB, free: 348 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003254/0.8359, allocations: 1.598 MB / 1.196 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003666/0.8396, allocations: 2.266 MB / 1.198 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007122/0.8467, allocations: 3.958 MB / 1.202 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/0.8468, allocations: 8 kB / 1.202 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.009343/0.8561, allocations: 4.474 MB / 1.206 GB, free: 3.461 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003649/0.8565, allocations: 0.6053 MB / 1.207 GB, free: 2.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.8565, allocations: 16 kB / 1.207 GB, free: 2.594 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005992/0.8571, allocations: 112.8 kB / 1.207 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003747/0.8609, allocations: 0.78 MB / 1.208 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.8631, allocations: 2.171 MB / 1.21 GB, free: 15.37 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003639/0.8668, allocations: 483.9 kB / 1.21 GB, free: 14.9 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00028/0.8671, allocations: 147.9 kB / 1.21 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/0.8671, allocations: 4 kB / 1.21 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008496/0.8756, allocations: 4.133 MB / 1.214 GB, free: 10.58 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.8756, allocations: 16 kB / 1.214 GB, free: 10.56 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005497/0.8762, allocations: 112.9 kB / 1.214 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003376/0.8796, allocations: 0.7684 MB / 1.215 GB, free: 9.68 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/0.8815, allocations: 1.582 MB / 1.217 GB, free: 7.961 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003873/0.8853, allocations: 445.1 kB / 1.217 GB, free: 7.523 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003945/0.8857, allocations: 151.9 kB / 1.217 GB, free: 7.375 MB / 0.7917 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 (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 (379): * Single equations (assignments): 377 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002851/0.8886, allocations: 1.535 MB / 1.219 GB, free: 5.828 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/0.8897, allocations: 383.5 kB / 1.219 GB, free: 5.449 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00979/0.8995, allocations: 4.416 MB / 1.224 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00718/0.9067, allocations: 3.555 MB / 1.227 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.9067, allocations: 3.938 kB / 1.227 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002016/0.9088, allocations: 0.9368 MB / 1.228 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005324/0.9093, allocations: 67.83 kB / 1.228 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002721/0.912, allocations: 313.6 kB / 1.228 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003186/0.9124, allocations: 170 kB / 1.228 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009645/0.922, allocations: 4.156 MB / 1.232 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01153/0.9336, allocations: 6.376 MB / 1.239 GB, free: 1.211 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003362/0.9369, allocations: 1.829 MB / 1.24 GB, free: 15.37 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003447/0.9404, allocations: 2.413 MB / 1.243 GB, free: 12.97 MB / 0.823 GB Notification: Performance of Backend: time 6.01e-07/0.9404, allocations: 0 / 1.243 GB, free: 12.97 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01287/0.9533, allocations: 5.726 MB / 1.248 GB, free: 7.422 MB / 0.823 GB Notification: Performance of SimCode: time 0.01953/0.9729, allocations: 12.14 MB / 1.26 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of Templates: time 0.1438/1.117, allocations: 97.58 MB / 1.356 GB, free: 10.03 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)