Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9141/0.9141, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 176.9 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000967/0.0009672, allocations: 88.11 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00185/0.00185, allocations: 275.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.35e-05/1.36e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3906, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.063/4.453, allocations: 1.866 GB / 2.624 GB, free: 192.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/4.454, allocations: 87.83 kB / 2.624 GB, free: 192.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.278/5.732, allocations: 404.8 MB / 3.019 GB, free: 59.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/5.732, allocations: 3.938 kB / 3.019 GB, free: 59.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000116/5.732, allocations: 39.7 kB / 3.019 GB, free: 59.56 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003335/5.735, allocations: 1.612 MB / 3.021 GB, free: 57.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/5.735, allocations: 8.031 kB / 3.021 GB, free: 57.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002602/5.738, allocations: 399.3 kB / 3.021 GB, free: 57.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/5.741, allocations: 1.153 MB / 3.022 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.982e-05/5.741, allocations: 52.28 kB / 3.022 GB, free: 56.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/5.741, allocations: 79.94 kB / 3.022 GB, free: 56.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002135/5.743, allocations: 1.375 MB / 3.024 GB, free: 54.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/5.745, allocations: 1.202 MB / 3.025 GB, free: 53.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/5.745, allocations: 3.938 kB / 3.025 GB, free: 53.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/5.745, allocations: 4 kB / 3.025 GB, free: 53.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/5.745, allocations: 32 kB / 3.025 GB, free: 53.5 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.006216/5.751, allocations: 4.615 MB / 3.029 GB, free: 48.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/5.753, allocations: 1.337 MB / 3.031 GB, free: 47.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004726/5.753, allocations: 407.5 kB / 3.031 GB, free: 46.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006145/5.754, allocations: 429.1 kB / 3.032 GB, free: 46.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007337/5.755, allocations: 0.5661 MB / 3.032 GB, free: 45.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=98): time 2.695e-06/5.755, allocations: 0 / 3.032 GB, free: 45.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=98): time 0.002608/5.757, allocations: 1.046 MB / 3.033 GB, free: 44.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/5.757, allocations: 248.1 kB / 3.033 GB, free: 44.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007601/5.758, allocations: 0.6134 MB / 3.034 GB, free: 43.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.161e-05/5.758, allocations: 33.7 kB / 3.034 GB, free: 43.76 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003771/5.759, allocations: 0.5697 MB / 3.035 GB, free: 43.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/5.759, allocations: 315.3 kB / 3.035 GB, free: 42.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/5.759, allocations: 0 / 3.035 GB, free: 42.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.695e-05/5.759, allocations: 341.9 kB / 3.035 GB, free: 42.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/5.759, allocations: 310.5 kB / 3.035 GB, free: 42.22 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/5.76, allocations: 0.5031 MB / 3.036 GB, free: 41.65 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009647/5.761, allocations: 486 kB / 3.036 GB, free: 41.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/5.761, allocations: 7.953 kB / 3.036 GB, free: 41.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002134/5.763, allocations: 1.079 MB / 3.037 GB, free: 40.08 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/5.763, allocations: 12.03 kB / 3.037 GB, free: 40.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/5.763, allocations: 8 kB / 3.037 GB, free: 40.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005673/5.764, allocations: 92.75 kB / 3.038 GB, free: 39.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009648/5.765, allocations: 227.7 kB / 3.038 GB, free: 39.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/5.766, allocations: 1.473 MB / 3.039 GB, free: 38.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009579/5.767, allocations: 99.28 kB / 3.039 GB, free: 38.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.829e-05/5.767, allocations: 39.98 kB / 3.039 GB, free: 38.01 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * 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.0002308/5.767, allocations: 129.5 kB / 3.039 GB, free: 37.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/5.768, allocations: 102.8 kB / 3.04 GB, free: 37.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002764/5.77, allocations: 1.328 MB / 3.041 GB, free: 36.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/5.77, allocations: 8 kB / 3.041 GB, free: 36.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/5.77, allocations: 3.953 kB / 3.041 GB, free: 36.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/5.77, allocations: 7.984 kB / 3.041 GB, free: 36.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004149/5.775, allocations: 2.517 MB / 3.043 GB, free: 33.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/5.775, allocations: 0 / 3.043 GB, free: 33.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009415/5.776, allocations: 219.8 kB / 3.044 GB, free: 33.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004649/5.776, allocations: 84.77 kB / 3.044 GB, free: 33.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/5.776, allocations: 15.98 kB / 3.044 GB, free: 33.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/5.777, allocations: 1.497 MB / 3.045 GB, free: 31.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/5.778, allocations: 0 / 3.045 GB, free: 31.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/5.78, allocations: 1.219 MB / 3.046 GB, free: 30.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005761/5.781, allocations: 351.4 kB / 3.047 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/5.781, allocations: 8 kB / 3.047 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008365/5.782, allocations: 87.75 kB / 3.047 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/5.782, allocations: 81.16 kB / 3.047 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-05/5.782, allocations: 43.97 kB / 3.047 GB, free: 30.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005767/5.783, allocations: 491.1 kB / 3.047 GB, free: 29.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/5.783, allocations: 4 kB / 3.047 GB, free: 29.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001807/5.784, allocations: 0.5532 MB / 3.048 GB, free: 29.06 MB / 0.698 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) * 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.00283/5.787, allocations: 2.009 MB / 3.05 GB, free: 27.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001482/5.789, allocations: 0.9529 MB / 3.051 GB, free: 26.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/5.789, allocations: 3.938 kB / 3.051 GB, free: 26.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007272/5.789, allocations: 0.5851 MB / 3.051 GB, free: 25.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/5.791, allocations: 361.9 kB / 3.052 GB, free: 25.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/5.795, allocations: 1.786 MB / 3.053 GB, free: 23.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/5.796, allocations: 1.208 MB / 3.055 GB, free: 22.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001416/5.797, allocations: 367.9 kB / 3.055 GB, free: 21.78 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/5.797, allocations: 123.4 kB / 3.055 GB, free: 21.66 MB / 0.698 GB Notification: Performance of SimCode: time 8.02e-07/5.797, allocations: 4 kB / 3.055 GB, free: 21.66 MB / 0.698 GB Notification: Performance of Templates: time 0.4826/6.28, allocations: 27.13 MB / 3.082 GB, free: 147.7 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)