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.008592/0.008592, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.002089/0.002089, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.428/1.428, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.0014/0.0014, allocations: 60.23 kB / 326.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1052, allocations: 46.62 MB / 373.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.2598/0.3651, allocations: 7.75 MB / 380.9 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.3663, allocations: 0.6301 MB / 381.5 MB, free: 9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.114e-05/0.3664, allocations: 1.312 kB / 381.5 MB, free: 9 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.3668, allocations: 24.09 kB / 381.5 MB, free: 8.988 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.002249/0.369, allocations: 0.571 MB / 382.1 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003111/0.3694, allocations: 96.28 kB / 382.2 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.3697, allocations: 182.8 kB / 382.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.81e-05/0.3698, allocations: 11.23 kB / 382.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.3711, allocations: 0.6128 MB / 383 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.062e-05/0.3712, allocations: 50.75 kB / 383.1 MB, free: 8.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3712, allocations: 4.594 kB / 383.1 MB, free: 8.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.3728, allocations: 0.8544 MB / 383.9 MB, free: 8.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.911e-05/0.3729, allocations: 21.23 kB / 383.9 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.7e-05/0.373, allocations: 46.67 kB / 384 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004714/0.3735, allocations: 240.5 kB / 384.2 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3735, allocations: 0 / 384.2 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3735, allocations: 0 / 384.2 MB, free: 8.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3735, allocations: 4 kB / 384.2 MB, free: 8.508 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.000547/0.3741, allocations: 414.8 kB / 384.6 MB, free: 8.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3741, allocations: 13.91 kB / 384.6 MB, free: 8.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004351/0.3746, allocations: 34.17 kB / 384.7 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.3749, allocations: 195 kB / 384.9 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.375, allocations: 6.656 kB / 384.9 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.375, allocations: 8.938 kB / 384.9 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003941/0.3754, allocations: 146 kB / 385 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.3754, allocations: 1.188 kB / 385 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.3755, allocations: 5.625 kB / 385 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.3755, allocations: 7.062 kB / 385 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.3757, allocations: 105.9 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.000782/0.3765, allocations: 0.6707 MB / 385.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.3767, allocations: 90.86 kB / 385.9 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.365e-05/0.3768, allocations: 36.84 kB / 385.9 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004678/0.3772, allocations: 0.804 MB / 386.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.3773, allocations: 40.42 kB / 386.8 MB, free: 6.215 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.3773, allocations: 0 / 386.8 MB, free: 6.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003123/0.3776, allocations: 123.4 kB / 386.9 MB, free: 6.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.3776, allocations: 56.53 kB / 387 MB, free: 6.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.703e-05/0.3777, allocations: 121.5 kB / 387.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3778, allocations: 30.52 kB / 387.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.3778, allocations: 103.2 kB / 387.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.3779, allocations: 41.77 kB / 387.3 MB, free: 5.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.3779, allocations: 39.12 kB / 387.3 MB, free: 5.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.831e-05/0.378, allocations: 319.2 kB / 387.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.717e-05/0.378, allocations: 26.42 kB / 387.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.638e-05/0.3781, allocations: 70.67 kB / 387.7 MB, free: 5.453 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.3783, allocations: 111.2 kB / 387.8 MB, free: 5.367 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3783, allocations: 0 / 387.8 MB, free: 5.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002229/0.3785, allocations: 137.4 kB / 387.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3786, allocations: 6.281 kB / 387.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3786, allocations: 5.469 kB / 388 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.3786, allocations: 2.656 kB / 388 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.3787, allocations: 34.89 kB / 388 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.3788, allocations: 9.094 kB / 388 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.3788, allocations: 15.81 kB / 388 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.3789, allocations: 13.66 kB / 388 MB, free: 5.266 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.8e-05/0.379, allocations: 114.5 kB / 388.1 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.379, allocations: 8.5 kB / 388.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.3794, allocations: 151 kB / 388.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3794, allocations: 1.25 kB / 388.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.3794, allocations: 7.734 kB / 388.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.3794, allocations: 2.234 kB / 388.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005477/0.38, allocations: 387 kB / 388.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.38, allocations: 0 / 388.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.3801, allocations: 32.33 kB / 388.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3801, allocations: 4.547 kB / 388.7 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.3801, allocations: 11.17 kB / 388.7 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3801, allocations: 0 / 388.7 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3801, allocations: 1.219 kB / 388.7 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.3804, allocations: 198.3 kB / 388.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.578e-05/0.3805, allocations: 99.34 kB / 389 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.3805, allocations: 9.219 kB / 389 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.859e-05/0.3806, allocations: 1.922 kB / 389 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.3807, allocations: 11.89 kB / 389 MB, free: 4.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.3807, allocations: 14.38 kB / 389.1 MB, free: 4.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.477e-05/0.3808, allocations: 93.56 kB / 389.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3808, allocations: 1.281 kB / 389.2 MB, free: 4.328 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004205/0.3812, allocations: 53.3 kB / 389.2 MB, free: 4.32 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.0004137/0.3816, allocations: 158.3 kB / 389.4 MB, free: 4.211 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002999/0.382, allocations: 79.38 kB / 389.4 MB, free: 4.191 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.382, allocations: 0 / 389.4 MB, free: 4.191 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.263e-05/0.3821, allocations: 40.83 kB / 389.5 MB, free: 4.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.3825, allocations: 42.2 kB / 389.5 MB, free: 4.168 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004543/0.383, allocations: 229.7 kB / 389.7 MB, free: 4.008 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.3832, allocations: 0.6975 MB / 390.4 MB, free: 3.309 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.3833, allocations: 30.31 kB / 390.5 MB, free: 3.297 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.3834, allocations: 20.05 kB / 390.5 MB, free: 3.289 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3834, allocations: 5.188 kB / 390.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of Templates: time 0.006818/0.3902, allocations: 2.431 MB / 392.9 MB, free: 3.008 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)