Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 110 kB / 16.38 MB, free: 6.023 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.001202/0.001202, allocations: 188.6 kB / 17.31 MB, free: 5.617 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.269/1.269, 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.798/1.798, allocations: 292.3 MB / 0.5496 GB, free: 17.66 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.001426/0.001426, allocations: 72.31 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.187, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4689/0.656, allocations: 175.8 MB / 0.9564 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.6715, allocations: 12.4 MB / 0.9685 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.6726, allocations: 31.81 kB / 0.9686 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.674, allocations: 438.6 kB / 0.969 GB, free: 13.33 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.003029/0.6771, allocations: 0.8905 MB / 0.9699 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004646/0.6817, allocations: 1.791 MB / 0.9716 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00317/0.6849, allocations: 2.264 MB / 0.9738 GB, free: 8.398 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002559/0.6875, allocations: 1.572 MB / 0.9754 GB, free: 6.793 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003532/0.691, allocations: 1.347 MB / 0.9767 GB, free: 5.484 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.6922, allocations: 0.8087 MB / 0.9775 GB, free: 4.676 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003223/0.6925, allocations: 156 kB / 0.9776 GB, free: 4.523 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002641/0.6952, allocations: 1.322 MB / 0.9789 GB, free: 3.199 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0005014/0.6957, allocations: 470.6 kB / 0.9794 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.000963/0.6967, allocations: 0.789 MB / 0.9801 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003401/0.7001, allocations: 2.555 MB / 0.9826 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7001, allocations: 4 kB / 0.9826 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7001, allocations: 0 / 0.9826 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.387e-05/0.7002, allocations: 0 / 0.9826 GB, free: 15.38 MB / 0.7794 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.003308/0.7035, allocations: 1.867 MB / 0.9844 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.7035, allocations: 8.031 kB / 0.9845 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002637/0.7062, allocations: 401.6 kB / 0.9848 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.7077, allocations: 0.9839 MB / 0.9858 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.662e-05/0.7078, allocations: 98.58 kB / 0.9859 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.7079, allocations: 124 kB / 0.986 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002411/0.7104, allocations: 1.448 MB / 0.9874 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.7104, allocations: 0 / 0.9874 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.7105, allocations: 59.94 kB / 0.9875 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.7106, allocations: 32 kB / 0.9875 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/0.7132, allocations: 1.524 MB / 0.989 GB, free: 8.66 MB / 0.7794 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.006634/0.7198, allocations: 4.836 MB / 0.9937 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/0.7222, allocations: 1.422 MB / 0.9951 GB, free: 2.066 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008165/0.7231, allocations: 453.5 kB / 0.9955 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007346/0.7238, allocations: 433.3 kB / 0.996 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00115/0.725, allocations: 0.6275 MB / 0.9966 GB, free: 492 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=98): time 2.806e-06/0.725, allocations: 0 / 0.9966 GB, free: 492 kB / 0.7794 GB Notification: Performance of matching and sorting (n=98): time 0.00398/0.729, allocations: 1.52 MB / 0.9981 GB, free: 14.93 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.572e-05/0.7291, allocations: 204.9 kB / 0.9983 GB, free: 14.69 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.7302, allocations: 0.8296 MB / 0.9991 GB, free: 13.84 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.634e-05/0.7303, allocations: 45.7 kB / 0.9991 GB, free: 13.79 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004284/0.7307, allocations: 0.5583 MB / 0.9996 GB, free: 13.22 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.731, allocations: 327.2 kB / 1 GB, free: 12.89 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003041/0.7313, allocations: 202.4 kB / 1 GB, free: 12.69 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7314, allocations: 345.9 kB / 1 GB, free: 12.35 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007116/0.7321, allocations: 361.8 kB / 1.001 GB, free: 11.99 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008844/0.733, allocations: 0.5325 MB / 1.001 GB, free: 11.41 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.7347, allocations: 0.898 MB / 1.002 GB, free: 10.46 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.7347, allocations: 7.938 kB / 1.002 GB, free: 10.46 MB / 0.795 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002669/0.7373, allocations: 1.146 MB / 1.003 GB, free: 9.305 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.7374, allocations: 8 kB / 1.003 GB, free: 9.297 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.7374, allocations: 0 / 1.003 GB, free: 9.297 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/0.738, allocations: 89.17 kB / 1.003 GB, free: 9.207 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.7391, allocations: 239.7 kB / 1.004 GB, free: 8.973 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.7413, allocations: 1.657 MB / 1.005 GB, free: 7.172 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009527/0.7422, allocations: 119 kB / 1.005 GB, free: 7.055 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-05/0.7423, allocations: 48.53 kB / 1.005 GB, free: 7.008 MB / 0.795 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 (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 (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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.0005671/0.7429, allocations: 329.5 kB / 1.006 GB, free: 6.676 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.7431, allocations: 114.6 kB / 1.006 GB, free: 6.562 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002821/0.7459, allocations: 1.266 MB / 1.007 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.746, allocations: 3.984 kB / 1.007 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.746, allocations: 0 / 1.007 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004865/0.7465, allocations: 343.2 kB / 1.007 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.7466, allocations: 23.94 kB / 1.007 GB, free: 4.914 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007968/0.7474, allocations: 67.92 kB / 1.008 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.7476, allocations: 76.97 kB / 1.008 GB, free: 4.773 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002753/0.7503, allocations: 1.186 MB / 1.009 GB, free: 3.574 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002983/0.7533, allocations: 1.801 MB / 1.011 GB, free: 1.758 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007927/0.7541, allocations: 473.6 kB / 1.011 GB, free: 1.297 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007544/0.7549, allocations: 0.574 MB / 1.012 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of Backend: time 3.51e-07/0.7549, allocations: 4 kB / 1.012 GB, free: 0.707 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003842/0.7588, allocations: 1.544 MB / 1.013 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of SimCode: time 0.003939/0.7627, allocations: 2.677 MB / 1.016 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of Templates: time 0.03885/0.8016, allocations: 25.43 MB / 1.04 GB, free: 3.617 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)