Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.59/1.59, allocations: 287.4 MB / 303.2 MB, free: 8.328 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.0009158/0.0009158, allocations: 182 kB / 371.8 MB, free: 10.81 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.289/1.289, allocations: 205.4 MB / 0.6304 GB, free: 10.52 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.0006968/0.0006969, allocations: 96.02 kB / 0.7438 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 15.61 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1649, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5421/0.707, allocations: 159.7 MB / 1.135 GB, free: 15.8 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01443/0.7215, allocations: 11.53 MB / 1.146 GB, free: 11.95 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.723, allocations: 29.41 kB / 1.146 GB, free: 11.94 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.7243, allocations: 308.6 kB / 1.147 GB, free: 11.8 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.002516/0.7268, allocations: 0.7345 MB / 1.148 GB, free: 11.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003861/0.7307, allocations: 1.332 MB / 1.149 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002805/0.7335, allocations: 2.335 MB / 1.151 GB, free: 10.7 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00192/0.7354, allocations: 1.34 MB / 1.152 GB, free: 10.27 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002341/0.7378, allocations: 1.001 MB / 1.153 GB, free: 9.855 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00089/0.7387, allocations: 0.6318 MB / 1.154 GB, free: 9.551 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.7388, allocations: 41.06 kB / 1.154 GB, free: 9.551 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.741, allocations: 0.8112 MB / 1.155 GB, free: 9.309 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003868/0.7414, allocations: 311.1 kB / 1.155 GB, free: 9.168 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000351/0.7417, allocations: 288.2 kB / 1.155 GB, free: 9.082 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.7438, allocations: 1.776 MB / 1.157 GB, free: 8.055 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.7438, allocations: 1.062 kB / 1.157 GB, free: 8.055 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7438, allocations: 0 / 1.157 GB, free: 8.055 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.065e-05/0.7439, allocations: 0 / 1.157 GB, free: 8.055 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.002823/0.7467, allocations: 1.557 MB / 1.159 GB, free: 6.836 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.7467, allocations: 8.781 kB / 1.159 GB, free: 6.836 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002492/0.7492, allocations: 407.5 kB / 1.159 GB, free: 6.656 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.7508, allocations: 0.9539 MB / 1.16 GB, free: 5.891 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.055e-05/0.7509, allocations: 99.36 kB / 1.16 GB, free: 5.844 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.7511, allocations: 123.5 kB / 1.16 GB, free: 5.805 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/0.7537, allocations: 1.441 MB / 1.162 GB, free: 4.871 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.7538, allocations: 0 / 1.162 GB, free: 4.871 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.7539, allocations: 59.09 kB / 1.162 GB, free: 4.828 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/0.7539, allocations: 30.78 kB / 1.162 GB, free: 4.828 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/0.7566, allocations: 1.522 MB / 1.163 GB, free: 4.094 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.0072/0.7638, allocations: 4.912 MB / 1.168 GB, free: 36 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002404/0.7663, allocations: 1.416 MB / 1.169 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008671/0.7672, allocations: 455.5 kB / 1.17 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007558/0.7679, allocations: 438.8 kB / 1.17 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/0.769, allocations: 0.6208 MB / 1.171 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=98): time 3.727e-06/0.7691, allocations: 0 / 1.171 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=98): time 0.003813/0.7729, allocations: 1.537 MB / 1.172 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.86e-05/0.773, allocations: 199.7 kB / 1.172 GB, free: 13 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.7741, allocations: 0.8227 MB / 1.173 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.561e-05/0.7742, allocations: 43.36 kB / 1.173 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004302/0.7746, allocations: 0.5644 MB / 1.174 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/0.7749, allocations: 327.5 kB / 1.174 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.7749, allocations: 23.03 kB / 1.174 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.7751, allocations: 340.8 kB / 1.175 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006965/0.7758, allocations: 363.3 kB / 1.175 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008484/0.7766, allocations: 0.537 MB / 1.175 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.7782, allocations: 0.9008 MB / 1.176 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.7782, allocations: 0 / 1.176 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002409/0.7806, allocations: 1.156 MB / 1.177 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.7806, allocations: 6.156 kB / 1.177 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.7807, allocations: 9.125 kB / 1.177 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005959/0.7813, allocations: 82.67 kB / 1.178 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.7824, allocations: 243.3 kB / 1.178 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.7844, allocations: 1.546 MB / 1.179 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.7857, allocations: 139.2 kB / 1.179 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.7858, allocations: 50.38 kB / 1.179 GB, free: 7.949 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.0007551/0.7866, allocations: 326.5 kB / 1.18 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.7868, allocations: 113 kB / 1.18 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002875/0.7897, allocations: 1.34 MB / 1.181 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.7897, allocations: 7.969 kB / 1.181 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.7897, allocations: 0 / 1.181 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005923/0.7903, allocations: 347.7 kB / 1.182 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.7905, allocations: 21.42 kB / 1.182 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008469/0.7913, allocations: 102.9 kB / 1.182 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.7915, allocations: 76.7 kB / 1.182 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002545/0.794, allocations: 1.213 MB / 1.183 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00269/0.7967, allocations: 1.79 MB / 1.185 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007745/0.7975, allocations: 468.9 kB / 1.185 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008217/0.7984, allocations: 0.5689 MB / 1.186 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of Backend: time 8.92e-07/0.7984, allocations: 0 / 1.186 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003976/0.8024, allocations: 1.525 MB / 1.187 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of SimCode: time 0.004352/0.8067, allocations: 3.191 MB / 1.19 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.03985/0.8466, allocations: 23.84 MB / 1.214 GB, free: 11.34 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)