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.005177/0.005177, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001216/0.001216, allocations: 192.9 kB / 16.67 MB, free: 5.52 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.465/1.465, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.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.001385/0.001385, allocations: 47.94 kB / 326.5 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1079, allocations: 46.61 MB / 373.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.2493/0.3572, allocations: 7.76 MB / 380.9 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008213/0.3581, allocations: 0.6205 MB / 381.5 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.3582, allocations: 5.031 kB / 381.5 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.3585, allocations: 36.03 kB / 381.6 MB, free: 8.984 MB / 318.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.001632/0.3601, allocations: 0.5735 MB / 382.1 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.3603, allocations: 95.08 kB / 382.2 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.3606, allocations: 178 kB / 382.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.022e-05/0.3607, allocations: 9.859 kB / 382.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.3618, allocations: 0.6156 MB / 383 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.183e-05/0.3619, allocations: 54.69 kB / 383.1 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.3619, allocations: 5.344 kB / 383.1 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.3633, allocations: 0.8549 MB / 383.9 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.456e-05/0.3634, allocations: 20.73 kB / 384 MB, free: 8.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.24e-05/0.3635, allocations: 47.7 kB / 384 MB, free: 8.555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004315/0.3639, allocations: 233.6 kB / 384.2 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3639, allocations: 0 / 384.2 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3639, allocations: 0 / 384.2 MB, free: 8.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3639, allocations: 1.344 kB / 384.2 MB, free: 8.512 MB / 318.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.0004943/0.3644, allocations: 413.8 kB / 384.6 MB, free: 8.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3645, allocations: 13.72 kB / 384.6 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004299/0.3649, allocations: 35 kB / 384.7 MB, free: 8.121 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.3652, allocations: 199.1 kB / 384.9 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3652, allocations: 7.688 kB / 384.9 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.3653, allocations: 6.188 kB / 384.9 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.3655, allocations: 143.3 kB / 385 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3655, allocations: 0 / 385 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.3656, allocations: 10.2 kB / 385 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3656, allocations: 2.781 kB / 385 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.3658, allocations: 109 kB / 385.1 MB, free: 7.832 MB / 318.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.0007263/0.3665, allocations: 0.6628 MB / 385.8 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.3667, allocations: 92.53 kB / 385.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.591e-05/0.3668, allocations: 42.98 kB / 385.9 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004587/0.3672, allocations: 0.8087 MB / 386.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.3673, allocations: 32.56 kB / 386.8 MB, free: 6.215 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.3673, allocations: 0 / 386.8 MB, free: 6.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003131/0.3676, allocations: 124.5 kB / 386.9 MB, free: 6.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.3676, allocations: 61.12 kB / 387 MB, free: 6.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.006e-05/0.3677, allocations: 121.8 kB / 387.1 MB, free: 6.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.3677, allocations: 29.27 kB / 387.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.3678, allocations: 102 kB / 387.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.3678, allocations: 44.11 kB / 387.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.3679, allocations: 36.2 kB / 387.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.875e-05/0.368, allocations: 318.9 kB / 387.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.586e-05/0.368, allocations: 24.77 kB / 387.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.315e-05/0.3681, allocations: 73.55 kB / 387.7 MB, free: 5.469 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.3682, allocations: 107.2 kB / 387.8 MB, free: 5.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3683, allocations: 1.094 kB / 387.8 MB, free: 5.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002174/0.3685, allocations: 137 kB / 387.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3685, allocations: 6.031 kB / 387.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3685, allocations: 2.656 kB / 387.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.3685, allocations: 2.5 kB / 387.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.3687, allocations: 36.86 kB / 388 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.3687, allocations: 3.891 kB / 388 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.072e-05/0.3688, allocations: 19.16 kB / 388 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.3688, allocations: 11.92 kB / 388 MB, free: 5.305 MB / 318.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 7.451e-05/0.3689, allocations: 118.9 kB / 388.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.3689, allocations: 9.516 kB / 388.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.3692, allocations: 150.9 kB / 388.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3692, allocations: 1.438 kB / 388.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3692, allocations: 10.75 kB / 388.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3692, allocations: 2.094 kB / 388.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000417/0.3697, allocations: 390.6 kB / 388.7 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3697, allocations: 0 / 388.7 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.229e-05/0.3698, allocations: 22.69 kB / 388.7 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3698, allocations: 7.875 kB / 388.7 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.3698, allocations: 10.28 kB / 388.7 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.3698, allocations: 1.812 kB / 388.7 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3698, allocations: 0.5156 kB / 388.7 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.37, allocations: 201.4 kB / 388.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.3701, allocations: 103.6 kB / 389 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.3701, allocations: 5.812 kB / 389 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.3702, allocations: 1.031 kB / 389 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.3703, allocations: 13.03 kB / 389 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.3703, allocations: 9.734 kB / 389.1 MB, free: 4.445 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.336e-05/0.3703, allocations: 90.16 kB / 389.1 MB, free: 4.367 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3703, allocations: 0 / 389.1 MB, free: 4.367 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.3707, allocations: 61.56 kB / 389.2 MB, free: 4.352 MB / 318.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.0002708/0.371, allocations: 155.1 kB / 389.4 MB, free: 4.246 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.3712, allocations: 86.88 kB / 389.4 MB, free: 4.219 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3712, allocations: 0 / 389.4 MB, free: 4.219 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.529e-05/0.3713, allocations: 41.08 kB / 389.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.3717, allocations: 41.25 kB / 389.5 MB, free: 4.199 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004472/0.3722, allocations: 232 kB / 389.7 MB, free: 4.035 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.3724, allocations: 0.6938 MB / 390.4 MB, free: 3.34 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.3725, allocations: 33.3 kB / 390.5 MB, free: 3.324 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.102e-05/0.3726, allocations: 19.27 kB / 390.5 MB, free: 3.316 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3726, allocations: 0 / 390.5 MB, free: 3.316 MB / 318.1 MB Notification: Performance of Templates: time 0.006809/0.3794, allocations: 2.427 MB / 392.9 MB, free: 3.043 MB / 318.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)