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.001176/0.001176, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001294/0.001294, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.0004947/0.000495, allocations: 8 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2803, allocations: 47.58 MB / 326.4 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00612/0.2865, allocations: 4.543 MB / 331 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000919/0.2875, allocations: 0.5342 MB / 331.5 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.035e-05/0.2875, allocations: 0 / 331.5 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.2878, allocations: 19.95 kB / 331.5 MB, free: 13.4 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.2892, allocations: 0.4946 MB / 332 MB, free: 13.08 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.2894, allocations: 88.91 kB / 332.1 MB, free: 13.02 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.2896, allocations: 112.3 kB / 332.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.836e-05/0.2897, allocations: 3.344 kB / 332.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.291, allocations: 0.6411 MB / 332.9 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.577e-05/0.2911, allocations: 43 kB / 332.9 MB, free: 12.68 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.2911, allocations: 7.141 kB / 332.9 MB, free: 12.68 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001713/0.2928, allocations: 0.8654 MB / 333.8 MB, free: 12.18 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.911e-05/0.2929, allocations: 27.89 kB / 333.8 MB, free: 12.16 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.293, allocations: 37.7 kB / 333.8 MB, free: 12.11 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.2933, allocations: 169 kB / 334 MB, free: 11.95 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2933, allocations: 0 / 334 MB, free: 11.95 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2933, allocations: 3.938 kB / 334 MB, free: 11.95 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.2933, allocations: 0 / 334 MB, free: 11.95 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.0005133/0.2939, allocations: 411 kB / 334.4 MB, free: 11.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2939, allocations: 8.031 kB / 334.4 MB, free: 11.49 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004152/0.2943, allocations: 35.88 kB / 334.5 MB, free: 11.45 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.2946, allocations: 190.9 kB / 334.6 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.2946, allocations: 4 kB / 334.6 MB, free: 11.22 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.2946, allocations: 12 kB / 334.7 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.2949, allocations: 140.8 kB / 334.8 MB, free: 11.05 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2949, allocations: 4 kB / 334.8 MB, free: 11.05 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.2949, allocations: 4 kB / 334.8 MB, free: 11.05 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2949, allocations: 3.953 kB / 334.8 MB, free: 11.04 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.2951, allocations: 107.9 kB / 334.9 MB, free: 10.94 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.0008406/0.296, allocations: 0.6607 MB / 335.6 MB, free: 10.2 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.2961, allocations: 94.42 kB / 335.7 MB, free: 10.1 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007011/0.2969, allocations: 0.8115 MB / 336.5 MB, free: 9.105 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.2969, allocations: 38.56 kB / 336.5 MB, free: 9.059 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.2969, allocations: 0 / 336.5 MB, free: 9.059 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002924/0.2972, allocations: 121.9 kB / 336.6 MB, free: 8.934 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.2973, allocations: 59.41 kB / 336.7 MB, free: 8.863 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.243e-05/0.2974, allocations: 122 kB / 336.8 MB, free: 8.734 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.2974, allocations: 33.7 kB / 336.8 MB, free: 8.695 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.2975, allocations: 93.05 kB / 336.9 MB, free: 8.602 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.2975, allocations: 51.3 kB / 337 MB, free: 8.551 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.2975, allocations: 0 / 337 MB, free: 8.551 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2976, allocations: 318.8 kB / 337.3 MB, free: 8.23 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.645e-05/0.2977, allocations: 27.98 kB / 337.3 MB, free: 8.203 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.479e-05/0.2978, allocations: 69.12 kB / 337.4 MB, free: 8.117 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.036e-05/0.2979, allocations: 32 kB / 337.4 MB, free: 8.086 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2979, allocations: 384 / 337.4 MB, free: 8.086 MB / 270.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002023/0.2981, allocations: 149.9 kB / 337.6 MB, free: 7.934 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2981, allocations: 8 kB / 337.6 MB, free: 7.926 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.2981, allocations: 0 / 337.6 MB, free: 7.926 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2981, allocations: 7.938 kB / 337.6 MB, free: 7.918 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.2983, allocations: 27.98 kB / 337.6 MB, free: 7.891 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2983, allocations: 4 kB / 337.6 MB, free: 7.887 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.083e-05/0.2983, allocations: 15.78 kB / 337.6 MB, free: 7.871 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.2984, allocations: 8 kB / 337.6 MB, free: 7.863 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.2985, allocations: 133.8 kB / 337.8 MB, free: 7.723 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.2985, allocations: 11.86 kB / 337.8 MB, free: 7.711 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.2988, allocations: 134.2 kB / 337.9 MB, free: 7.578 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2988, allocations: 7.938 kB / 337.9 MB, free: 7.57 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2988, allocations: 0 / 337.9 MB, free: 7.57 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2989, allocations: 0 / 337.9 MB, free: 7.57 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.2993, allocations: 402.3 kB / 338.3 MB, free: 7.121 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2993, allocations: 0 / 338.3 MB, free: 7.121 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-05/0.2994, allocations: 27.92 kB / 338.3 MB, free: 7.094 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2994, allocations: 0 / 338.3 MB, free: 7.094 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.2994, allocations: 0 / 338.3 MB, free: 7.094 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2994, allocations: 0 / 338.3 MB, free: 7.094 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2994, allocations: 4 kB / 338.3 MB, free: 7.09 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.2997, allocations: 195.4 kB / 338.5 MB, free: 6.883 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.2998, allocations: 108.9 kB / 338.6 MB, free: 6.758 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.2998, allocations: 0 / 338.6 MB, free: 6.758 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3, allocations: 11.94 kB / 338.7 MB, free: 6.746 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.3, allocations: 7.984 kB / 338.7 MB, free: 6.738 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.3, allocations: 4 kB / 338.7 MB, free: 6.734 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.03e-05/0.3001, allocations: 91.27 kB / 338.8 MB, free: 6.645 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3001, allocations: 0 / 338.8 MB, free: 6.645 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003473/0.3004, allocations: 63.92 kB / 338.8 MB, free: 6.582 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 (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.0003198/0.3008, allocations: 167.1 kB / 339 MB, free: 6.406 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.301, allocations: 79.83 kB / 339.1 MB, free: 6.328 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.301, allocations: 0 / 339.1 MB, free: 6.328 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 6.196e-05/0.301, allocations: 39.92 kB / 339.1 MB, free: 6.289 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.3014, allocations: 43.25 kB / 339.1 MB, free: 6.25 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.302, allocations: 299.7 kB / 339.4 MB, free: 5.93 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.3024, allocations: 0.7008 MB / 340.1 MB, free: 5.203 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001466/0.3025, allocations: 41 kB / 340.2 MB, free: 5.16 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.3026, allocations: 23.42 kB / 340.2 MB, free: 5.137 MB / 270.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3026, allocations: 0 / 340.2 MB, free: 5.137 MB / 270.1 MB Notification: Performance of Templates: time 0.005984/0.3086, allocations: 2.295 MB / 342.5 MB, free: 2.844 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Incompressible.Examples.TestGlycol.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: