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.0009031/0.0009034, allocations: 91.84 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.008454/0.008454, allocations: 170 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.522/1.522, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.000439/0.0004391, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2883, allocations: 47.58 MB / 327 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005426/0.2937, allocations: 4.131 MB / 331.1 MB, free: 14.06 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.2962, allocations: 1.79 MB / 332.9 MB, free: 12.61 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.2964, allocations: 1.188 kB / 332.9 MB, free: 12.61 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.2967, allocations: 41.47 kB / 333 MB, free: 12.57 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.2971, allocations: 108.3 kB / 333.1 MB, free: 12.49 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006555/0.2977, allocations: 234.3 kB / 333.3 MB, free: 12.33 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004117/0.2982, allocations: 369.2 kB / 333.7 MB, free: 12.14 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.476e-05/0.2982, allocations: 20.28 kB / 333.7 MB, free: 12.13 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.2985, allocations: 119.5 kB / 333.8 MB, free: 12.07 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.2986, allocations: 84.47 kB / 333.9 MB, free: 12.03 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.2987, allocations: 6.125 kB / 333.9 MB, free: 12.03 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/0.2989, allocations: 107.5 kB / 334 MB, free: 11.98 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.317e-05/0.299, allocations: 37.7 kB / 334 MB, free: 11.95 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.2991, allocations: 99.47 kB / 334.1 MB, free: 11.88 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.2995, allocations: 204.3 kB / 334.3 MB, free: 11.76 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2995, allocations: 4 kB / 334.3 MB, free: 11.76 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.2995, allocations: 1.344 kB / 334.3 MB, free: 11.76 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.2995, allocations: 0 / 334.3 MB, free: 11.76 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.0009767/0.3005, allocations: 451.4 kB / 334.8 MB, free: 11.32 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3006, allocations: 9.969 kB / 334.8 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.3008, allocations: 21.41 kB / 334.8 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.301, allocations: 210.4 kB / 335 MB, free: 11.09 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3011, allocations: 9.406 kB / 335 MB, free: 11.08 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.3011, allocations: 14.03 kB / 335 MB, free: 11.08 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.3016, allocations: 223.3 kB / 335.3 MB, free: 10.91 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.3016, allocations: 1.094 kB / 335.3 MB, free: 10.91 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.3016, allocations: 10.02 kB / 335.3 MB, free: 10.9 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.3016, allocations: 4.031 kB / 335.3 MB, free: 10.9 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.302, allocations: 155.3 kB / 335.4 MB, free: 10.82 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.3034, allocations: 0.9332 MB / 336.4 MB, free: 9.82 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.3038, allocations: 146.7 kB / 336.5 MB, free: 9.668 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.3039, allocations: 64.77 kB / 336.6 MB, free: 9.602 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005469/0.3045, allocations: 0.4954 MB / 337.1 MB, free: 9.043 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.3046, allocations: 38.56 kB / 337.1 MB, free: 8.996 MB / 270.1 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.3046, allocations: 3.938 kB / 337.1 MB, free: 8.992 MB / 270.1 MB Notification: Performance of matching and sorting (n=20): time 0.002543/0.3071, allocations: 0.767 MB / 337.9 MB, free: 8.172 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.3072, allocations: 55.34 kB / 337.9 MB, free: 8.105 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.3073, allocations: 158.3 kB / 338.1 MB, free: 7.941 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.3073, allocations: 29.7 kB / 338.1 MB, free: 7.906 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.73e-05/0.3074, allocations: 139.9 kB / 338.2 MB, free: 7.766 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.3075, allocations: 70.94 kB / 338.3 MB, free: 7.695 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.3075, allocations: 33.7 kB / 338.3 MB, free: 7.656 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3076, allocations: 326.8 kB / 338.7 MB, free: 7.328 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.3079, allocations: 83.94 kB / 338.7 MB, free: 7.246 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.3082, allocations: 197.7 kB / 338.9 MB, free: 7.004 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000563/0.3088, allocations: 290.2 kB / 339.2 MB, free: 6.672 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3088, allocations: 0 / 339.2 MB, free: 6.672 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006714/0.3095, allocations: 329.3 kB / 339.5 MB, free: 6.344 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3095, allocations: 12.06 kB / 339.6 MB, free: 6.332 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3095, allocations: 4 kB / 339.6 MB, free: 6.328 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/0.3095, allocations: 4 kB / 339.6 MB, free: 6.324 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.3099, allocations: 87.88 kB / 339.6 MB, free: 6.238 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/0.3099, allocations: 7.984 kB / 339.7 MB, free: 6.23 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.3102, allocations: 15.98 kB / 339.7 MB, free: 6.215 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.3102, allocations: 16 kB / 339.7 MB, free: 6.199 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.0001229/0.3103, allocations: 141.7 kB / 339.8 MB, free: 6.051 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.3104, allocations: 19.8 kB / 339.8 MB, free: 6.031 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006513/0.311, allocations: 234.8 kB / 340.1 MB, free: 5.801 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.311, allocations: 0 / 340.1 MB, free: 5.801 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3111, allocations: 0 / 340.1 MB, free: 5.801 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.3111, allocations: 15.91 kB / 340.1 MB, free: 5.785 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.3124, allocations: 0.5952 MB / 340.7 MB, free: 5.121 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.3124, allocations: 4 kB / 340.7 MB, free: 5.117 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/0.3127, allocations: 55.83 kB / 340.7 MB, free: 5.062 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3127, allocations: 0 / 340.7 MB, free: 5.062 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.3127, allocations: 8 kB / 340.8 MB, free: 5.055 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3128, allocations: 7.938 kB / 340.8 MB, free: 5.047 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3128, allocations: 128 / 340.8 MB, free: 5.047 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008368/0.3136, allocations: 406.5 kB / 341.2 MB, free: 4.621 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/0.3137, allocations: 88.95 kB / 341.2 MB, free: 4.516 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.3137, allocations: 11.94 kB / 341.3 MB, free: 4.504 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.314, allocations: 15.98 kB / 341.3 MB, free: 4.488 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.373e-05/0.314, allocations: 7.984 kB / 341.3 MB, free: 4.48 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.314, allocations: 20.05 kB / 341.3 MB, free: 4.461 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.834e-05/0.3141, allocations: 107.2 kB / 341.4 MB, free: 4.355 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.834e-06/0.3141, allocations: 4 kB / 341.4 MB, free: 4.352 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003815/0.3145, allocations: 67.88 kB / 341.5 MB, free: 4.285 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.0002587/0.3148, allocations: 127.2 kB / 341.6 MB, free: 4.148 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005876/0.3154, allocations: 212.4 kB / 341.8 MB, free: 3.941 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3154, allocations: 0 / 341.8 MB, free: 3.941 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.3156, allocations: 95.95 kB / 341.9 MB, free: 3.848 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.3161, allocations: 32.39 kB / 341.9 MB, free: 3.816 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.3172, allocations: 0.5804 MB / 342.5 MB, free: 3.199 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.3175, allocations: 0.709 MB / 343.2 MB, free: 2.465 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002796/0.3178, allocations: 49.88 kB / 343.3 MB, free: 2.414 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.817e-05/0.3178, allocations: 23.42 kB / 343.3 MB, free: 2.391 MB / 270.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3179, allocations: 4 kB / 343.3 MB, free: 2.387 MB / 270.1 MB Notification: Performance of Templates: time 0.006004/0.3239, allocations: 2.574 MB / 345.9 MB, free: 15.81 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SimpleLiquidWater.makefile (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)