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.001055/0.001056, allocations: 169.4 kB / 12.72 MB, free: 2.594 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.413/1.413, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001752/0.001752, allocations: 99.5 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.784e-05/2.786e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07912/0.07916, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6964/0.7756, allocations: 263.1 MB / 0.5573 GB, free: 54.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.776, allocations: 65.59 kB / 0.5574 GB, free: 54.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02041/0.7964, allocations: 9.365 MB / 0.5665 GB, free: 46.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.7964, allocations: 0 / 0.5665 GB, free: 46.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.7965, allocations: 4 kB / 0.5665 GB, free: 46.55 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.0007861/0.7973, allocations: 453.9 kB / 0.567 GB, free: 46.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.7973, allocations: 12.03 kB / 0.567 GB, free: 46.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.7975, allocations: 27.73 kB / 0.567 GB, free: 46.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.7977, allocations: 206.3 kB / 0.5672 GB, free: 45.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.7978, allocations: 10.91 kB / 0.5672 GB, free: 45.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.7978, allocations: 15.56 kB / 0.5672 GB, free: 45.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.7981, allocations: 207.3 kB / 0.5674 GB, free: 45.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.7982, allocations: 0 / 0.5674 GB, free: 45.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.7982, allocations: 7.875 kB / 0.5674 GB, free: 45.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.7982, allocations: 4 kB / 0.5674 GB, free: 45.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.7984, allocations: 121.6 kB / 0.5676 GB, free: 45.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.7995, allocations: 0.9451 MB / 0.5685 GB, free: 44.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.7998, allocations: 130.1 kB / 0.5686 GB, free: 44.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.29e-05/0.7999, allocations: 50.84 kB / 0.5687 GB, free: 44.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004338/0.8003, allocations: 0.5012 MB / 0.5691 GB, free: 43.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.8003, allocations: 38.08 kB / 0.5692 GB, free: 43.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.8003, allocations: 0 / 0.5692 GB, free: 43.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.001627/0.802, allocations: 0.6425 MB / 0.5698 GB, free: 43.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.802, allocations: 55.41 kB / 0.5699 GB, free: 43.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.8021, allocations: 140.5 kB / 0.57 GB, free: 43.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.8022, allocations: 29.2 kB / 0.57 GB, free: 43.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.8022, allocations: 135.1 kB / 0.5702 GB, free: 42.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.8023, allocations: 74.05 kB / 0.5702 GB, free: 42.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/0.8023, allocations: 7.438 kB / 0.5702 GB, free: 42.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.379e-05/0.8024, allocations: 330.3 kB / 0.5705 GB, free: 42.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.968e-05/0.8025, allocations: 65.42 kB / 0.5706 GB, free: 42.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.8026, allocations: 173.5 kB / 0.5708 GB, free: 42.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.8028, allocations: 94.45 kB / 0.5709 GB, free: 42.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.8028, allocations: 4 kB / 0.5709 GB, free: 42.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003726/0.8032, allocations: 279.9 kB / 0.5711 GB, free: 41.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.8032, allocations: 12.08 kB / 0.5711 GB, free: 41.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.8032, allocations: 4 kB / 0.5712 GB, free: 41.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.8032, allocations: 8 kB / 0.5712 GB, free: 41.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.8036, allocations: 79.77 kB / 0.5712 GB, free: 41.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.8036, allocations: 7.938 kB / 0.5712 GB, free: 41.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.8038, allocations: 23.48 kB / 0.5713 GB, free: 41.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.8039, allocations: 12 kB / 0.5713 GB, free: 41.84 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 () * 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 9.814e-05/0.804, allocations: 125.2 kB / 0.5714 GB, free: 41.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.804, allocations: 25.61 kB / 0.5714 GB, free: 41.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/0.8044, allocations: 201.7 kB / 0.5716 GB, free: 41.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.8045, allocations: 4 kB / 0.5716 GB, free: 41.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.8045, allocations: 0 / 0.5716 GB, free: 41.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.8045, allocations: 3.984 kB / 0.5716 GB, free: 41.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009396/0.8054, allocations: 0.5647 MB / 0.5722 GB, free: 40.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.8054, allocations: 4 kB / 0.5722 GB, free: 40.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.8057, allocations: 43.97 kB / 0.5722 GB, free: 40.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.8057, allocations: 8.109 kB / 0.5722 GB, free: 40.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.8058, allocations: 11.73 kB / 0.5722 GB, free: 40.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.8058, allocations: 7.953 kB / 0.5722 GB, free: 40.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.8058, allocations: 3.938 kB / 0.5722 GB, free: 40.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004372/0.8062, allocations: 407.7 kB / 0.5726 GB, free: 40.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.8063, allocations: 85.05 kB / 0.5727 GB, free: 40.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.8063, allocations: 4 kB / 0.5727 GB, free: 40.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.8066, allocations: 15.27 kB / 0.5727 GB, free: 40.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.8066, allocations: 23.67 kB / 0.5728 GB, free: 40.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.8066, allocations: 11.98 kB / 0.5728 GB, free: 40.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.223e-05/0.8067, allocations: 114.8 kB / 0.5729 GB, free: 40.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8067, allocations: 0 / 0.5729 GB, free: 40.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.8071, allocations: 67.12 kB / 0.5729 GB, free: 40.21 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 () * 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.0002528/0.8073, allocations: 138.7 kB / 0.5731 GB, free: 40.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002907/0.8076, allocations: 180.5 kB / 0.5733 GB, free: 39.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.8077, allocations: 4 kB / 0.5733 GB, free: 39.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.925e-05/0.8078, allocations: 77.91 kB / 0.5733 GB, free: 39.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.8081, allocations: 37.27 kB / 0.5734 GB, free: 39.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006377/0.8087, allocations: 298.5 kB / 0.5736 GB, free: 39.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.8089, allocations: 0.7204 MB / 0.5744 GB, free: 38.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002517/0.8092, allocations: 46.05 kB / 0.5744 GB, free: 38.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-05/0.8092, allocations: 27.42 kB / 0.5744 GB, free: 38.73 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.8093, allocations: 0 / 0.5744 GB, free: 38.73 MB / 362.7 MB Notification: Performance of Templates: time 0.005768/0.815, allocations: 2.79 MB / 0.5771 GB, free: 35.96 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)