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.843/0.843, allocations: 143.4 MB / 158.3 MB, free: 5.797 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.001366/0.001366, allocations: 183.5 kB / 191.5 MB, free: 5.762 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.639/1.639, allocations: 223.2 MB / 447.7 MB, free: 4.828 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.001059/0.001059, allocations: 88.33 kB / 0.5188 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001776/0.001776, allocations: 281 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000498/0.0004981, allocations: 13.95 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1999, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.836/5.036, allocations: 1.867 GB / 2.641 GB, free: 210.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/5.036, allocations: 93.58 kB / 2.641 GB, free: 210.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.19/6.226, allocations: 410 MB / 3.041 GB, free: 85.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.953e-06/6.226, allocations: 4 kB / 3.041 GB, free: 85.97 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001091/6.226, allocations: 39.94 kB / 3.041 GB, free: 85.93 MB / 0.7136 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.0034/6.23, allocations: 1.781 MB / 3.043 GB, free: 84.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/6.23, allocations: 8.031 kB / 3.043 GB, free: 84.11 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002457/6.232, allocations: 407.3 kB / 3.043 GB, free: 83.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/6.234, allocations: 1.164 MB / 3.045 GB, free: 82.51 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.141e-05/6.235, allocations: 98.97 kB / 3.045 GB, free: 82.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/6.235, allocations: 131.9 kB / 3.045 GB, free: 82.28 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/6.237, allocations: 1.437 MB / 3.046 GB, free: 80.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/6.237, allocations: 3.938 kB / 3.046 GB, free: 80.76 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/6.237, allocations: 60 kB / 3.046 GB, free: 80.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/6.237, allocations: 32 kB / 3.046 GB, free: 80.67 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/6.239, allocations: 1.52 MB / 3.048 GB, free: 79.14 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.006068/6.245, allocations: 4.889 MB / 3.053 GB, free: 74.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00221/6.248, allocations: 1.462 MB / 3.054 GB, free: 72.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006499/6.248, allocations: 433.3 kB / 3.054 GB, free: 71.99 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009048/6.249, allocations: 0.6389 MB / 3.055 GB, free: 71.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=98): time 3.095e-06/6.249, allocations: 0 / 3.055 GB, free: 71.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=98): time 0.003773/6.253, allocations: 1.591 MB / 3.057 GB, free: 69.71 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/6.253, allocations: 240.3 kB / 3.057 GB, free: 69.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/6.254, allocations: 0.8185 MB / 3.058 GB, free: 68.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.94e-05/6.254, allocations: 45.7 kB / 3.058 GB, free: 68.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004017/6.255, allocations: 0.5701 MB / 3.058 GB, free: 67.96 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/6.255, allocations: 331.1 kB / 3.058 GB, free: 67.63 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/6.255, allocations: 16 kB / 3.058 GB, free: 67.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001314/6.255, allocations: 341.9 kB / 3.059 GB, free: 67.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005964/6.256, allocations: 361.8 kB / 3.059 GB, free: 66.92 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007167/6.256, allocations: 0.5453 MB / 3.06 GB, free: 66.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007132/6.257, allocations: 451.2 kB / 3.06 GB, free: 65.87 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/6.257, allocations: 0 / 3.06 GB, free: 65.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002178/6.259, allocations: 1.125 MB / 3.061 GB, free: 64.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/6.259, allocations: 8 kB / 3.061 GB, free: 64.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/6.259, allocations: 4 kB / 3.061 GB, free: 64.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006251/6.26, allocations: 89.14 kB / 3.061 GB, free: 64.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/6.261, allocations: 231.7 kB / 3.062 GB, free: 64.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/6.263, allocations: 1.553 MB / 3.063 GB, free: 62.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009896/6.264, allocations: 138.9 kB / 3.063 GB, free: 62.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.425e-05/6.264, allocations: 43.97 kB / 3.063 GB, free: 62.53 MB / 0.7136 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 () * Number of clocked 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.000613/6.264, allocations: 330.3 kB / 3.064 GB, free: 62.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/6.264, allocations: 114.7 kB / 3.064 GB, free: 62.08 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/6.267, allocations: 1.389 MB / 3.065 GB, free: 60.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/6.267, allocations: 12 kB / 3.065 GB, free: 60.67 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/6.267, allocations: 0 / 3.065 GB, free: 60.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/6.267, allocations: 3.984 kB / 3.065 GB, free: 60.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004054/6.271, allocations: 2.73 MB / 3.068 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/6.271, allocations: 0 / 3.068 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009252/6.272, allocations: 215.8 kB / 3.068 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005007/6.273, allocations: 92.7 kB / 3.068 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/6.273, allocations: 27.98 kB / 3.068 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/6.274, allocations: 1.575 MB / 3.07 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/6.274, allocations: 4.062 kB / 3.07 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/6.276, allocations: 1.25 MB / 3.071 GB, free: 54.56 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005767/6.277, allocations: 375.1 kB / 3.071 GB, free: 54.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/6.277, allocations: 27.98 kB / 3.071 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008846/6.278, allocations: 99.77 kB / 3.071 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/6.278, allocations: 76.88 kB / 3.071 GB, free: 53.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.852e-05/6.278, allocations: 51.97 kB / 3.071 GB, free: 53.92 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007391/6.279, allocations: 0.6373 MB / 3.072 GB, free: 53.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/6.279, allocations: 4 kB / 3.072 GB, free: 53.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001745/6.281, allocations: 0.6081 MB / 3.073 GB, free: 52.66 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.002829/6.284, allocations: 1.917 MB / 3.074 GB, free: 50.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001866/6.285, allocations: 1.062 MB / 3.076 GB, free: 49.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/6.285, allocations: 8 kB / 3.076 GB, free: 49.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009379/6.286, allocations: 0.6523 MB / 3.076 GB, free: 49.13 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/6.288, allocations: 471 kB / 3.077 GB, free: 48.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/6.293, allocations: 2.948 MB / 3.079 GB, free: 45.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/6.293, allocations: 1.212 MB / 3.081 GB, free: 44.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001362/6.295, allocations: 381.2 kB / 3.081 GB, free: 44.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/6.295, allocations: 131.4 kB / 3.081 GB, free: 43.96 MB / 0.7136 GB Notification: Performance of SimCode: time 1.202e-06/6.295, allocations: 0 / 3.081 GB, free: 43.96 MB / 0.7136 GB Notification: Performance of Templates: time 0.05083/6.346, allocations: 38.48 MB / 3.119 GB, free: 5.707 MB / 0.7136 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)