Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.318/1.318, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009805/0.0009806, allocations: 171.6 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205 MB / 0.5767 GB, free: 20.94 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006308/0.0006308, allocations: 87.09 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002708/0.0002708, allocations: 8.719 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1471, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4753/0.6225, allocations: 173.3 MB / 1.066 GB, free: 1.852 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01256/0.6351, allocations: 12.5 MB / 1.078 GB, free: 1.629 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009607/0.6361, allocations: 30.09 kB / 1.078 GB, free: 1.629 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.6371, allocations: 364.5 kB / 1.079 GB, free: 1.625 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.002047/0.6391, allocations: 0.8374 MB / 1.079 GB, free: 1.57 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003683/0.6428, allocations: 1.622 MB / 1.081 GB, free: 1.512 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002569/0.6454, allocations: 2.761 MB / 1.084 GB, free: 1.492 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.6469, allocations: 1.341 MB / 1.085 GB, free: 1.27 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00395/0.6509, allocations: 1.153 MB / 1.086 GB, free: 1.238 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007063/0.6516, allocations: 0.6788 MB / 1.087 GB, free: 1.238 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.6517, allocations: 41.03 kB / 1.087 GB, free: 1.238 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.6539, allocations: 1.344 MB / 1.088 GB, free: 1.215 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.6542, allocations: 342.7 kB / 1.088 GB, free: 1.211 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005333/0.6547, allocations: 0.6411 MB / 1.089 GB, free: 1.211 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.6571, allocations: 2.478 MB / 1.091 GB, free: 1.062 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6571, allocations: 0 / 1.091 GB, free: 1.062 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6571, allocations: 0 / 1.091 GB, free: 1.062 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.149e-05/0.6571, allocations: 1.531 kB / 1.091 GB, free: 1.062 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.00237/0.6595, allocations: 1.575 MB / 1.093 GB, free: 16.15 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.6595, allocations: 9.438 kB / 1.093 GB, free: 16.15 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002301/0.6618, allocations: 416.3 kB / 1.093 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.663, allocations: 0.9556 MB / 1.094 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.742e-05/0.6631, allocations: 94.64 kB / 1.094 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.6632, allocations: 131.6 kB / 1.095 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.6652, allocations: 1.461 MB / 1.096 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.6652, allocations: 0 / 1.096 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.6653, allocations: 57.44 kB / 1.096 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/0.6654, allocations: 39.09 kB / 1.096 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.6675, allocations: 1.532 MB / 1.098 GB, free: 15.45 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 preOpt removeSimpleEquations (simulation): time 0.005621/0.6731, allocations: 4.925 MB / 1.102 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.6751, allocations: 1.271 MB / 1.104 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006923/0.6758, allocations: 451.8 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006915/0.6765, allocations: 438.9 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009031/0.6774, allocations: 0.6241 MB / 1.105 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=98): time 2.154e-06/0.6774, allocations: 0 / 1.105 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=98): time 0.003425/0.6809, allocations: 1.54 MB / 1.107 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.613e-05/0.681, allocations: 199.4 kB / 1.107 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008283/0.6818, allocations: 0.8441 MB / 1.108 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.583e-05/0.6819, allocations: 49.83 kB / 1.108 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003188/0.6822, allocations: 0.555 MB / 1.108 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.6824, allocations: 331.9 kB / 1.109 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.961e-05/0.6825, allocations: 88.88 kB / 1.109 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6827, allocations: 342.2 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005994/0.6833, allocations: 365.3 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000767/0.684, allocations: 0.532 MB / 1.11 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.6854, allocations: 0.9015 MB / 1.111 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6854, allocations: 4.969 kB / 1.111 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002175/0.6876, allocations: 1.145 MB / 1.112 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.6877, allocations: 9.5 kB / 1.112 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.6877, allocations: 3.344 kB / 1.112 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005522/0.6882, allocations: 90.75 kB / 1.112 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000922/0.6892, allocations: 243.1 kB / 1.112 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.691, allocations: 1.534 MB / 1.114 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009642/0.6919, allocations: 155.6 kB / 1.114 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.168e-05/0.692, allocations: 50.12 kB / 1.114 GB, free: 9.293 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 (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.0004608/0.6925, allocations: 329.9 kB / 1.114 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.6927, allocations: 119.9 kB / 1.114 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/0.6953, allocations: 1.332 MB / 1.116 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.6953, allocations: 9.297 kB / 1.116 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6953, allocations: 0 / 1.116 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004378/0.6957, allocations: 343.8 kB / 1.116 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.6959, allocations: 21.72 kB / 1.116 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008473/0.6967, allocations: 119.6 kB / 1.116 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.6969, allocations: 69.52 kB / 1.116 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002363/0.6993, allocations: 1.209 MB / 1.117 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002925/0.7022, allocations: 1.789 MB / 1.119 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008502/0.7031, allocations: 475.3 kB / 1.119 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00063/0.7037, allocations: 0.5825 MB / 1.12 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of Backend: time 5.91e-07/0.7037, allocations: 4 kB / 1.12 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003446/0.7072, allocations: 1.563 MB / 1.122 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of SimCode: time 0.004203/0.7114, allocations: 3.249 MB / 1.125 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of Templates: time 0.03386/0.7453, allocations: 24.59 MB / 1.149 GB, free: 10.18 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)