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.009186/0.009186, allocations: 165.6 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.399/1.399, allocations: 170.8 MB / 186.6 MB, free: 1.027 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.001655/0.001655, allocations: 119.3 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003446, allocations: 4 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2187, allocations: 38.76 MB / 312.9 MB, free: 38.87 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3757/0.5945, allocations: 182.4 MB / 495.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.5948, allocations: 72.45 kB / 495.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05195/0.6468, allocations: 22.33 MB / 0.5055 GB, free: 12.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6469, allocations: 0 / 0.5055 GB, free: 12.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.6469, allocations: 0 / 0.5055 GB, free: 12.51 MB / 330.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.0006585/0.6475, allocations: 437.8 kB / 0.5059 GB, free: 12.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.6476, allocations: 8.031 kB / 0.5059 GB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003695/0.648, allocations: 27.33 kB / 0.506 GB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.6482, allocations: 193.3 kB / 0.5062 GB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.6483, allocations: 11.89 kB / 0.5062 GB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.6483, allocations: 15.44 kB / 0.5062 GB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.6486, allocations: 128.8 kB / 0.5063 GB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.6486, allocations: 4 kB / 0.5063 GB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.6487, allocations: 7.984 kB / 0.5063 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.6487, allocations: 0 / 0.5063 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.6488, allocations: 108.8 kB / 0.5064 GB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007118/0.6496, allocations: 0.6299 MB / 0.507 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.6497, allocations: 91.94 kB / 0.5071 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000655/0.6504, allocations: 0.8066 MB / 0.5079 GB, free: 9.867 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.6504, allocations: 34.52 kB / 0.5079 GB, free: 9.824 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.6504, allocations: 0 / 0.5079 GB, free: 9.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.000303/0.6508, allocations: 128.4 kB / 0.5081 GB, free: 9.719 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.6508, allocations: 59.39 kB / 0.5081 GB, free: 9.648 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.6509, allocations: 112.6 kB / 0.5082 GB, free: 9.535 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.6509, allocations: 25.7 kB / 0.5083 GB, free: 9.504 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.171e-05/0.651, allocations: 103.7 kB / 0.5084 GB, free: 9.402 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.6511, allocations: 38.7 kB / 0.5084 GB, free: 9.367 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.6511, allocations: 3.938 kB / 0.5084 GB, free: 9.367 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.6512, allocations: 318.8 kB / 0.5087 GB, free: 9.051 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.869e-05/0.6513, allocations: 27.42 kB / 0.5087 GB, free: 9.031 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.981e-05/0.6514, allocations: 71.05 kB / 0.5088 GB, free: 8.953 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.955e-05/0.6514, allocations: 40.98 kB / 0.5088 GB, free: 8.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6514, allocations: 0 / 0.5088 GB, free: 8.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002135/0.6517, allocations: 128.9 kB / 0.509 GB, free: 8.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.6517, allocations: 11.98 kB / 0.509 GB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.6517, allocations: 0 / 0.509 GB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.6517, allocations: 7.953 kB / 0.509 GB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.6519, allocations: 27.98 kB / 0.509 GB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.6519, allocations: 7.938 kB / 0.509 GB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.233e-05/0.652, allocations: 15.47 kB / 0.509 GB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.652, allocations: 4 kB / 0.509 GB, free: 8.75 MB / 330.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 () * Number of clocked 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 0.0001009/0.6521, allocations: 125 kB / 0.5091 GB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.6521, allocations: 11.94 kB / 0.5092 GB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.6525, allocations: 156.7 kB / 0.5093 GB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.6525, allocations: 7.953 kB / 0.5093 GB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6525, allocations: 0 / 0.5093 GB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.6525, allocations: 0 / 0.5093 GB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.653, allocations: 398.2 kB / 0.5097 GB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.653, allocations: 0 / 0.5097 GB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.218e-05/0.6531, allocations: 27.92 kB / 0.5097 GB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.6531, allocations: 3.953 kB / 0.5097 GB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.6531, allocations: 7.797 kB / 0.5097 GB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.6531, allocations: 4 kB / 0.5097 GB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.6531, allocations: 0 / 0.5097 GB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.6534, allocations: 194.9 kB / 0.5099 GB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.431e-05/0.6535, allocations: 108.7 kB / 0.51 GB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.6535, allocations: 7.953 kB / 0.51 GB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-05/0.6536, allocations: 3.688 kB / 0.51 GB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.6536, allocations: 11.92 kB / 0.51 GB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.6536, allocations: 7.984 kB / 0.5101 GB, free: 7.699 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.149e-05/0.6537, allocations: 91.03 kB / 0.5101 GB, free: 7.613 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6537, allocations: 0 / 0.5101 GB, free: 7.613 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003719/0.6541, allocations: 63.86 kB / 0.5102 GB, free: 7.559 MB / 330.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 () * Number of clocked 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.0002927/0.6544, allocations: 155 kB / 0.5104 GB, free: 7.402 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.6546, allocations: 83.16 kB / 0.5104 GB, free: 7.336 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6546, allocations: 320 / 0.5104 GB, free: 7.336 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.865e-05/0.6547, allocations: 43.98 kB / 0.5105 GB, free: 7.301 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.655, allocations: 35.7 kB / 0.5105 GB, free: 7.273 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/0.6555, allocations: 302.1 kB / 0.5108 GB, free: 6.961 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.6558, allocations: 0.6931 MB / 0.5115 GB, free: 6.242 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001687/0.6559, allocations: 33.02 kB / 0.5115 GB, free: 6.207 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/0.656, allocations: 27.42 kB / 0.5115 GB, free: 6.18 MB / 330.7 MB Notification: Performance of SimCode: time 4.01e-07/0.656, allocations: 0 / 0.5115 GB, free: 6.18 MB / 330.7 MB Notification: Performance of Templates: time 0.006597/0.6626, allocations: 2.223 MB / 0.5137 GB, free: 3.98 MB / 330.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)