Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.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.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 114.5 kB / 16.38 MB, free: 6.004 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.001255/0.001255, allocations: 187.3 kB / 17.31 MB, free: 5.621 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.318/1.318, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.74/1.74, allocations: 292.3 MB / 0.5496 GB, free: 17.64 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.001438/0.001438, allocations: 71.09 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2046, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.3823/0.5869, allocations: 36.74 MB / 0.8207 GB, free: 26.34 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1705/0.7575, allocations: 160 MB / 0.9769 GB, free: 5.324 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002508/0.76, allocations: 55.69 kB / 0.977 GB, free: 5.27 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.762, allocations: 0.6745 MB / 0.9776 GB, free: 4.59 MB / 0.7637 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.005098/0.7671, allocations: 1.771 MB / 0.9793 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005118/0.7722, allocations: 2.098 MB / 0.9814 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01238/0.7846, allocations: 12.67 MB / 0.9938 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007601/0.7922, allocations: 6.503 MB / 1 GB, free: 13.54 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007946/0.8002, allocations: 4.456 MB / 1.004 GB, free: 9.098 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005752/0.806, allocations: 3.832 MB / 1.008 GB, free: 5.25 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001149/0.8071, allocations: 0.6445 MB / 1.009 GB, free: 4.605 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004263/0.8114, allocations: 1.865 MB / 1.011 GB, free: 2.738 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001632/0.813, allocations: 1.57 MB / 1.012 GB, free: 1.164 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004699/0.8177, allocations: 3.111 MB / 1.015 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.009663/0.8274, allocations: 9.075 MB / 1.024 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8275, allocations: 0 / 1.024 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.664e-06/0.8275, allocations: 0 / 1.024 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001551/0.8276, allocations: 0 / 1.024 GB, free: 4.938 MB / 0.8106 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.01335/0.841, allocations: 6.051 MB / 1.03 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.841, allocations: 12.03 kB / 1.03 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008223/0.8493, allocations: 1.375 MB / 1.031 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009099/0.8584, allocations: 4.795 MB / 1.036 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/0.8586, allocations: 299.9 kB / 1.036 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007961/0.8594, allocations: 395.9 kB / 1.037 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/0.8708, allocations: 5.811 MB / 1.042 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.177e-05/0.8709, allocations: 11.92 kB / 1.042 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004639/0.8714, allocations: 176 kB / 1.043 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001498/0.8715, allocations: 179.7 kB / 1.043 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/0.8838, allocations: 5.537 MB / 1.048 GB, free: 11.97 MB / 0.8419 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.0314/0.9152, allocations: 20.59 MB / 1.068 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00756/0.9228, allocations: 3.598 MB / 1.072 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003854/0.9267, allocations: 1.911 MB / 1.074 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002293/0.929, allocations: 1.9 MB / 1.075 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004444/0.9334, allocations: 2.089 MB / 1.078 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=267): time 6.452e-06/0.9335, allocations: 3.984 kB / 1.078 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of matching and sorting (n=267): time 0.01316/0.9466, allocations: 5.146 MB / 1.083 GB, free: 7.43 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.9468, allocations: 235.7 kB / 1.083 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005594/0.9524, allocations: 3.742 MB / 1.086 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0005918/0.953, allocations: 77.7 kB / 1.087 GB, free: 3.34 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001749/0.9547, allocations: 2.03 MB / 1.088 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.001066/0.9558, allocations: 0.9127 MB / 1.089 GB, free: 372 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000956/0.9568, allocations: 0.6197 MB / 1.09 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 7.937e-05/0.9569, allocations: 305.1 kB / 1.09 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003586/0.9605, allocations: 1.604 MB / 1.092 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004136/0.9646, allocations: 2.258 MB / 1.094 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007691/0.9723, allocations: 3.945 MB / 1.098 GB, free: 7.094 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.9723, allocations: 4 kB / 1.098 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.01026/0.9826, allocations: 4.479 MB / 1.102 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.9827, allocations: 12 kB / 1.102 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/0.9827, allocations: 16 kB / 1.102 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006324/0.9833, allocations: 109.3 kB / 1.102 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003816/0.9872, allocations: 0.7809 MB / 1.103 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/0.9896, allocations: 2.273 MB / 1.105 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00419/0.9938, allocations: 440.5 kB / 1.106 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004245/0.9943, allocations: 151.9 kB / 1.106 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005913/1, allocations: 2.899 MB / 1.109 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004278/1.004, allocations: 2.258 MB / 1.111 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007595/1.012, allocations: 3.937 MB / 1.115 GB, free: 5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.806e-05/1.012, allocations: 9.484 kB / 1.115 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of matching and sorting (n=381) (initialization_lambda0): time 0.01073/1.023, allocations: 4.467 MB / 1.119 GB, free: 488 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/1.023, allocations: 12 kB / 1.119 GB, free: 476 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-05/1.023, allocations: 16 kB / 1.119 GB, free: 460 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005971/1.024, allocations: 113 kB / 1.119 GB, free: 344 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004125/1.028, allocations: 0.7644 MB / 1.12 GB, free: 15.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/1.03, allocations: 1.685 MB / 1.122 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004606/1.035, allocations: 373.6 kB / 1.122 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005732/1.035, allocations: 151.9 kB / 1.122 GB, free: 13.23 MB / 0.92 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.001091/1.036, allocations: 368.1 kB / 1.123 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/1.038, allocations: 395.2 kB / 1.123 GB, free: 12.47 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/1.048, allocations: 4.325 MB / 1.127 GB, free: 8.102 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007929/1.056, allocations: 3.519 MB / 1.131 GB, free: 4.492 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.056, allocations: 4 kB / 1.131 GB, free: 4.488 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002316/1.058, allocations: 0.9954 MB / 1.132 GB, free: 3.469 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007801/1.059, allocations: 63.84 kB / 1.132 GB, free: 3.406 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00315/1.062, allocations: 231.7 kB / 1.132 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000343/1.063, allocations: 174 kB / 1.132 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3437/1.406, allocations: 4.078 MB / 1.136 GB, free: 297.1 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01265/1.419, allocations: 6.319 MB / 1.142 GB, free: 296.7 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003462/1.422, allocations: 1.817 MB / 1.144 GB, free: 296 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.004371/1.427, allocations: 2.637 MB / 1.147 GB, free: 295.1 MB / 0.92 GB Notification: Performance of Backend: time 1.212e-06/1.427, allocations: 0.5312 kB / 1.147 GB, free: 295.1 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01497/1.442, allocations: 5.73 MB / 1.152 GB, free: 293.5 MB / 0.92 GB Notification: Performance of SimCode: time 0.01918/1.461, allocations: 10.35 MB / 1.162 GB, free: 289.1 MB / 0.92 GB Notification: Performance of Templates: time 0.1374/1.599, allocations: 104.4 MB / 1.264 GB, free: 214.9 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)