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.0008979/0.000898, allocations: 165.9 kB / 7.636 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.235/1.235, allocations: 170.6 MB / 178.7 MB, free: 15.66 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.001617/0.001617, allocations: 111.4 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.367e-05/1.368e-05, allocations: 4 kB / 262.2 MB, free: 26.42 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06196/0.06199, allocations: 38.77 MB / 301 MB, free: 3.668 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5387/0.6007, allocations: 262.4 MB / 0.5502 GB, free: 34.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.601, allocations: 72.27 kB / 0.5503 GB, free: 34.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01916/0.6201, allocations: 9.296 MB / 0.5593 GB, free: 26.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6202, allocations: 0 / 0.5593 GB, free: 26.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.6202, allocations: 4 kB / 0.5593 GB, free: 26.96 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006239/0.6208, allocations: 442.6 kB / 0.5598 GB, free: 26.49 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.6209, allocations: 16.02 kB / 0.5598 GB, free: 26.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.621, allocations: 19.81 kB / 0.5598 GB, free: 26.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.6212, allocations: 213.3 kB / 0.56 GB, free: 26.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.6212, allocations: 4 kB / 0.56 GB, free: 26.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.6213, allocations: 8 kB / 0.56 GB, free: 26.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002002/0.6215, allocations: 112.2 kB / 0.5601 GB, free: 26.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.6217, allocations: 180.5 kB / 0.5603 GB, free: 25.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.6217, allocations: 11.92 kB / 0.5603 GB, free: 25.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.6217, allocations: 2.078 kB / 0.5603 GB, free: 25.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.6217, allocations: 4 kB / 0.5603 GB, free: 25.94 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009385/0.6227, allocations: 0.9012 MB / 0.5612 GB, free: 25.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.6229, allocations: 119.7 kB / 0.5613 GB, free: 24.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.81e-05/0.623, allocations: 51.81 kB / 0.5613 GB, free: 24.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003935/0.6234, allocations: 0.498 MB / 0.5618 GB, free: 24.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.6234, allocations: 37.31 kB / 0.5619 GB, free: 24.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.6234, allocations: 0 / 0.5619 GB, free: 24.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.001551/0.625, allocations: 0.6001 MB / 0.5625 GB, free: 23.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.533e-05/0.625, allocations: 55.41 kB / 0.5625 GB, free: 23.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.895e-05/0.6251, allocations: 140.5 kB / 0.5626 GB, free: 23.56 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.6251, allocations: 25.7 kB / 0.5627 GB, free: 23.53 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.6251, allocations: 138.6 kB / 0.5628 GB, free: 23.4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.6252, allocations: 70.06 kB / 0.5629 GB, free: 23.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.413e-05/0.6252, allocations: 0 / 0.5629 GB, free: 23.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.339e-05/0.6252, allocations: 330 kB / 0.5632 GB, free: 23.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/0.6253, allocations: 57.55 kB / 0.5632 GB, free: 22.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.6254, allocations: 163.9 kB / 0.5634 GB, free: 22.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.6256, allocations: 82.14 kB / 0.5635 GB, free: 22.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.6256, allocations: 4 kB / 0.5635 GB, free: 22.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003376/0.6259, allocations: 246.9 kB / 0.5637 GB, free: 22.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.626, allocations: 11.91 kB / 0.5637 GB, free: 22.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.626, allocations: 4.469 kB / 0.5637 GB, free: 22.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.626, allocations: 12 kB / 0.5637 GB, free: 22.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.6263, allocations: 82.95 kB / 0.5638 GB, free: 22.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.6264, allocations: 8 kB / 0.5638 GB, free: 22.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.6266, allocations: 15.92 kB / 0.5638 GB, free: 22.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.6266, allocations: 19.61 kB / 0.5639 GB, free: 22.39 MB / 346.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 6.481e-05/0.6267, allocations: 112.8 kB / 0.564 GB, free: 22.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.6267, allocations: 19.81 kB / 0.564 GB, free: 22.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003462/0.6271, allocations: 194.2 kB / 0.5642 GB, free: 22.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.6271, allocations: 0 / 0.5642 GB, free: 22.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6271, allocations: 4 kB / 0.5642 GB, free: 22.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6271, allocations: 0 / 0.5642 GB, free: 22.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008138/0.6279, allocations: 0.513 MB / 0.5647 GB, free: 21.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6279, allocations: 0 / 0.5647 GB, free: 21.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.6282, allocations: 55.77 kB / 0.5647 GB, free: 21.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.6282, allocations: 3.938 kB / 0.5647 GB, free: 21.53 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.6283, allocations: 7.984 kB / 0.5647 GB, free: 21.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6283, allocations: 4 kB / 0.5647 GB, free: 21.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6283, allocations: 8.062 kB / 0.5648 GB, free: 21.51 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003937/0.6287, allocations: 385.8 kB / 0.5651 GB, free: 21.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.6287, allocations: 85.05 kB / 0.5652 GB, free: 21.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.6288, allocations: 4 kB / 0.5652 GB, free: 21.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.629, allocations: 11.89 kB / 0.5652 GB, free: 21.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.629, allocations: 19.73 kB / 0.5652 GB, free: 21.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.6291, allocations: 11.98 kB / 0.5652 GB, free: 21 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.474e-05/0.6291, allocations: 107 kB / 0.5653 GB, free: 20.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6291, allocations: 0 / 0.5653 GB, free: 20.9 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003322/0.6294, allocations: 59.75 kB / 0.5654 GB, free: 20.84 MB / 346.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.0001989/0.6297, allocations: 143.6 kB / 0.5655 GB, free: 20.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.6299, allocations: 165.9 kB / 0.5657 GB, free: 20.58 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6299, allocations: 0 / 0.5657 GB, free: 20.58 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.051e-05/0.63, allocations: 72.42 kB / 0.5658 GB, free: 20.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.6303, allocations: 33.16 kB / 0.5658 GB, free: 20.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005809/0.6309, allocations: 284.2 kB / 0.5661 GB, free: 20.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.631, allocations: 0.7165 MB / 0.5668 GB, free: 19.47 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002461/0.6313, allocations: 46 kB / 0.5668 GB, free: 19.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.583e-05/0.6314, allocations: 27.42 kB / 0.5668 GB, free: 19.4 MB / 346.7 MB Notification: Performance of SimCode: time 8.02e-07/0.6314, allocations: 0 / 0.5668 GB, free: 19.4 MB / 346.7 MB Notification: Performance of Templates: time 0.004605/0.636, allocations: 2.597 MB / 0.5694 GB, free: 16.81 MB / 346.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)