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.0009899/0.0009901, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.008419/0.008419, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.5 MB, free: 5.555 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.0004438/0.0004438, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2437, allocations: 47.59 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.009159/0.253, allocations: 7.481 MB / 334.5 MB, free: 11.45 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008657/0.2539, allocations: 0.6333 MB / 335.1 MB, free: 10.94 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.499e-05/0.2539, allocations: 1.188 kB / 335.1 MB, free: 10.94 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.2542, allocations: 27.27 kB / 335.2 MB, free: 10.92 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.2555, allocations: 0.5149 MB / 335.7 MB, free: 10.59 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.2558, allocations: 92.91 kB / 335.8 MB, free: 10.53 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.256, allocations: 221.1 kB / 336 MB, free: 10.38 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.08e-05/0.2561, allocations: 8 kB / 336 MB, free: 10.37 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.2572, allocations: 0.6975 MB / 336.7 MB, free: 9.668 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/0.2573, allocations: 43.84 kB / 336.7 MB, free: 9.625 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.2573, allocations: 4 kB / 336.7 MB, free: 9.621 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.2586, allocations: 0.9449 MB / 337.7 MB, free: 8.676 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.11e-05/0.2587, allocations: 27.84 kB / 337.7 MB, free: 8.648 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.85e-05/0.2588, allocations: 65.56 kB / 337.8 MB, free: 8.578 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.2592, allocations: 243.4 kB / 338 MB, free: 8.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2592, allocations: 4 kB / 338 MB, free: 8.336 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2592, allocations: 0 / 338 MB, free: 8.336 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2592, 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.0004527/0.2597, allocations: 395.3 kB / 338.4 MB, free: 7.902 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.2597, allocations: 12.03 kB / 338.4 MB, free: 7.891 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004/0.2601, allocations: 36.81 kB / 338.5 MB, free: 7.855 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.2603, allocations: 204.1 kB / 338.7 MB, free: 7.617 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.2604, allocations: 4.375 kB / 338.7 MB, free: 7.613 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.2604, allocations: 8.375 kB / 338.7 MB, free: 7.605 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.2606, allocations: 149.1 kB / 338.8 MB, free: 7.441 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2606, allocations: 0 / 338.8 MB, free: 7.441 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.2607, allocations: 4 kB / 338.8 MB, free: 7.438 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2607, allocations: 4 kB / 338.8 MB, free: 7.434 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.2608, allocations: 103.9 kB / 338.9 MB, free: 7.332 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.0007063/0.2616, allocations: 0.6724 MB / 339.6 MB, free: 6.586 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.2617, allocations: 82.48 kB / 339.7 MB, free: 6.496 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.294e-05/0.2618, allocations: 40.84 kB / 339.7 MB, free: 6.453 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005931/0.2624, allocations: 0.8154 MB / 340.5 MB, free: 5.453 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.2624, allocations: 30.56 kB / 340.6 MB, free: 5.414 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.2624, allocations: 0 / 340.6 MB, free: 5.414 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002706/0.2627, allocations: 117.7 kB / 340.7 MB, free: 5.293 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.2627, allocations: 59.39 kB / 340.7 MB, free: 5.223 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.414e-05/0.2628, allocations: 117.7 kB / 340.8 MB, free: 5.098 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.2629, allocations: 37.64 kB / 340.9 MB, free: 5.055 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.2629, allocations: 93.08 kB / 341 MB, free: 4.961 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.263, allocations: 55.34 kB / 341 MB, free: 4.906 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.263, allocations: 21.7 kB / 341 MB, free: 4.879 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.834e-05/0.2631, allocations: 314.8 kB / 341.4 MB, free: 4.562 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.141e-05/0.2632, allocations: 27.98 kB / 341.4 MB, free: 4.535 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/0.2633, allocations: 65.38 kB / 341.4 MB, free: 4.453 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.2634, allocations: 109.1 kB / 341.6 MB, free: 4.328 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.2634, allocations: 4 kB / 341.6 MB, free: 4.324 MB / 270.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002015/0.2636, allocations: 129.5 kB / 341.7 MB, free: 4.191 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2636, allocations: 16.08 kB / 341.7 MB, free: 4.176 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2637, allocations: 4 kB / 341.7 MB, free: 4.172 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2637, allocations: 0 / 341.7 MB, free: 4.172 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.2638, allocations: 39.92 kB / 341.7 MB, free: 4.133 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.2638, allocations: 3.938 kB / 341.7 MB, free: 4.129 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.2639, allocations: 11.84 kB / 341.8 MB, free: 4.117 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.2639, allocations: 8 kB / 341.8 MB, free: 4.109 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.759e-05/0.264, allocations: 121.8 kB / 341.9 MB, free: 3.98 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.264, allocations: 8.281 kB / 341.9 MB, free: 3.973 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.2643, allocations: 154.6 kB / 342 MB, free: 3.82 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2644, allocations: 0 / 342 MB, free: 3.82 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2644, allocations: 3.938 kB / 342 MB, free: 3.816 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2644, allocations: 0 / 342 MB, free: 3.816 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.2648, allocations: 390.5 kB / 342.4 MB, free: 3.379 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2648, allocations: 0 / 342.4 MB, free: 3.379 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.401e-05/0.2649, allocations: 23.98 kB / 342.5 MB, free: 3.355 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.2649, allocations: 3.938 kB / 342.5 MB, free: 3.352 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.2649, allocations: 8 kB / 342.5 MB, free: 3.344 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2649, allocations: 0 / 342.5 MB, free: 3.344 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2649, allocations: 0 / 342.5 MB, free: 3.344 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.2651, allocations: 207.4 kB / 342.7 MB, free: 3.125 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.2652, allocations: 104.9 kB / 342.8 MB, free: 3.004 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.2652, allocations: 4 kB / 342.8 MB, free: 3 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.241e-05/0.2653, allocations: 8 kB / 342.8 MB, free: 2.992 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.2653, allocations: 7.984 kB / 342.8 MB, free: 2.984 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.2654, allocations: 8 kB / 342.8 MB, free: 2.977 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.353e-05/0.2654, allocations: 91.27 kB / 342.9 MB, free: 2.887 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2654, allocations: 0 / 342.9 MB, free: 2.887 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003231/0.2658, allocations: 59.98 kB / 342.9 MB, free: 2.828 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.0002955/0.2661, allocations: 171.3 kB / 343.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.2662, allocations: 83.84 kB / 343.2 MB, free: 2.566 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2662, allocations: 0 / 343.2 MB, free: 2.566 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.326e-05/0.2663, allocations: 43.92 kB / 343.2 MB, free: 2.523 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.2668, allocations: 39.08 kB / 343.3 MB, free: 2.488 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/0.2672, allocations: 296.7 kB / 343.6 MB, free: 2.176 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.2675, allocations: 0.697 MB / 344.3 MB, free: 1.453 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001443/0.2676, allocations: 36.73 kB / 344.3 MB, free: 1.414 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/0.2677, allocations: 23.42 kB / 344.3 MB, free: 1.391 MB / 270.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2677, allocations: 0 / 344.3 MB, free: 1.391 MB / 270.1 MB Notification: Performance of Templates: time 0.005695/0.2734, allocations: 2.406 MB / 346.7 MB, free: 14.99 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)