Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01122/0.01122, allocations: 165.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.537/1.537, allocations: 170.8 MB / 186.6 MB, free: 0.9922 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001869/0.001869, allocations: 114.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003656, allocations: 11.94 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2556, allocations: 38.76 MB / 312.9 MB, free: 38.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7551/1.011, allocations: 263.2 MB / 0.5626 GB, free: 138.6 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/1.011, allocations: 68 kB / 0.5626 GB, free: 138.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02079/1.032, allocations: 9.401 MB / 0.5718 GB, free: 129.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.916e-06/1.032, allocations: 0 / 0.5718 GB, free: 129.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.42e-05/1.032, allocations: 4 kB / 0.5718 GB, free: 129.6 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008181/1.033, allocations: 459.8 kB / 0.5722 GB, free: 129.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/1.033, allocations: 8.031 kB / 0.5722 GB, free: 129.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/1.033, allocations: 19.89 kB / 0.5723 GB, free: 129.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/1.033, allocations: 214.7 kB / 0.5725 GB, free: 128.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/1.033, allocations: 8.281 kB / 0.5725 GB, free: 128.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.017e-05/1.033, allocations: 19.98 kB / 0.5725 GB, free: 128.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/1.034, allocations: 216.5 kB / 0.5727 GB, free: 128.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/1.034, allocations: 0 / 0.5727 GB, free: 128.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/1.034, allocations: 8 kB / 0.5727 GB, free: 128.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/1.034, allocations: 4 kB / 0.5727 GB, free: 128.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003102/1.034, allocations: 147.8 kB / 0.5729 GB, free: 128.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/1.035, allocations: 0.9359 MB / 0.5738 GB, free: 127.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/1.036, allocations: 146.7 kB / 0.5739 GB, free: 127.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004448/1.036, allocations: 0.5151 MB / 0.5744 GB, free: 126.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/1.036, allocations: 30.56 kB / 0.5744 GB, free: 126.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/1.036, allocations: 0 / 0.5744 GB, free: 126.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.002399/1.039, allocations: 0.7596 MB / 0.5752 GB, free: 125.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/1.039, allocations: 55.34 kB / 0.5752 GB, free: 125.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/1.039, allocations: 149.2 kB / 0.5754 GB, free: 125.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/1.039, allocations: 29.7 kB / 0.5754 GB, free: 125.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/1.039, allocations: 139.8 kB / 0.5755 GB, free: 125.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/1.039, allocations: 70.98 kB / 0.5756 GB, free: 125.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/1.039, allocations: 4 kB / 0.5756 GB, free: 125.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.647e-05/1.039, allocations: 330.8 kB / 0.5759 GB, free: 125 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/1.039, allocations: 87.94 kB / 0.576 GB, free: 124.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/1.04, allocations: 191.5 kB / 0.5762 GB, free: 124.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/1.04, allocations: 104.8 kB / 0.5763 GB, free: 124.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.04, allocations: 0 / 0.5763 GB, free: 124.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005661/1.04, allocations: 315 kB / 0.5766 GB, free: 124.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/1.04, allocations: 4 kB / 0.5766 GB, free: 124.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.04, allocations: 11.92 kB / 0.5766 GB, free: 124.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/1.04, allocations: 11.94 kB / 0.5766 GB, free: 124.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/1.041, allocations: 84.34 kB / 0.5767 GB, free: 124.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/1.041, allocations: 4 kB / 0.5767 GB, free: 124.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/1.041, allocations: 23.89 kB / 0.5767 GB, free: 124.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/1.041, allocations: 12 kB / 0.5767 GB, free: 124.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00011/1.041, allocations: 141.7 kB / 0.5769 GB, free: 124 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/1.041, allocations: 11.91 kB / 0.5769 GB, free: 124 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005765/1.042, allocations: 241.7 kB / 0.5771 GB, free: 123.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.042, allocations: 0 / 0.5771 GB, free: 123.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/1.042, allocations: 0 / 0.5771 GB, free: 123.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/1.042, allocations: 3.984 kB / 0.5771 GB, free: 123.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/1.043, allocations: 0.593 MB / 0.5777 GB, free: 123.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.043, allocations: 3.938 kB / 0.5777 GB, free: 123.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/1.043, allocations: 56.02 kB / 0.5778 GB, free: 123 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/1.043, allocations: 8 kB / 0.5778 GB, free: 123 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/1.043, allocations: 8 kB / 0.5778 GB, free: 123 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.043, allocations: 3.953 kB / 0.5778 GB, free: 123 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.043, allocations: 4 kB / 0.5778 GB, free: 123 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007002/1.044, allocations: 445.5 kB / 0.5782 GB, free: 122.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/1.044, allocations: 88.95 kB / 0.5783 GB, free: 122.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/1.044, allocations: 8 kB / 0.5783 GB, free: 122.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/1.044, allocations: 11.98 kB / 0.5783 GB, free: 122.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/1.044, allocations: 15.97 kB / 0.5783 GB, free: 122.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/1.044, allocations: 12.06 kB / 0.5783 GB, free: 122.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.298e-05/1.045, allocations: 112.1 kB / 0.5784 GB, free: 122.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.045, allocations: 0 / 0.5784 GB, free: 122.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003684/1.045, allocations: 79.83 kB / 0.5785 GB, free: 122.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002474/1.045, allocations: 147.1 kB / 0.5787 GB, free: 122 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000516/1.046, allocations: 216.1 kB / 0.5789 GB, free: 121.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.046, allocations: 0 / 0.5789 GB, free: 121.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/1.046, allocations: 87.81 kB / 0.579 GB, free: 121.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/1.046, allocations: 40 kB / 0.579 GB, free: 121.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/1.047, allocations: 0.5506 MB / 0.5795 GB, free: 121.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/1.047, allocations: 0.7245 MB / 0.5802 GB, free: 120.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002532/1.048, allocations: 41.95 kB / 0.5803 GB, free: 120.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.539e-05/1.048, allocations: 23.42 kB / 0.5803 GB, free: 120.3 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/1.048, allocations: 0 / 0.5803 GB, free: 120.3 MB / 362.7 MB Notification: Performance of Templates: time 0.005626/1.053, allocations: 2.726 MB / 0.583 GB, free: 117.6 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1)