Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.218/2.218, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001299/0.001299, allocations: 175.3 kB / 326.3 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.384/2.384, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009104/0.0009103, allocations: 85.81 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.000455, allocations: 15.66 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1877, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2337/0.4215, allocations: 159.8 MB / 1.056 GB, free: 1.285 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.6355/1.057, allocations: 11.6 MB / 1.067 GB, free: 4.121 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/1.059, allocations: 28.75 kB / 1.067 GB, free: 4.121 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001592/1.06, allocations: 309.9 kB / 1.067 GB, free: 4.117 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1/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.1/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.1/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.003709/1.064, allocations: 0.7752 MB / 1.068 GB, free: 4.074 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005952/1.07, allocations: 1.342 MB / 1.069 GB, free: 4.027 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004597/1.075, allocations: 2.459 MB / 1.072 GB, free: 4.008 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003378/1.078, allocations: 1.288 MB / 1.073 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003894/1.082, allocations: 1.041 MB / 1.074 GB, free: 3.855 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/1.084, allocations: 0.6501 MB / 1.075 GB, free: 3.852 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004154/1.084, allocations: 43.53 kB / 1.075 GB, free: 3.852 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003764/1.088, allocations: 0.8123 MB / 1.075 GB, free: 3.832 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009653/1.089, allocations: 326.9 kB / 1.076 GB, free: 3.832 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007973/1.09, allocations: 287.1 kB / 1.076 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004412/1.094, allocations: 1.813 MB / 1.078 GB, free: 3.656 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/1.095, allocations: 5 kB / 1.078 GB, free: 3.652 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.856e-06/1.095, allocations: 0 / 1.078 GB, free: 3.652 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.777e-05/1.095, allocations: 0 / 1.078 GB, free: 3.652 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.005673/1.1, allocations: 1.584 MB / 1.079 GB, free: 18.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/1.1, allocations: 16.84 kB / 1.079 GB, free: 18.74 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004573/1.105, allocations: 407.9 kB / 1.08 GB, free: 18.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002994/1.108, allocations: 0.9281 MB / 1.081 GB, free: 18.33 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/1.108, allocations: 98.45 kB / 1.081 GB, free: 18.33 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003874/1.109, allocations: 124.8 kB / 1.081 GB, free: 18.33 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00479/1.113, allocations: 1.451 MB / 1.082 GB, free: 18.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/1.113, allocations: 8.297 kB / 1.082 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/1.114, allocations: 56.28 kB / 1.082 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.121e-05/1.114, allocations: 32.66 kB / 1.082 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005677/1.12, allocations: 1.522 MB / 1.084 GB, free: 18.07 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.01321/1.133, allocations: 4.927 MB / 1.089 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004083/1.137, allocations: 1.25 MB / 1.09 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/1.138, allocations: 454.8 kB / 1.09 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/1.14, allocations: 444.7 kB / 1.091 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00194/1.142, allocations: 0.6272 MB / 1.091 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=98): time 5.58e-06/1.142, allocations: 0 / 1.091 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=98): time 0.006883/1.149, allocations: 1.526 MB / 1.093 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/1.149, allocations: 195.2 kB / 1.093 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/1.151, allocations: 0.8317 MB / 1.094 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003525/1.151, allocations: 48.42 kB / 1.094 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006218/1.152, allocations: 0.5647 MB / 1.094 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004777/1.152, allocations: 331.9 kB / 1.095 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.6e-05/1.152, allocations: 19.94 kB / 1.095 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001811/1.153, allocations: 347.9 kB / 1.095 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/1.154, allocations: 360.5 kB / 1.095 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/1.155, allocations: 0.5222 MB / 1.096 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/1.157, allocations: 441.6 kB / 1.096 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/1.157, allocations: 2.969 kB / 1.096 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004551/1.161, allocations: 1.142 MB / 1.097 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/1.161, allocations: 5.125 kB / 1.098 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/1.161, allocations: 2.875 kB / 1.098 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009755/1.162, allocations: 92.88 kB / 1.098 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/1.165, allocations: 242.5 kB / 1.098 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003089/1.168, allocations: 1.547 MB / 1.099 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/1.17, allocations: 149.3 kB / 1.099 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/1.17, allocations: 51.84 kB / 1.1 GB, free: 12.05 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.0009839/1.171, allocations: 328.5 kB / 1.1 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003574/1.171, allocations: 112 kB / 1.1 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004848/1.176, allocations: 1.336 MB / 1.101 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.36e-05/1.176, allocations: 9.953 kB / 1.101 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.176, allocations: 0 / 1.101 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/1.178, allocations: 362.1 kB / 1.102 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002792/1.178, allocations: 19.97 kB / 1.102 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001742/1.18, allocations: 112.4 kB / 1.102 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/1.18, allocations: 75.8 kB / 1.102 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004496/1.184, allocations: 1.21 MB / 1.103 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005098/1.189, allocations: 1.78 MB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001234/1.191, allocations: 466.8 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001228/1.192, allocations: 0.5697 MB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of Backend: time 7.32e-07/1.192, allocations: 3.938 kB / 1.106 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006002/1.198, allocations: 1.525 MB / 1.107 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of SimCode: time 0.007877/1.206, allocations: 3.236 MB / 1.11 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of Templates: time 0.06546/1.271, allocations: 24 MB / 1.134 GB, free: 14.77 MB / 0.7292 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)