Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.239/2.239, allocations: 251.2 MB / 266.2 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002074/0.002074, allocations: 174.5 kB / 325.8 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.526/2.526, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009515/0.0009508, allocations: 102 kB / 0.6813 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007308/0.000731, allocations: 12.91 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2314, allocations: 106.3 MB / 0.899 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2626/0.4941, allocations: 159.8 MB / 1.055 GB, free: 1.172 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.7095/1.204, allocations: 11.58 MB / 1.066 GB, free: 4.176 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/1.205, allocations: 28.19 kB / 1.066 GB, free: 4.176 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/1.207, allocations: 309 kB / 1.067 GB, free: 4.172 MB / 0.698 GB [/var/lib/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‘. [/var/lib/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‘. [/var/lib/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‘. [/var/lib/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.003942/1.211, allocations: 0.783 MB / 1.068 GB, free: 4.125 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006153/1.217, allocations: 1.338 MB / 1.069 GB, free: 4.07 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004808/1.222, allocations: 2.458 MB / 1.071 GB, free: 4.055 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003638/1.226, allocations: 1.296 MB / 1.072 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004133/1.23, allocations: 1.039 MB / 1.073 GB, free: 3.895 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002089/1.232, allocations: 0.6533 MB / 1.074 GB, free: 3.891 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004717/1.233, allocations: 40.38 kB / 1.074 GB, free: 3.891 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00399/1.237, allocations: 0.8135 MB / 1.075 GB, free: 3.871 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001118/1.238, allocations: 328.4 kB / 1.075 GB, free: 3.867 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009895/1.239, allocations: 286.6 kB / 1.076 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004983/1.244, allocations: 1.813 MB / 1.077 GB, free: 3.691 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/1.244, allocations: 0.7812 kB / 1.077 GB, free: 3.691 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.186e-06/1.244, allocations: 0 / 1.077 GB, free: 3.691 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001027/1.244, allocations: 0.8438 kB / 1.077 GB, free: 3.691 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.005958/1.25, allocations: 1.587 MB / 1.079 GB, free: 18.79 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/1.25, allocations: 8.812 kB / 1.079 GB, free: 18.79 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004513/1.255, allocations: 411.4 kB / 1.079 GB, free: 18.69 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002933/1.258, allocations: 0.9253 MB / 1.08 GB, free: 18.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/1.258, allocations: 96.98 kB / 1.08 GB, free: 18.37 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003833/1.258, allocations: 125.9 kB / 1.08 GB, free: 18.37 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00497/1.263, allocations: 1.452 MB / 1.082 GB, free: 18.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.923e-05/1.263, allocations: 2.844 kB / 1.082 GB, free: 18.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002781/1.264, allocations: 58.12 kB / 1.082 GB, free: 18.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.345e-05/1.264, allocations: 34.53 kB / 1.082 GB, free: 18.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005294/1.269, allocations: 1.521 MB / 1.083 GB, free: 18.12 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.01362/1.283, allocations: 4.924 MB / 1.088 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004102/1.287, allocations: 1.254 MB / 1.089 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/1.289, allocations: 451.5 kB / 1.09 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/1.29, allocations: 440.8 kB / 1.09 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001893/1.292, allocations: 0.6246 MB / 1.091 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=98): time 3.838e-06/1.292, allocations: 0 / 1.091 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=98): time 0.006339/1.298, allocations: 1.529 MB / 1.092 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/1.298, allocations: 194.1 kB / 1.093 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/1.3, allocations: 0.8346 MB / 1.093 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003006/1.3, allocations: 46.45 kB / 1.093 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005605/1.301, allocations: 0.5699 MB / 1.094 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003845/1.301, allocations: 331.4 kB / 1.094 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.345e-05/1.302, allocations: 18.38 kB / 1.094 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.302, allocations: 348 kB / 1.095 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/1.303, allocations: 363.2 kB / 1.095 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/1.304, allocations: 0.532 MB / 1.096 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/1.306, allocations: 430.9 kB / 1.096 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/1.306, allocations: 3.938 kB / 1.096 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.006594/1.312, allocations: 1.141 MB / 1.097 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/1.312, allocations: 9.484 kB / 1.097 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/1.312, allocations: 10.22 kB / 1.097 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/1.314, allocations: 85.47 kB / 1.097 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003238/1.317, allocations: 244.1 kB / 1.097 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004004/1.321, allocations: 1.538 MB / 1.099 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/1.324, allocations: 146.8 kB / 1.099 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/1.324, allocations: 47.25 kB / 1.099 GB, free: 12.11 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.0009962/1.325, allocations: 325.7 kB / 1.099 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003106/1.326, allocations: 115.8 kB / 1.099 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004674/1.33, allocations: 1.345 MB / 1.101 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/1.33, allocations: 11.09 kB / 1.101 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.33, allocations: 0 / 1.101 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/1.33, allocations: 7.125 kB / 1.101 GB, free: 11.79 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.007028/1.337, allocations: 2.682 MB / 1.103 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/1.338, allocations: 1.859 kB / 1.103 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/1.339, allocations: 216.5 kB / 1.104 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008402/1.34, allocations: 85.56 kB / 1.104 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.832e-05/1.34, allocations: 33.59 kB / 1.104 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002586/1.343, allocations: 1.554 MB / 1.105 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/1.343, allocations: 2.625 kB / 1.105 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004086/1.347, allocations: 1.221 MB / 1.106 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009554/1.348, allocations: 357.2 kB / 1.107 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000257/1.348, allocations: 18.81 kB / 1.107 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/1.35, allocations: 111.4 kB / 1.107 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/1.35, allocations: 84.06 kB / 1.107 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/1.35, allocations: 45.03 kB / 1.107 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001174/1.352, allocations: 0.5766 MB / 1.108 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/1.352, allocations: 0 / 1.108 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001861/1.354, allocations: 444.7 kB / 1.108 GB, free: 9.355 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.002063/1.356, allocations: 0.6689 MB / 1.109 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003379/1.359, allocations: 1.062 MB / 1.11 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/1.359, allocations: 0 / 1.11 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00175/1.361, allocations: 0.6349 MB / 1.11 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003829/1.365, allocations: 478.7 kB / 1.111 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008328/1.373, allocations: 2.938 MB / 1.114 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009764/1.374, allocations: 1.181 MB / 1.115 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002644/1.377, allocations: 367.4 kB / 1.115 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006264/1.377, allocations: 132 kB / 1.115 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of SimCode: time 1.192e-06/1.377, allocations: 1.859 kB / 1.115 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of Templates: time 0.05847/1.436, allocations: 21.14 MB / 1.136 GB, free: 13.4 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)