Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Incompressible.Examples.TestGlycol.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.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001809/0.001809, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.46/1.46, allocations: 205.1 MB / 222 MB, free: 4.715 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.001221/0.001221, allocations: 47.92 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2799, allocations: 46.62 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01059/0.2905, allocations: 7.936 MB / 332.6 MB, free: 11.62 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009808/0.2915, allocations: 0.6339 MB / 333.2 MB, free: 11.12 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.226e-05/0.2916, allocations: 0 / 333.2 MB, free: 11.12 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.2919, allocations: 23.83 kB / 333.3 MB, free: 11.11 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.2934, allocations: 0.5271 MB / 333.8 MB, free: 10.77 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.2937, allocations: 93.16 kB / 333.9 MB, free: 10.71 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.2939, allocations: 220.6 kB / 334.1 MB, free: 10.59 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.674e-05/0.294, allocations: 8.938 kB / 334.1 MB, free: 10.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.2952, allocations: 0.6993 MB / 334.8 MB, free: 9.996 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.287e-05/0.2953, allocations: 51.83 kB / 334.8 MB, free: 9.945 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.2954, allocations: 4 kB / 334.9 MB, free: 9.941 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.2968, allocations: 0.9488 MB / 335.8 MB, free: 8.992 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.452e-05/0.2969, allocations: 19.86 kB / 335.8 MB, free: 8.973 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.198e-05/0.297, allocations: 47.78 kB / 335.9 MB, free: 8.926 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005314/0.2975, allocations: 239.5 kB / 336.1 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2975, allocations: 0 / 336.1 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2975, allocations: 0 / 336.1 MB, free: 8.691 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.2976, allocations: 0 / 336.1 MB, free: 8.691 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000553/0.2981, allocations: 423.3 kB / 336.5 MB, free: 8.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2982, allocations: 12.02 kB / 336.5 MB, free: 8.219 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004196/0.2986, allocations: 32.83 kB / 336.6 MB, free: 8.188 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.2988, allocations: 200.1 kB / 336.8 MB, free: 7.953 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.2988, allocations: 4.375 kB / 336.8 MB, free: 7.949 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.2988, allocations: 12.38 kB / 336.8 MB, free: 7.938 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.2991, allocations: 145.1 kB / 336.9 MB, free: 7.777 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2991, allocations: 0 / 336.9 MB, free: 7.777 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.2991, allocations: 0 / 336.9 MB, free: 7.777 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2992, allocations: 4 kB / 336.9 MB, free: 7.773 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.2993, allocations: 107.9 kB / 337 MB, free: 7.668 MB / 270.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007399/0.3001, allocations: 0.6644 MB / 337.7 MB, free: 6.93 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.3003, allocations: 86.48 kB / 337.8 MB, free: 6.836 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.631e-05/0.3003, allocations: 40.84 kB / 337.8 MB, free: 6.793 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000682/0.301, allocations: 0.8154 MB / 338.6 MB, free: 5.793 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.3011, allocations: 34.56 kB / 338.7 MB, free: 5.75 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.3011, allocations: 4 kB / 338.7 MB, free: 5.746 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003261/0.3014, allocations: 122 kB / 338.8 MB, free: 5.621 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.3014, allocations: 55.41 kB / 338.8 MB, free: 5.555 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.3015, allocations: 121.7 kB / 339 MB, free: 5.426 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.3016, allocations: 29.7 kB / 339 MB, free: 5.391 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.3017, allocations: 101.1 kB / 339.1 MB, free: 5.289 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.3017, allocations: 47.3 kB / 339.1 MB, free: 5.242 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.3018, allocations: 33.72 kB / 339.2 MB, free: 5.203 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3019, allocations: 322.8 kB / 339.5 MB, free: 4.879 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.528e-05/0.302, allocations: 27.98 kB / 339.5 MB, free: 4.852 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.794e-05/0.3021, allocations: 76.02 kB / 339.6 MB, free: 4.762 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.3022, allocations: 105.6 kB / 339.7 MB, free: 4.641 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3022, allocations: 0 / 339.7 MB, free: 4.641 MB / 270.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002255/0.3025, allocations: 137.5 kB / 339.8 MB, free: 4.5 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.3025, allocations: 4 kB / 339.8 MB, free: 4.496 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3025, allocations: 8 kB / 339.8 MB, free: 4.488 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3025, allocations: 4.156 kB / 339.8 MB, free: 4.484 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3027, allocations: 35.92 kB / 339.9 MB, free: 4.449 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.3027, allocations: 7.938 kB / 339.9 MB, free: 4.441 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.054e-05/0.3028, allocations: 11.84 kB / 339.9 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.3028, allocations: 12 kB / 339.9 MB, free: 4.418 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * 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 9.737e-05/0.3029, allocations: 121.8 kB / 340 MB, free: 4.289 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.3029, allocations: 7.906 kB / 340 MB, free: 4.281 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.3032, allocations: 158.2 kB / 340.2 MB, free: 4.125 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3033, allocations: 0 / 340.2 MB, free: 4.125 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3033, allocations: 3.938 kB / 340.2 MB, free: 4.121 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3033, allocations: 0 / 340.2 MB, free: 4.121 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.3037, allocations: 390.5 kB / 340.6 MB, free: 3.684 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3037, allocations: 0 / 340.6 MB, free: 3.684 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.014e-05/0.3038, allocations: 19.98 kB / 340.6 MB, free: 3.664 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3038, allocations: 3.938 kB / 340.6 MB, free: 3.66 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3039, allocations: 12 kB / 340.6 MB, free: 3.648 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3039, allocations: 0 / 340.6 MB, free: 3.648 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.3039, allocations: 3.938 kB / 340.6 MB, free: 3.645 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.3041, allocations: 195.4 kB / 340.8 MB, free: 3.438 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.51e-05/0.3042, allocations: 100.9 kB / 340.9 MB, free: 3.32 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.3042, allocations: 11.97 kB / 340.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.901e-05/0.3043, allocations: 4 kB / 340.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.3043, allocations: 4 kB / 340.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.3044, allocations: 15.98 kB / 340.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.149e-05/0.3044, allocations: 95.2 kB / 341 MB, free: 3.191 MB / 270.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3044, allocations: 0 / 341 MB, free: 3.191 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003338/0.3048, allocations: 56 kB / 341.1 MB, free: 3.137 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * 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.0003373/0.3051, allocations: 167.1 kB / 341.2 MB, free: 2.961 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.3053, allocations: 80.16 kB / 341.3 MB, free: 2.883 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3053, allocations: 0 / 341.3 MB, free: 2.883 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.455e-05/0.3054, allocations: 43.92 kB / 341.4 MB, free: 2.84 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.3059, allocations: 36.19 kB / 341.4 MB, free: 2.805 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004841/0.3064, allocations: 274.2 kB / 341.7 MB, free: 2.512 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.3067, allocations: 0.7009 MB / 342.4 MB, free: 1.785 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.3068, allocations: 32.75 kB / 342.4 MB, free: 1.754 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.3069, allocations: 19.42 kB / 342.4 MB, free: 1.734 MB / 270.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3069, allocations: 3.938 kB / 342.4 MB, free: 1.73 MB / 270.1 MB Notification: Performance of Templates: time 0.005604/0.3125, allocations: 2.42 MB / 344.8 MB, free: 15.31 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_3.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.1_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.1_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1)