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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008733/0.0008734, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007714/0.007715, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0007951/0.000795, allocations: 16 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2712, allocations: 47.58 MB / 327 MB, free: 1.352 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00464/0.2759, allocations: 4.124 MB / 331.1 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.2779, allocations: 1.789 MB / 332.9 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.278, allocations: 5.594 kB / 332.9 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.2782, allocations: 41.44 kB / 333 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.2785, allocations: 108.1 kB / 333.1 MB, free: 12.41 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.2791, allocations: 238.2 kB / 333.3 MB, free: 12.25 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004043/0.2795, allocations: 366.2 kB / 333.7 MB, free: 12.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.2796, allocations: 15.48 kB / 333.7 MB, free: 12.06 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.2798, allocations: 123.6 kB / 333.8 MB, free: 12 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.28, allocations: 84.89 kB / 333.9 MB, free: 11.95 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.28, allocations: 9.562 kB / 333.9 MB, free: 11.95 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.2802, allocations: 104.1 kB / 334 MB, free: 11.9 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.771e-05/0.2803, allocations: 37.33 kB / 334 MB, free: 11.88 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.7e-05/0.2804, allocations: 95.7 kB / 334.1 MB, free: 11.81 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.2807, allocations: 207.4 kB / 334.3 MB, free: 11.69 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2807, allocations: 1.188 kB / 334.3 MB, free: 11.69 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2807, allocations: 0 / 334.3 MB, free: 11.69 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.2808, allocations: 0 / 334.3 MB, free: 11.69 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.0008561/0.2816, allocations: 456.4 kB / 334.8 MB, free: 11.25 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.2817, allocations: 9.156 kB / 334.8 MB, free: 11.25 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.2818, allocations: 27.08 kB / 334.8 MB, free: 11.24 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.282, allocations: 200.3 kB / 335 MB, free: 11.02 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.2821, allocations: 14.34 kB / 335 MB, free: 11.01 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.2821, allocations: 14.59 kB / 335 MB, free: 11 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004131/0.2825, allocations: 218.3 kB / 335.3 MB, free: 10.84 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.2826, allocations: 1.5 kB / 335.3 MB, free: 10.84 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.2826, allocations: 7.344 kB / 335.3 MB, free: 10.83 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.2826, allocations: 7.219 kB / 335.3 MB, free: 10.83 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/0.283, allocations: 150.9 kB / 335.4 MB, free: 10.76 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.2843, allocations: 0.9464 MB / 336.4 MB, free: 9.773 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/0.2847, allocations: 142.8 kB / 336.5 MB, free: 9.625 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.2848, allocations: 56.83 kB / 336.6 MB, free: 9.566 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004976/0.2853, allocations: 0.5109 MB / 337.1 MB, free: 8.992 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2853, allocations: 30.56 kB / 337.1 MB, free: 8.953 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.2854, allocations: 7.938 kB / 337.1 MB, free: 8.945 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002468/0.2878, allocations: 0.7631 MB / 337.9 MB, free: 8.129 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.2879, allocations: 55.41 kB / 337.9 MB, free: 8.062 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.288, allocations: 150.3 kB / 338.1 MB, free: 7.906 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.2881, allocations: 37.69 kB / 338.1 MB, free: 7.863 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.2881, allocations: 135.9 kB / 338.2 MB, free: 7.727 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.864e-05/0.2882, allocations: 74.94 kB / 338.3 MB, free: 7.652 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.2883, allocations: 33.7 kB / 338.3 MB, free: 7.613 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2884, allocations: 326.8 kB / 338.7 MB, free: 7.285 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.2886, allocations: 83.88 kB / 338.7 MB, free: 7.203 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.2889, allocations: 197.8 kB / 338.9 MB, free: 6.961 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005618/0.2895, allocations: 294.2 kB / 339.2 MB, free: 6.625 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2895, allocations: 3.938 kB / 339.2 MB, free: 6.621 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006591/0.2902, allocations: 321.3 kB / 339.5 MB, free: 6.301 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.2902, allocations: 12.09 kB / 339.6 MB, free: 6.289 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.2902, allocations: 4 kB / 339.6 MB, free: 6.285 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.2903, allocations: 4 kB / 339.6 MB, free: 6.281 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/0.2906, allocations: 75.89 kB / 339.6 MB, free: 6.207 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.2906, allocations: 15.92 kB / 339.7 MB, free: 6.191 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.2909, allocations: 19.98 kB / 339.7 MB, free: 6.172 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.2909, allocations: 19.98 kB / 339.7 MB, free: 6.152 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.291, allocations: 137.7 kB / 339.8 MB, free: 6.008 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.2911, allocations: 15.81 kB / 339.8 MB, free: 5.992 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006457/0.2917, allocations: 238.8 kB / 340.1 MB, free: 5.758 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2918, allocations: 4 kB / 340.1 MB, free: 5.754 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.2918, allocations: 7.938 kB / 340.1 MB, free: 5.746 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2918, allocations: 0 / 340.1 MB, free: 5.746 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.293, allocations: 0.6028 MB / 340.7 MB, free: 5.074 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.293, allocations: 0 / 340.7 MB, free: 5.074 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.2933, allocations: 51.95 kB / 340.7 MB, free: 5.023 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2933, allocations: 0 / 340.7 MB, free: 5.023 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.2933, allocations: 11.98 kB / 340.8 MB, free: 5.012 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.2933, allocations: 7.875 kB / 340.8 MB, free: 5.004 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2933, allocations: 4.125 kB / 340.8 MB, free: 5 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000795/0.2941, allocations: 402.6 kB / 341.2 MB, free: 4.578 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.2942, allocations: 92.91 kB / 341.2 MB, free: 4.469 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.2942, allocations: 7.938 kB / 341.3 MB, free: 4.461 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.2945, allocations: 11.98 kB / 341.3 MB, free: 4.449 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.2945, allocations: 19.92 kB / 341.3 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.2945, allocations: 12.06 kB / 341.3 MB, free: 4.418 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.936e-05/0.2946, allocations: 107.2 kB / 341.4 MB, free: 4.312 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2946, allocations: 0 / 341.4 MB, free: 4.312 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000366/0.295, allocations: 67.94 kB / 341.5 MB, free: 4.246 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002399/0.2952, allocations: 127.2 kB / 341.6 MB, free: 4.109 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005839/0.2958, allocations: 220.4 kB / 341.8 MB, free: 3.895 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2959, allocations: 0 / 341.8 MB, free: 3.895 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.2961, allocations: 100.1 kB / 341.9 MB, free: 3.797 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.2965, allocations: 31.97 kB / 341.9 MB, free: 3.766 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.2975, allocations: 0.5726 MB / 342.5 MB, free: 3.156 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.2978, allocations: 0.7207 MB / 343.2 MB, free: 2.41 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002599/0.2981, allocations: 45.88 kB / 343.3 MB, free: 2.363 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.604e-05/0.2982, allocations: 23.44 kB / 343.3 MB, free: 2.34 MB / 270.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2982, allocations: 4 kB / 343.3 MB, free: 2.336 MB / 270.1 MB Notification: Performance of Templates: time 0.005602/0.3038, allocations: 2.562 MB / 345.9 MB, free: 15.77 MB / 286.1 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)