Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0009627/0.0009678, 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.006102/0.006103, 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.507/1.507, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.0004593/0.0004593, allocations: 16 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2604, allocations: 47.59 MB / 327 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.008664/0.2691, allocations: 7.48 MB / 334.5 MB, free: 11.46 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008547/0.27, allocations: 0.6381 MB / 335.1 MB, free: 10.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.27, allocations: 1.469 kB / 335.1 MB, free: 10.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.2703, allocations: 23.53 kB / 335.2 MB, free: 10.94 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.2717, allocations: 0.519 MB / 335.7 MB, free: 10.61 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.272, allocations: 84.97 kB / 335.8 MB, free: 10.55 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.2723, allocations: 218.6 kB / 336 MB, free: 10.38 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.2724, allocations: 7.984 kB / 336 MB, free: 10.37 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.2736, allocations: 0.7014 MB / 336.7 MB, free: 9.668 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.2737, allocations: 55.77 kB / 336.7 MB, free: 9.613 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.2737, allocations: 0 / 336.7 MB, free: 9.613 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.2752, allocations: 0.9449 MB / 337.7 MB, free: 8.668 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.2752, allocations: 19.86 kB / 337.7 MB, free: 8.648 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.2e-05/0.2753, allocations: 73.55 kB / 337.8 MB, free: 8.57 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005505/0.2759, allocations: 239.4 kB / 338 MB, free: 8.336 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2759, allocations: 0 / 338 MB, free: 8.336 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.2759, allocations: 0 / 338 MB, free: 8.336 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.2759, allocations: 0 / 338 MB, free: 8.336 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.0006484/0.2766, allocations: 403.3 kB / 338.4 MB, free: 7.895 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.612e-05/0.2766, allocations: 8.031 kB / 338.4 MB, free: 7.887 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004782/0.2771, allocations: 36.81 kB / 338.5 MB, free: 7.852 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.2774, allocations: 196.1 kB / 338.6 MB, free: 7.621 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.2774, allocations: 8.375 kB / 338.7 MB, free: 7.613 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.2774, allocations: 8.375 kB / 338.7 MB, free: 7.605 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.2778, allocations: 137.1 kB / 338.8 MB, free: 7.453 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2778, allocations: 0 / 338.8 MB, free: 7.453 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.2778, allocations: 8 kB / 338.8 MB, free: 7.445 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2778, allocations: 0 / 338.8 MB, free: 7.445 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.2781, allocations: 111.8 kB / 338.9 MB, free: 7.336 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.001009/0.2791, allocations: 0.6685 MB / 339.6 MB, free: 6.594 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.2793, allocations: 90.42 kB / 339.7 MB, free: 6.496 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.488e-05/0.2793, allocations: 40.84 kB / 339.7 MB, free: 6.453 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007107/0.2801, allocations: 0.8037 MB / 340.5 MB, free: 5.465 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.2801, allocations: 38.56 kB / 340.6 MB, free: 5.418 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.2801, allocations: 4 kB / 340.6 MB, free: 5.414 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002943/0.2804, allocations: 114 kB / 340.7 MB, free: 5.297 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.2805, allocations: 55.66 kB / 340.7 MB, free: 5.23 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.2806, allocations: 129.6 kB / 340.8 MB, free: 5.094 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.2806, allocations: 25.7 kB / 340.9 MB, free: 5.062 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.2807, allocations: 101.1 kB / 341 MB, free: 4.961 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.2807, allocations: 43.36 kB / 341 MB, free: 4.918 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.2808, allocations: 21.7 kB / 341 MB, free: 4.891 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.2809, allocations: 318.8 kB / 341.3 MB, free: 4.57 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.713e-05/0.2809, allocations: 23.98 kB / 341.4 MB, free: 4.547 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.74e-05/0.281, allocations: 69.12 kB / 341.4 MB, free: 4.461 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.2812, allocations: 113.2 kB / 341.5 MB, free: 4.332 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2812, allocations: 0 / 341.5 MB, free: 4.332 MB / 270.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001913/0.2814, allocations: 133.5 kB / 341.7 MB, free: 4.195 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2814, allocations: 8 kB / 341.7 MB, free: 4.188 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.2814, allocations: 0 / 341.7 MB, free: 4.188 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2814, allocations: 11.92 kB / 341.7 MB, free: 4.176 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.2816, allocations: 36.08 kB / 341.7 MB, free: 4.141 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.2816, allocations: 7.938 kB / 341.7 MB, free: 4.133 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.902e-05/0.2816, allocations: 16.22 kB / 341.8 MB, free: 4.117 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.2817, allocations: 4 kB / 341.8 MB, free: 4.113 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.627e-05/0.2817, allocations: 121.8 kB / 341.9 MB, free: 3.984 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.2818, allocations: 11.91 kB / 341.9 MB, free: 3.973 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.2821, allocations: 145.9 kB / 342 MB, free: 3.828 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.2821, allocations: 4 kB / 342 MB, free: 3.824 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.2821, allocations: 3.938 kB / 342 MB, free: 3.82 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2821, allocations: 0 / 342 MB, free: 3.82 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.2826, allocations: 390.4 kB / 342.4 MB, free: 3.383 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.2826, allocations: 0 / 342.4 MB, free: 3.383 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.206e-05/0.2827, allocations: 27.98 kB / 342.4 MB, free: 3.355 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2827, allocations: 7.938 kB / 342.5 MB, free: 3.348 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.2827, allocations: 0 / 342.5 MB, free: 3.348 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2827, allocations: 11.94 kB / 342.5 MB, free: 3.336 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2827, allocations: 0 / 342.5 MB, free: 3.336 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.2829, allocations: 195.8 kB / 342.7 MB, free: 3.129 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.027e-05/0.283, allocations: 108.9 kB / 342.8 MB, free: 3.004 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.283, allocations: 0 / 342.8 MB, free: 3.004 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.108e-05/0.2831, allocations: 4 kB / 342.8 MB, free: 3 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.2831, allocations: 7.984 kB / 342.8 MB, free: 2.992 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.2832, allocations: 8 kB / 342.8 MB, free: 2.984 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.599e-05/0.2832, allocations: 95.27 kB / 342.9 MB, free: 2.891 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2832, allocations: 0 / 342.9 MB, free: 2.891 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.2836, allocations: 60 kB / 342.9 MB, free: 2.832 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.0003086/0.2839, allocations: 171.2 kB / 343.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.284, allocations: 84.03 kB / 343.2 MB, free: 2.57 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.284, allocations: 4.312 kB / 343.2 MB, free: 2.566 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.17e-05/0.2841, allocations: 39.92 kB / 343.2 MB, free: 2.527 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.2846, allocations: 46.7 kB / 343.3 MB, free: 2.484 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.285, allocations: 296.7 kB / 343.6 MB, free: 2.172 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.2853, allocations: 0.6931 MB / 344.3 MB, free: 1.453 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.2854, allocations: 36.72 kB / 344.3 MB, free: 1.414 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.2855, allocations: 27.42 kB / 344.3 MB, free: 1.387 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2855, allocations: 0 / 344.3 MB, free: 1.387 MB / 270.1 MB Notification: Performance of Templates: time 0.005765/0.2913, allocations: 2.409 MB / 346.7 MB, free: 14.98 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1)