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.713/1.713, allocations: 288.4 MB / 303.4 MB, free: 8.152 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.001346/0.001346, allocations: 180.4 kB / 372 MB, free: 10.27 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.46/1.46, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.0007255/0.0007255, allocations: 105.3 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004064, allocations: 19.66 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2632, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6968/0.9601, allocations: 159.7 MB / 1.136 GB, free: 156 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01493/0.9751, allocations: 11.52 MB / 1.147 GB, free: 12.28 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.9765, allocations: 27.16 kB / 1.147 GB, free: 12.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.9777, allocations: 301.5 kB / 1.147 GB, free: 12.14 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.00259/0.9803, allocations: 0.7392 MB / 1.148 GB, free: 11.8 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004463/0.9847, allocations: 1.326 MB / 1.149 GB, free: 11.16 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003378/0.9881, allocations: 2.287 MB / 1.151 GB, free: 10.41 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001969/0.9901, allocations: 1.133 MB / 1.152 GB, free: 9.957 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00285/0.993, allocations: 1.001 MB / 1.153 GB, free: 9.539 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.9941, allocations: 0.6337 MB / 1.154 GB, free: 9.234 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.9943, allocations: 41.16 kB / 1.154 GB, free: 9.234 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002769/0.9971, allocations: 0.8218 MB / 1.155 GB, free: 8.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003997/0.9975, allocations: 312.2 kB / 1.155 GB, free: 8.84 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004895/0.998, allocations: 278.9 kB / 1.155 GB, free: 8.676 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003004/1.001, allocations: 1.774 MB / 1.157 GB, free: 7.461 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.001, allocations: 0 / 1.157 GB, free: 7.461 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.245e-06/1.001, allocations: 5 kB / 1.157 GB, free: 7.457 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.593e-05/1.001, allocations: 0 / 1.157 GB, free: 7.457 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.003674/1.005, allocations: 1.576 MB / 1.159 GB, free: 6.234 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/1.005, allocations: 7.719 kB / 1.159 GB, free: 6.234 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002784/1.008, allocations: 403.6 kB / 1.159 GB, free: 6.059 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/1.009, allocations: 0.9279 MB / 1.16 GB, free: 5.324 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/1.01, allocations: 95.2 kB / 1.16 GB, free: 5.281 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/1.01, allocations: 122.9 kB / 1.16 GB, free: 5.242 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/1.013, allocations: 1.439 MB / 1.162 GB, free: 4.309 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/1.013, allocations: 4.844 kB / 1.162 GB, free: 4.305 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/1.013, allocations: 53.72 kB / 1.162 GB, free: 4.266 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.932e-05/1.013, allocations: 32.94 kB / 1.162 GB, free: 4.266 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003072/1.016, allocations: 1.521 MB / 1.163 GB, free: 3.531 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.007879/1.024, allocations: 4.897 MB / 1.168 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/1.027, allocations: 1.428 MB / 1.169 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008745/1.028, allocations: 457.5 kB / 1.17 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007751/1.029, allocations: 438 kB / 1.17 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/1.03, allocations: 0.6214 MB / 1.171 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=98): time 2.716e-06/1.03, allocations: 0 / 1.171 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=98): time 0.004085/1.034, allocations: 1.534 MB / 1.172 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/1.034, allocations: 200.2 kB / 1.173 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/1.035, allocations: 0.8221 MB / 1.173 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/1.035, allocations: 49.8 kB / 1.173 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004939/1.036, allocations: 0.5534 MB / 1.174 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/1.036, allocations: 332.9 kB / 1.174 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/1.036, allocations: 20.56 kB / 1.174 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.036, allocations: 342.6 kB / 1.175 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007169/1.037, allocations: 366.6 kB / 1.175 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008418/1.038, allocations: 0.5381 MB / 1.175 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008056/1.039, allocations: 435.1 kB / 1.176 GB, free: 10 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.039, allocations: 2.906 kB / 1.176 GB, free: 10 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002498/1.041, allocations: 1.153 MB / 1.177 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.041, allocations: 5.938 kB / 1.177 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/1.041, allocations: 8.828 kB / 1.177 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006239/1.042, allocations: 86.69 kB / 1.177 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/1.043, allocations: 240.7 kB / 1.177 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/1.045, allocations: 1.542 MB / 1.179 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/1.046, allocations: 140.8 kB / 1.179 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.812e-05/1.046, allocations: 46.88 kB / 1.179 GB, free: 7.695 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.0007092/1.047, allocations: 327.3 kB / 1.179 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/1.047, allocations: 109.4 kB / 1.179 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/1.05, allocations: 1.349 MB / 1.181 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/1.05, allocations: 10.62 kB / 1.181 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/1.05, allocations: 0 / 1.181 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/1.05, allocations: 3.984 kB / 1.181 GB, free: 6.629 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.004367/1.055, allocations: 2.684 MB / 1.183 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/1.055, allocations: 3.953 kB / 1.183 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009676/1.056, allocations: 218.7 kB / 1.184 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005222/1.056, allocations: 84.52 kB / 1.184 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.586e-05/1.056, allocations: 32.36 kB / 1.184 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/1.058, allocations: 1.562 MB / 1.185 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.058, allocations: 80 / 1.185 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/1.06, allocations: 1.224 MB / 1.186 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005919/1.061, allocations: 350.2 kB / 1.187 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/1.061, allocations: 18.94 kB / 1.187 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009801/1.062, allocations: 116.9 kB / 1.187 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/1.062, allocations: 68.69 kB / 1.187 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-05/1.062, allocations: 47.55 kB / 1.187 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007671/1.063, allocations: 0.565 MB / 1.188 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.063, allocations: 0 / 1.188 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001526/1.065, allocations: 442.1 kB / 1.188 GB, free: 1.617 MB / 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.00154/1.066, allocations: 0.656 MB / 1.189 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002384/1.069, allocations: 1.064 MB / 1.19 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.069, allocations: 2.938 kB / 1.19 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/1.07, allocations: 0.6419 MB / 1.19 GB, free: 384 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/1.072, allocations: 481.2 kB / 1.191 GB, free: 128 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006655/1.079, allocations: 2.897 MB / 1.194 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/1.08, allocations: 1.179 MB / 1.195 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00234/1.083, allocations: 376.3 kB / 1.195 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000531/1.083, allocations: 132.1 kB / 1.195 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of SimCode: time 1.874e-06/1.083, allocations: 0 / 1.195 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of Templates: time 0.04018/1.124, allocations: 20.89 MB / 1.216 GB, free: 8.348 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)