Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.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.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001306/0.001306, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.261/1.261, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001463/0.001463, allocations: 115.4 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.018e-05/1.021e-05, allocations: 0 / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09209/0.09212, allocations: 38.77 MB / 301 MB, free: 3.645 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6581/0.7503, allocations: 181.6 MB / 482.6 MB, free: 129.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.7505, allocations: 68.25 kB / 482.7 MB, free: 129.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0453/0.7958, allocations: 22.11 MB / 0.4929 GB, free: 108.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.7959, allocations: 0 / 0.4929 GB, free: 108.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.7959, allocations: 4 kB / 0.4929 GB, free: 108.5 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004461/0.7964, allocations: 428 kB / 0.4933 GB, free: 108.1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.7964, allocations: 12.03 kB / 0.4934 GB, free: 108.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000301/0.7967, allocations: 23.88 kB / 0.4934 GB, free: 108 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.7969, allocations: 198.8 kB / 0.4936 GB, free: 107.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.7969, allocations: 7.953 kB / 0.4936 GB, free: 107.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.7969, allocations: 7.984 kB / 0.4936 GB, free: 107.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001665/0.7971, allocations: 99.92 kB / 0.4937 GB, free: 107.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.7973, allocations: 117.1 kB / 0.4938 GB, free: 107.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.7973, allocations: 3.938 kB / 0.4938 GB, free: 107.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.7973, allocations: 0 / 0.4938 GB, free: 107.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.7973, allocations: 4 kB / 0.4938 GB, free: 107.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.7978, allocations: 0.5914 MB / 0.4944 GB, free: 106.9 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.7979, allocations: 86.44 kB / 0.4945 GB, free: 106.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.798, allocations: 32.86 kB / 0.4945 GB, free: 106.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000423/0.7984, allocations: 0.8037 MB / 0.4953 GB, free: 105.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.7985, allocations: 34.56 kB / 0.4953 GB, free: 105.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.7985, allocations: 0 / 0.4953 GB, free: 105.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005932/0.7991, allocations: 138.4 kB / 0.4954 GB, free: 105.6 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.74e-05/0.7991, allocations: 51.41 kB / 0.4955 GB, free: 105.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.235e-05/0.7992, allocations: 109.1 kB / 0.4956 GB, free: 105.4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.7992, allocations: 29.7 kB / 0.4956 GB, free: 105.4 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.7992, allocations: 95.89 kB / 0.4957 GB, free: 105.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.7993, allocations: 43.36 kB / 0.4958 GB, free: 105.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.7993, allocations: 0 / 0.4958 GB, free: 105.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.386e-05/0.7993, allocations: 318.8 kB / 0.4961 GB, free: 104.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.7994, allocations: 24 kB / 0.4961 GB, free: 104.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.205e-05/0.7994, allocations: 64.98 kB / 0.4961 GB, free: 104.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.7998, allocations: 73.19 kB / 0.4962 GB, free: 104.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7998, allocations: 0 / 0.4962 GB, free: 104.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005051/0.8004, allocations: 157.9 kB / 0.4964 GB, free: 104.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.8004, allocations: 4 kB / 0.4964 GB, free: 104.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.8004, allocations: 12.09 kB / 0.4964 GB, free: 104.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.8004, allocations: 0 / 0.4964 GB, free: 104.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.8005, allocations: 35.94 kB / 0.4964 GB, free: 104.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.8005, allocations: 0 / 0.4964 GB, free: 104.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.228e-05/0.8006, allocations: 11.84 kB / 0.4964 GB, free: 104.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.8006, allocations: 11.98 kB / 0.4964 GB, free: 104.5 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 5.315e-05/0.8007, allocations: 108.9 kB / 0.4965 GB, free: 104.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.8007, allocations: 7.906 kB / 0.4965 GB, free: 104.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005644/0.8013, allocations: 163.3 kB / 0.4967 GB, free: 104.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.8013, allocations: 7.984 kB / 0.4967 GB, free: 104.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.8013, allocations: 7.938 kB / 0.4967 GB, free: 104.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.8013, allocations: 0 / 0.4967 GB, free: 104.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006212/0.802, allocations: 387 kB / 0.4971 GB, free: 103.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.802, allocations: 0 / 0.4971 GB, free: 103.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.8021, allocations: 31.86 kB / 0.4971 GB, free: 103.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.8021, allocations: 0 / 0.4971 GB, free: 103.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.8021, allocations: 11.98 kB / 0.4971 GB, free: 103.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.8021, allocations: 3.953 kB / 0.4971 GB, free: 103.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.8021, allocations: 0 / 0.4971 GB, free: 103.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/0.8026, allocations: 227.4 kB / 0.4974 GB, free: 103.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.8027, allocations: 93 kB / 0.4974 GB, free: 103.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.8027, allocations: 0 / 0.4974 GB, free: 103.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.506e-05/0.8028, allocations: 11.98 kB / 0.4975 GB, free: 103.4 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.8028, allocations: 7.953 kB / 0.4975 GB, free: 103.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.8028, allocations: 11.98 kB / 0.4975 GB, free: 103.4 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.263e-05/0.8029, allocations: 87.28 kB / 0.4976 GB, free: 103.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8029, allocations: 0 / 0.4976 GB, free: 103.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003533/0.8032, allocations: 55.92 kB / 0.4976 GB, free: 103.2 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.000267/0.8035, allocations: 159.4 kB / 0.4978 GB, free: 103.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.8037, allocations: 67.92 kB / 0.4978 GB, free: 103 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8037, allocations: 3.938 kB / 0.4978 GB, free: 103 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.555e-05/0.8037, allocations: 35.94 kB / 0.4979 GB, free: 103 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.8041, allocations: 48.2 kB / 0.4979 GB, free: 102.9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.8043, allocations: 104.3 kB / 0.498 GB, free: 102.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.8045, allocations: 0.6928 MB / 0.4987 GB, free: 102.1 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.8046, allocations: 28.8 kB / 0.4987 GB, free: 102 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.8047, allocations: 31.36 kB / 0.4987 GB, free: 102 MB / 346.7 MB Notification: Performance of SimCode: time 3.8e-07/0.8047, allocations: 0 / 0.4987 GB, free: 102 MB / 346.7 MB Notification: Performance of Templates: time 0.004347/0.809, allocations: 2.206 MB / 0.5009 GB, free: 99.8 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1)