Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.734/1.734, allocations: 288.4 MB / 303.7 MB, free: 8.02 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.001039/0.001038, allocations: 175.1 kB / 372.3 MB, free: 10.12 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.387/1.387, allocations: 205.4 MB / 0.631 GB, free: 9.902 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.0007218/0.0007218, allocations: 90.3 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004046, allocations: 11.59 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2145, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.7035/0.9181, allocations: 159.7 MB / 1.136 GB, free: 148 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01611/0.9342, allocations: 11.53 MB / 1.147 GB, free: 12.26 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.9359, allocations: 29.44 kB / 1.147 GB, free: 12.25 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.9373, allocations: 321 kB / 1.148 GB, free: 12.12 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.003101/0.9404, allocations: 0.7606 MB / 1.148 GB, free: 11.72 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004977/0.9454, allocations: 1.45 MB / 1.15 GB, free: 11.01 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003932/0.9493, allocations: 2.33 MB / 1.152 GB, free: 10.23 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002596/0.9519, allocations: 1.345 MB / 1.153 GB, free: 9.719 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004022/0.956, allocations: 1.045 MB / 1.154 GB, free: 9.234 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.9576, allocations: 0.6358 MB / 1.155 GB, free: 8.852 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004009/0.958, allocations: 41.16 kB / 1.155 GB, free: 8.852 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003638/0.9617, allocations: 1.304 MB / 1.156 GB, free: 8.164 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006216/0.9623, allocations: 314.3 kB / 1.157 GB, free: 7.961 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.9639, allocations: 0.6183 MB / 1.157 GB, free: 7.539 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003892/0.9678, allocations: 1.836 MB / 1.159 GB, free: 6.297 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.9678, allocations: 0 / 1.159 GB, free: 6.297 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9678, allocations: 0 / 1.159 GB, free: 6.297 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001347/0.9679, allocations: 0 / 1.159 GB, free: 6.297 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.004438/0.9724, allocations: 1.569 MB / 1.161 GB, free: 5.066 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.9725, allocations: 13.45 kB / 1.161 GB, free: 5.062 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003087/0.9755, allocations: 403.3 kB / 1.161 GB, free: 4.887 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/0.9782, allocations: 0.9586 MB / 1.162 GB, free: 4.117 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.9783, allocations: 94.17 kB / 1.162 GB, free: 4.074 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003589/0.9787, allocations: 123.7 kB / 1.162 GB, free: 4.035 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003808/0.9825, allocations: 1.441 MB / 1.164 GB, free: 3.102 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.893e-05/0.9825, allocations: 3.938 kB / 1.164 GB, free: 3.098 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002093/0.9828, allocations: 62.44 kB / 1.164 GB, free: 3.051 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.714e-05/0.9828, allocations: 31.5 kB / 1.164 GB, free: 3.051 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003309/0.9861, allocations: 1.521 MB / 1.165 GB, free: 2.316 MB / 0.698 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.009088/0.9952, allocations: 4.902 MB / 1.17 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002701/0.998, allocations: 1.422 MB / 1.171 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008398/0.9988, allocations: 449.6 kB / 1.172 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007803/0.9996, allocations: 438.2 kB / 1.172 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/1.001, allocations: 0.6177 MB / 1.173 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=98): time 4.067e-06/1.001, allocations: 0 / 1.173 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=98): time 0.004043/1.005, allocations: 1.545 MB / 1.174 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.958e-05/1.005, allocations: 193.7 kB / 1.174 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/1.006, allocations: 0.8229 MB / 1.175 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/1.006, allocations: 47.86 kB / 1.175 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005417/1.007, allocations: 0.5602 MB / 1.176 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/1.007, allocations: 328 kB / 1.176 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/1.007, allocations: 18.66 kB / 1.176 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.008, allocations: 344.4 kB / 1.176 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007628/1.008, allocations: 367.8 kB / 1.177 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008924/1.009, allocations: 0.5251 MB / 1.177 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/1.011, allocations: 0.9096 MB / 1.178 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/1.011, allocations: 7.25 kB / 1.178 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002602/1.013, allocations: 1.15 MB / 1.179 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/1.014, allocations: 6.156 kB / 1.179 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/1.014, allocations: 6.484 kB / 1.179 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005791/1.014, allocations: 86.5 kB / 1.179 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/1.015, allocations: 240.5 kB / 1.18 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/1.017, allocations: 1.544 MB / 1.181 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/1.018, allocations: 146 kB / 1.181 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.671e-05/1.019, allocations: 49.62 kB / 1.181 GB, free: 6.172 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.0007824/1.019, allocations: 325.3 kB / 1.182 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/1.02, allocations: 116 kB / 1.182 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/1.022, allocations: 1.337 MB / 1.183 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.022, allocations: 10.84 kB / 1.183 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/1.022, allocations: 2.906 kB / 1.183 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/1.022, allocations: 7.984 kB / 1.183 GB, free: 5.102 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 postOpt removeSimpleEquations (simulation): time 0.004524/1.027, allocations: 2.675 MB / 1.186 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/1.027, allocations: 3.984 kB / 1.186 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009244/1.028, allocations: 216.1 kB / 1.186 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005083/1.028, allocations: 95.2 kB / 1.186 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/1.029, allocations: 23.92 kB / 1.186 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/1.03, allocations: 1.558 MB / 1.188 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.03, allocations: 4.062 kB / 1.188 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/1.033, allocations: 1.22 MB / 1.189 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007421/1.034, allocations: 348.5 kB / 1.189 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/1.034, allocations: 24.59 kB / 1.189 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000877/1.035, allocations: 99.42 kB / 1.189 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/1.035, allocations: 76.27 kB / 1.189 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-05/1.035, allocations: 45.34 kB / 1.189 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007972/1.036, allocations: 0.5689 MB / 1.19 GB, free: 232 kB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.036, allocations: 4 kB / 1.19 GB, free: 228 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001326/1.037, allocations: 445.8 kB / 1.19 GB, free: 96 kB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001671/1.039, allocations: 0.6708 MB / 1.191 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002227/1.041, allocations: 1.067 MB / 1.192 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/1.041, allocations: 0 / 1.192 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/1.042, allocations: 0.6349 MB / 1.193 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/1.044, allocations: 476 kB / 1.193 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005307/1.05, allocations: 2.91 MB / 1.196 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007475/1.051, allocations: 1.174 MB / 1.197 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001713/1.052, allocations: 377.1 kB / 1.197 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003351/1.053, allocations: 123.4 kB / 1.198 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/1.053, allocations: 0 / 1.198 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of Templates: time 0.03683/1.089, allocations: 21.24 MB / 1.218 GB, free: 5.758 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)