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.001104/0.001104, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 196.5 kB / 16.54 MB, free: 6.684 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.471/1.471, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.001206/0.001206, allocations: 59.92 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2778, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01021/0.2881, allocations: 7.743 MB / 333.1 MB, free: 11.63 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008857/0.289, allocations: 0.627 MB / 333.7 MB, free: 11.13 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.504e-05/0.2891, allocations: 0.9688 kB / 333.7 MB, free: 11.13 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.2894, allocations: 31.27 kB / 333.7 MB, free: 11.1 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1250:3-1403:19:writable] Warning: Pure function 'Modelica.Math.Matrices.leastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgelsy_vec'. Notification: Performance of NFTyping.typeBindings: time 0.001582/0.291, allocations: 0.5808 MB / 334.3 MB, free: 10.73 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.2913, allocations: 83.62 kB / 334.4 MB, free: 10.67 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.2916, allocations: 187.2 kB / 334.6 MB, free: 10.57 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.523e-05/0.2917, allocations: 4.844 kB / 334.6 MB, free: 10.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.2927, allocations: 0.6124 MB / 335.2 MB, free: 10.03 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.705e-05/0.2928, allocations: 51.83 kB / 335.2 MB, free: 9.977 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.2929, allocations: 4 kB / 335.2 MB, free: 9.973 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.2943, allocations: 0.8476 MB / 336.1 MB, free: 9.125 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.175e-05/0.2944, allocations: 19.92 kB / 336.1 MB, free: 9.105 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.805e-05/0.2944, allocations: 55.78 kB / 336.1 MB, free: 9.051 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004471/0.2949, allocations: 235.4 kB / 336.4 MB, free: 8.82 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2949, allocations: 0 / 336.4 MB, free: 8.82 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2949, allocations: 0 / 336.4 MB, free: 8.82 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.2949, allocations: 0 / 336.4 MB, free: 8.82 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.0005035/0.2955, allocations: 431.2 kB / 336.8 MB, free: 8.352 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2955, allocations: 8.031 kB / 336.8 MB, free: 8.344 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.2959, allocations: 32.81 kB / 336.8 MB, free: 8.312 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.2961, allocations: 196.1 kB / 337 MB, free: 8.082 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.2961, allocations: 8.375 kB / 337 MB, free: 8.074 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.2961, allocations: 8.375 kB / 337 MB, free: 8.066 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.2964, allocations: 137.2 kB / 337.2 MB, free: 7.914 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2964, allocations: 3.938 kB / 337.2 MB, free: 7.91 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.2964, allocations: 8 kB / 337.2 MB, free: 7.902 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.2964, allocations: 0 / 337.2 MB, free: 7.902 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.2966, allocations: 107.8 kB / 337.3 MB, free: 7.797 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.0007345/0.2974, allocations: 0.676 MB / 338 MB, free: 7.047 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.2975, allocations: 86.55 kB / 338.1 MB, free: 6.953 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.682e-05/0.2976, allocations: 36.84 kB / 338.1 MB, free: 6.914 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006241/0.2982, allocations: 0.8037 MB / 338.9 MB, free: 5.926 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.2983, allocations: 34.55 kB / 338.9 MB, free: 5.883 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.2983, allocations: 8 kB / 338.9 MB, free: 5.875 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003173/0.2986, allocations: 129.9 kB / 339.1 MB, free: 5.742 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.2986, allocations: 51.41 kB / 339.1 MB, free: 5.68 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.042e-05/0.2987, allocations: 121.8 kB / 339.2 MB, free: 5.551 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.2988, allocations: 25.7 kB / 339.3 MB, free: 5.52 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.2988, allocations: 109 kB / 339.4 MB, free: 5.41 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.2989, allocations: 39.36 kB / 339.4 MB, free: 5.371 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.2989, allocations: 37.7 kB / 339.4 MB, free: 5.328 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2991, allocations: 322.8 kB / 339.8 MB, free: 5.004 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.892e-05/0.2991, allocations: 19.98 kB / 339.8 MB, free: 4.984 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.692e-05/0.2992, allocations: 76.97 kB / 339.9 MB, free: 4.891 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.2993, allocations: 113.1 kB / 340 MB, free: 4.762 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2994, allocations: 384 / 340 MB, free: 4.762 MB / 270.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002016/0.2996, allocations: 125.5 kB / 340.1 MB, free: 4.633 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2996, allocations: 8 kB / 340.1 MB, free: 4.625 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2996, allocations: 0 / 340.1 MB, free: 4.625 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2996, allocations: 16.03 kB / 340.1 MB, free: 4.609 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.2998, allocations: 35.91 kB / 340.1 MB, free: 4.574 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.2998, allocations: 7.938 kB / 340.2 MB, free: 4.566 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.68e-05/0.2998, allocations: 11.84 kB / 340.2 MB, free: 4.555 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.2999, allocations: 8 kB / 340.2 MB, free: 4.547 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 8.229e-05/0.3, allocations: 117.8 kB / 340.3 MB, free: 4.422 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.3, allocations: 7.906 kB / 340.3 MB, free: 4.414 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.3003, allocations: 154.5 kB / 340.4 MB, free: 4.262 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3003, allocations: 0 / 340.4 MB, free: 4.262 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3003, allocations: 7.938 kB / 340.5 MB, free: 4.254 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3003, allocations: 0 / 340.5 MB, free: 4.254 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.3007, allocations: 394.6 kB / 340.8 MB, free: 3.812 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3007, allocations: 0 / 340.8 MB, free: 3.812 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.466e-05/0.3008, allocations: 27.98 kB / 340.9 MB, free: 3.785 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3008, allocations: 3.938 kB / 340.9 MB, free: 3.781 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.3008, allocations: 4 kB / 340.9 MB, free: 3.777 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3008, allocations: 4 kB / 340.9 MB, free: 3.773 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3009, allocations: 0 / 340.9 MB, free: 3.773 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.301, allocations: 199.4 kB / 341.1 MB, free: 3.562 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/0.3011, allocations: 104.9 kB / 341.2 MB, free: 3.441 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.3011, allocations: 4 kB / 341.2 MB, free: 3.438 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.145e-05/0.3012, allocations: 4 kB / 341.2 MB, free: 3.434 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.3013, allocations: 7.984 kB / 341.2 MB, free: 3.426 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.3013, allocations: 8 kB / 341.2 MB, free: 3.418 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.981e-05/0.3014, allocations: 95.2 kB / 341.3 MB, free: 3.324 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3014, allocations: 4 kB / 341.3 MB, free: 3.32 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003201/0.3017, allocations: 56 kB / 341.3 MB, free: 3.266 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.0003263/0.302, allocations: 171 kB / 341.5 MB, free: 3.086 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.3022, allocations: 92.09 kB / 341.6 MB, free: 2.996 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3022, allocations: 0 / 341.6 MB, free: 2.996 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.711e-05/0.3023, allocations: 39.92 kB / 341.6 MB, free: 2.957 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000554/0.3029, allocations: 50.38 kB / 341.7 MB, free: 2.91 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.3033, allocations: 243.4 kB / 341.9 MB, free: 2.645 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.3036, allocations: 0.6967 MB / 342.6 MB, free: 1.922 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.3037, allocations: 33.02 kB / 342.7 MB, free: 1.891 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.939e-05/0.3038, allocations: 19.44 kB / 342.7 MB, free: 1.871 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3038, allocations: 0 / 342.7 MB, free: 1.871 MB / 270.1 MB Notification: Performance of Templates: time 0.005759/0.3096, allocations: 2.492 MB / 345.2 MB, free: 15.38 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)