Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001025, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004875/0.0004878, allocations: 8 kB / 278.8 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2754, allocations: 47.59 MB / 326.4 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004184/0.2797, allocations: 3.698 MB / 330.1 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.2815, allocations: 1.517 MB / 331.6 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.858e-05/0.2816, allocations: 0.875 kB / 331.6 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.2818, allocations: 36.27 kB / 331.7 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.2821, allocations: 101.5 kB / 331.8 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005948/0.2827, allocations: 225.8 kB / 332 MB, free: 12.94 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003097/0.2831, allocations: 173.8 kB / 332.2 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.987e-05/0.2831, allocations: 20.12 kB / 332.2 MB, free: 12.83 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.2834, allocations: 117.1 kB / 332.3 MB, free: 12.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.2836, allocations: 63.16 kB / 332.4 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.2836, allocations: 5.656 kB / 332.4 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.2839, allocations: 92.41 kB / 332.5 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.651e-05/0.284, allocations: 34 kB / 332.5 MB, free: 12.68 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.875e-05/0.284, allocations: 51.2 kB / 332.5 MB, free: 12.64 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.2843, allocations: 138.5 kB / 332.7 MB, free: 12.56 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2843, allocations: 4 kB / 332.7 MB, free: 12.55 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.2843, allocations: 0 / 332.7 MB, free: 12.55 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.2843, allocations: 4 kB / 332.7 MB, free: 12.55 MB / 270.1 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.0009609/0.2853, allocations: 450.2 kB / 333.1 MB, free: 12.12 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.2854, allocations: 11.92 kB / 333.1 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.2856, allocations: 20.75 kB / 333.2 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.2858, allocations: 208.7 kB / 333.4 MB, free: 11.88 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2858, allocations: 15.53 kB / 333.4 MB, free: 11.87 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.2859, allocations: 11.53 kB / 333.4 MB, free: 11.87 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.2863, allocations: 212.8 kB / 333.6 MB, free: 11.7 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.2863, allocations: 1 kB / 333.6 MB, free: 11.7 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.2864, allocations: 10.12 kB / 333.6 MB, free: 11.7 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.2864, allocations: 4.25 kB / 333.6 MB, free: 11.7 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003627/0.2867, allocations: 149.7 kB / 333.8 MB, free: 11.62 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.2881, allocations: 0.9486 MB / 334.7 MB, free: 10.71 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.2885, allocations: 154.8 kB / 334.9 MB, free: 10.62 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005612/0.2891, allocations: 0.5014 MB / 335.4 MB, free: 10.09 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.2891, allocations: 35.67 kB / 335.4 MB, free: 10.05 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.2891, allocations: 1.219 kB / 335.4 MB, free: 10.05 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002549/0.2917, allocations: 0.769 MB / 336.2 MB, free: 9.441 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.2917, allocations: 55.41 kB / 336.2 MB, free: 9.375 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.2919, allocations: 154.8 kB / 336.4 MB, free: 9.215 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.2919, allocations: 29.7 kB / 336.4 MB, free: 9.18 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.292, allocations: 139.8 kB / 336.5 MB, free: 9.039 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.954e-05/0.2921, allocations: 74.98 kB / 336.6 MB, free: 8.965 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/0.2921, allocations: 12 kB / 336.6 MB, free: 8.953 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.2922, allocations: 322.8 kB / 336.9 MB, free: 8.629 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.2925, allocations: 79.94 kB / 337 MB, free: 8.551 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.2928, allocations: 197.9 kB / 337.2 MB, free: 8.309 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.293, allocations: 96.91 kB / 337.3 MB, free: 8.215 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.293, allocations: 4 kB / 337.3 MB, free: 8.211 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006379/0.2937, allocations: 323.4 kB / 337.6 MB, free: 7.891 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2937, allocations: 8 kB / 337.6 MB, free: 7.883 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.2937, allocations: 15.94 kB / 337.6 MB, free: 7.867 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.2938, allocations: 4 kB / 337.7 MB, free: 7.863 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.2941, allocations: 83.89 kB / 337.7 MB, free: 7.781 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.2941, allocations: 4 kB / 337.7 MB, free: 7.777 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.2944, allocations: 23.86 kB / 337.8 MB, free: 7.754 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.2944, allocations: 20.06 kB / 337.8 MB, free: 7.734 MB / 270.1 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.0001216/0.2945, allocations: 137.9 kB / 337.9 MB, free: 7.59 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.2946, allocations: 15.81 kB / 337.9 MB, free: 7.574 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006427/0.2952, allocations: 230.6 kB / 338.2 MB, free: 7.348 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2953, allocations: 11.98 kB / 338.2 MB, free: 7.336 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.2953, allocations: 0 / 338.2 MB, free: 7.336 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2953, allocations: 3.953 kB / 338.2 MB, free: 7.332 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.2965, allocations: 0.599 MB / 338.8 MB, free: 6.664 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2965, allocations: 0 / 338.8 MB, free: 6.664 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.2968, allocations: 47.95 kB / 338.8 MB, free: 6.617 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.2968, allocations: 4 kB / 338.8 MB, free: 6.613 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.2968, allocations: 8 kB / 338.8 MB, free: 6.605 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2968, allocations: 4.062 kB / 338.8 MB, free: 6.602 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2969, allocations: 11.94 kB / 338.8 MB, free: 6.59 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008008/0.2977, allocations: 441.6 kB / 339.3 MB, free: 6.105 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.2977, allocations: 85.05 kB / 339.4 MB, free: 6.004 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.2978, allocations: 8 kB / 339.4 MB, free: 5.996 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.298, allocations: 27.91 kB / 339.4 MB, free: 5.969 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.2981, allocations: 15.97 kB / 339.4 MB, free: 5.953 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.2981, allocations: 7.938 kB / 339.4 MB, free: 5.945 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.06e-05/0.2982, allocations: 119.2 kB / 339.5 MB, free: 5.828 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2982, allocations: 0 / 339.5 MB, free: 5.828 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003738/0.2985, allocations: 59.94 kB / 339.6 MB, free: 5.77 MB / 270.1 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.0001909/0.2987, allocations: 119.2 kB / 339.7 MB, free: 5.641 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005796/0.2993, allocations: 216.2 kB / 339.9 MB, free: 5.43 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2993, allocations: 0 / 339.9 MB, free: 5.43 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.2996, allocations: 91.81 kB / 340 MB, free: 5.34 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.2999, allocations: 40.55 kB / 340 MB, free: 5.301 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.301, allocations: 0.5528 MB / 340.6 MB, free: 4.711 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.3014, allocations: 0.7284 MB / 341.3 MB, free: 3.957 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002758/0.3017, allocations: 45.88 kB / 341.4 MB, free: 3.91 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.392e-05/0.3018, allocations: 31.42 kB / 341.4 MB, free: 3.879 MB / 270.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3018, allocations: 0 / 341.4 MB, free: 3.879 MB / 270.1 MB Notification: Performance of Templates: time 0.006352/0.3081, allocations: 2.476 MB / 343.9 MB, free: 1.402 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) Environment - environmentSimulation: