Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001337/0.001337, allocations: 109.7 kB / 17.06 MB, free: 5.824 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.001263/0.001263, allocations: 191 kB / 18 MB, free: 4.977 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.417/1.418, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001204/0.001204, allocations: 51.94 kB / 327.8 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1138, allocations: 46.61 MB / 374.5 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.2324/0.3462, allocations: 7.755 MB / 382.2 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008243/0.3471, allocations: 0.6171 MB / 382.8 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/0.3471, allocations: 9.312 kB / 382.8 MB, free: 9.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.3474, allocations: 27.64 kB / 382.9 MB, free: 9.016 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.001674/0.3491, allocations: 0.5779 MB / 383.4 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.3494, allocations: 95.33 kB / 383.5 MB, free: 8.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.3497, allocations: 177.9 kB / 383.7 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.3497, allocations: 8.141 kB / 383.7 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.3508, allocations: 0.6177 MB / 384.3 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.68e-05/0.3509, allocations: 51.05 kB / 384.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.351, allocations: 3.875 kB / 384.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.3527, allocations: 0.8546 MB / 385.2 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.3528, allocations: 19.27 kB / 385.3 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.034e-05/0.3529, allocations: 49.09 kB / 385.3 MB, free: 8.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.3534, allocations: 232.4 kB / 385.5 MB, free: 8.543 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3534, allocations: 3.938 kB / 385.5 MB, free: 8.539 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.3534, allocations: 4.781 kB / 385.6 MB, free: 8.535 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3535, allocations: 1.219 kB / 385.6 MB, free: 8.535 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.0005684/0.354, allocations: 412 kB / 386 MB, free: 8.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3541, allocations: 8.75 kB / 386 MB, free: 8.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/0.3546, allocations: 40.39 kB / 386 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.3548, allocations: 192.8 kB / 386.2 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3549, allocations: 11.97 kB / 386.2 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.3549, allocations: 8.719 kB / 386.2 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.3552, allocations: 141.6 kB / 386.3 MB, free: 7.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3552, allocations: 1.344 kB / 386.4 MB, free: 7.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.3552, allocations: 10.11 kB / 386.4 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3552, allocations: 2.156 kB / 386.4 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.3554, allocations: 108.3 kB / 386.5 MB, free: 7.855 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.0007069/0.3562, allocations: 0.6632 MB / 387.1 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.3563, allocations: 91.47 kB / 387.2 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.233e-05/0.3564, allocations: 40.33 kB / 387.3 MB, free: 7.223 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004323/0.3568, allocations: 0.8066 MB / 388.1 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.3569, allocations: 33.08 kB / 388.1 MB, free: 6.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.3569, allocations: 3.938 kB / 388.1 MB, free: 6.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003013/0.3572, allocations: 128.1 kB / 388.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.3572, allocations: 57.72 kB / 388.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.949e-05/0.3573, allocations: 123.2 kB / 388.4 MB, free: 6.027 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.3573, allocations: 26.95 kB / 388.4 MB, free: 5.996 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.3574, allocations: 100 kB / 388.5 MB, free: 5.902 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.3574, allocations: 45.22 kB / 388.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.3575, allocations: 33.41 kB / 388.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.868e-05/0.3575, allocations: 317.9 kB / 388.9 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.375e-05/0.3576, allocations: 26.75 kB / 388.9 MB, free: 5.547 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.572e-05/0.3577, allocations: 70.97 kB / 389 MB, free: 5.496 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.3578, allocations: 114.3 kB / 389.1 MB, free: 5.418 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3578, allocations: 1.188 kB / 389.1 MB, free: 5.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002064/0.3581, allocations: 137 kB / 389.3 MB, free: 5.352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3581, allocations: 5.688 kB / 389.3 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3581, allocations: 2.094 kB / 389.3 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3581, allocations: 2.797 kB / 389.3 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.3582, allocations: 34.86 kB / 389.3 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3583, allocations: 2.75 kB / 389.3 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.641e-05/0.3583, allocations: 19.97 kB / 389.3 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.3583, allocations: 11.7 kB / 389.3 MB, free: 5.328 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 6.627e-05/0.3584, allocations: 123.3 kB / 389.5 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.3585, allocations: 8.438 kB / 389.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.3587, allocations: 149.7 kB / 389.6 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3588, allocations: 2.312 kB / 389.6 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3588, allocations: 7.406 kB / 389.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3588, allocations: 4.516 kB / 389.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.3592, allocations: 387.9 kB / 390 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3592, allocations: 0 / 390 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-05/0.3593, allocations: 25.19 kB / 390 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.3593, allocations: 5.781 kB / 390 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3593, allocations: 5.922 kB / 390 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3593, allocations: 1.188 kB / 390 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3593, allocations: 3.938 kB / 390 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.3595, allocations: 202.2 kB / 390.2 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.3596, allocations: 104.2 kB / 390.3 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.3596, allocations: 5.031 kB / 390.3 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-05/0.3597, allocations: 1.906 kB / 390.4 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.3598, allocations: 12.14 kB / 390.4 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.3598, allocations: 9.672 kB / 390.4 MB, free: 4.469 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.267e-05/0.3598, allocations: 93.92 kB / 390.5 MB, free: 4.387 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3598, allocations: 288 / 390.5 MB, free: 4.387 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003686/0.3602, allocations: 61.67 kB / 390.5 MB, free: 4.371 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.0002863/0.3605, allocations: 155 kB / 390.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.3607, allocations: 86.95 kB / 390.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3607, allocations: 0 / 390.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.099e-05/0.3608, allocations: 41.69 kB / 390.8 MB, free: 4.227 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.3612, allocations: 32.8 kB / 390.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.3617, allocations: 236.8 kB / 391.1 MB, free: 4.055 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.3618, allocations: 0.6937 MB / 391.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.3619, allocations: 36.33 kB / 391.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.362, allocations: 17.27 kB / 391.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.362, allocations: 0 / 391.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of Templates: time 0.006354/0.3684, allocations: 2.43 MB / 394.2 MB, free: 3.059 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1)