Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009663/0.0009664, allocations: 86.14 kB / 16.31 MB, free: 6.449 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.001146/0.001146, allocations: 181.7 kB / 17.21 MB, free: 6.32 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.666/1.666, allocations: 205.4 MB / 223.4 MB, free: 5.734 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.000548/0.0005483, allocations: 8 kB / 280.1 MB, free: 13.04 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2717, allocations: 47.59 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00425/0.276, allocations: 3.968 MB / 331.7 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.2779, allocations: 1.68 MB / 333.4 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.622e-05/0.278, allocations: 1.062 kB / 333.4 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.2782, allocations: 28.16 kB / 333.4 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.2786, allocations: 111.1 kB / 333.5 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.2792, allocations: 218.9 kB / 333.7 MB, free: 12.59 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004288/0.2797, allocations: 316.8 kB / 334 MB, free: 12.41 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.981e-05/0.2797, allocations: 15.23 kB / 334 MB, free: 12.4 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.28, allocations: 125 kB / 334.2 MB, free: 12.34 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.2802, allocations: 79.42 kB / 334.2 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.2802, allocations: 5.219 kB / 334.2 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.2805, allocations: 75.8 kB / 334.3 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.107e-05/0.2805, allocations: 37.38 kB / 334.4 MB, free: 12.24 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.601e-05/0.2806, allocations: 52.05 kB / 334.4 MB, free: 12.2 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.2808, allocations: 143.2 kB / 334.5 MB, free: 12.12 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2809, allocations: 0 / 334.5 MB, free: 12.12 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2809, allocations: 0 / 334.5 MB, free: 12.12 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.2809, allocations: 1.25 kB / 334.5 MB, free: 12.12 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.0008389/0.2817, allocations: 457.3 kB / 335 MB, free: 11.68 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2818, allocations: 12.92 kB / 335 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.2819, allocations: 25.03 kB / 335 MB, free: 11.67 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.2822, allocations: 212.2 kB / 335.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.2822, allocations: 13.56 kB / 335.3 MB, free: 11.43 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.2823, allocations: 17.39 kB / 335.3 MB, free: 11.42 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004214/0.2827, allocations: 213.6 kB / 335.5 MB, free: 11.25 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.2827, allocations: 5.094 kB / 335.5 MB, free: 11.25 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.2827, allocations: 6.188 kB / 335.5 MB, free: 11.25 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.2828, allocations: 8.375 kB / 335.5 MB, free: 11.24 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/0.2831, allocations: 153.7 kB / 335.6 MB, free: 11.17 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.2844, allocations: 0.94 MB / 336.6 MB, free: 10.26 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.2848, allocations: 150.9 kB / 336.7 MB, free: 10.18 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.2849, allocations: 50.92 kB / 336.8 MB, free: 10.15 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005654/0.2855, allocations: 0.5015 MB / 337.3 MB, free: 9.621 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.2855, allocations: 39.58 kB / 337.3 MB, free: 9.574 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.2855, allocations: 0.9062 kB / 337.3 MB, free: 9.574 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002312/0.2879, allocations: 0.7636 MB / 338.1 MB, free: 8.816 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.2879, allocations: 51.41 kB / 338.1 MB, free: 8.754 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.2881, allocations: 154.8 kB / 338.3 MB, free: 8.594 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.2881, allocations: 33.7 kB / 338.3 MB, free: 8.555 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.2882, allocations: 135.9 kB / 338.5 MB, free: 8.418 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.792e-05/0.2883, allocations: 82.88 kB / 338.5 MB, free: 8.336 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.2883, allocations: 4 kB / 338.5 MB, free: 8.332 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2884, allocations: 326.8 kB / 338.9 MB, free: 8.004 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.2886, allocations: 79.94 kB / 338.9 MB, free: 7.926 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.2889, allocations: 197.9 kB / 339.1 MB, free: 7.684 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.2892, allocations: 108.8 kB / 339.2 MB, free: 7.578 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2892, allocations: 0 / 339.2 MB, free: 7.578 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006561/0.2899, allocations: 319.2 kB / 339.5 MB, free: 7.262 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.2899, allocations: 11.95 kB / 339.6 MB, free: 7.25 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2899, allocations: 7.984 kB / 339.6 MB, free: 7.242 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2899, allocations: 4 kB / 339.6 MB, free: 7.238 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.2903, allocations: 75.89 kB / 339.6 MB, free: 7.164 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.2903, allocations: 11.94 kB / 339.7 MB, free: 7.152 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.2905, allocations: 20.27 kB / 339.7 MB, free: 7.133 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.782e-05/0.2906, allocations: 16 kB / 339.7 MB, free: 7.117 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.0001255/0.2907, allocations: 133.8 kB / 339.8 MB, free: 6.977 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.2908, allocations: 15.81 kB / 339.8 MB, free: 6.961 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000636/0.2914, allocations: 246.7 kB / 340.1 MB, free: 6.719 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.2914, allocations: 7.984 kB / 340.1 MB, free: 6.711 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2914, allocations: 0 / 340.1 MB, free: 6.711 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2914, allocations: 3.953 kB / 340.1 MB, free: 6.707 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.2927, allocations: 0.5913 MB / 340.7 MB, free: 6.047 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2927, allocations: 0 / 340.7 MB, free: 6.047 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.293, allocations: 51.89 kB / 340.7 MB, free: 5.996 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.293, allocations: 4.125 kB / 340.7 MB, free: 5.992 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.293, allocations: 12 kB / 340.7 MB, free: 5.98 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.293, allocations: 0 / 340.7 MB, free: 5.98 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.293, allocations: 0 / 340.7 MB, free: 5.98 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007871/0.2938, allocations: 414.7 kB / 341.2 MB, free: 5.547 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/0.2939, allocations: 89.05 kB / 341.2 MB, free: 5.441 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.2939, allocations: 4 kB / 341.2 MB, free: 5.438 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.2941, allocations: 19.95 kB / 341.3 MB, free: 5.418 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.2942, allocations: 19.92 kB / 341.3 MB, free: 5.398 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.2942, allocations: 11.98 kB / 341.3 MB, free: 5.387 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.545e-05/0.2943, allocations: 111.2 kB / 341.4 MB, free: 5.277 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2943, allocations: 0 / 341.4 MB, free: 5.277 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000375/0.2947, allocations: 67.94 kB / 341.5 MB, free: 5.211 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.0002051/0.2949, allocations: 131.1 kB / 341.6 MB, free: 5.07 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000543/0.2955, allocations: 212.5 kB / 341.8 MB, free: 4.863 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2955, allocations: 4.125 kB / 341.8 MB, free: 4.859 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.2957, allocations: 91.88 kB / 341.9 MB, free: 4.77 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.2962, allocations: 39.91 kB / 341.9 MB, free: 4.73 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009873/0.2971, allocations: 0.5492 MB / 342.5 MB, free: 4.145 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.2975, allocations: 0.7128 MB / 343.2 MB, free: 3.406 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002776/0.2978, allocations: 49.88 kB / 343.3 MB, free: 3.355 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.834e-05/0.2978, allocations: 31.42 kB / 343.3 MB, free: 3.324 MB / 270.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2979, allocations: 0 / 343.3 MB, free: 3.324 MB / 270.1 MB Notification: Performance of Templates: time 0.005676/0.3035, allocations: 2.477 MB / 345.8 MB, free: 0.8477 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1)