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.001252/0.001252, allocations: 113.4 kB / 17.06 MB, free: 5.992 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.001049/0.00105, allocations: 200 kB / 18.01 MB, free: 5.062 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.396/1.396, allocations: 205.1 MB / 223.9 MB, free: 12.27 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.001187/0.001187, allocations: 52.2 kB / 327.8 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1016, allocations: 46.62 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.2066/0.3082, allocations: 7.756 MB / 382.2 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008607/0.3091, allocations: 0.6231 MB / 382.8 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.81e-05/0.3092, allocations: 5.406 kB / 382.9 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.3095, allocations: 31.94 kB / 382.9 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.001883/0.3114, allocations: 0.5652 MB / 383.4 MB, free: 8.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.3117, allocations: 99.97 kB / 383.5 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.312, allocations: 175.7 kB / 383.7 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.3121, allocations: 5.266 kB / 383.7 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/0.3133, allocations: 0.6207 MB / 384.3 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.3135, allocations: 46.98 kB / 384.4 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.3135, allocations: 5.031 kB / 384.4 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.3153, allocations: 0.8566 MB / 385.3 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.322e-05/0.3154, allocations: 24.28 kB / 385.3 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.066e-05/0.3154, allocations: 47.86 kB / 385.3 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.3159, allocations: 235.5 kB / 385.6 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.316, allocations: 0 / 385.6 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.316, allocations: 5.281 kB / 385.6 MB, free: 8.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.316, allocations: 0 / 385.6 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.0005344/0.3165, allocations: 430.7 kB / 386 MB, free: 8.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.3166, allocations: 10.44 kB / 386 MB, free: 8.113 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005077/0.3171, allocations: 31.06 kB / 386 MB, free: 8.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.3175, allocations: 198.6 kB / 386.2 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.3175, allocations: 7.75 kB / 386.2 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.3175, allocations: 9.375 kB / 386.2 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.3179, allocations: 142.6 kB / 386.4 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.3179, allocations: 3.938 kB / 386.4 MB, free: 7.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.318, allocations: 9.406 kB / 386.4 MB, free: 7.824 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.318, allocations: 2.406 kB / 386.4 MB, free: 7.824 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.3183, allocations: 104.4 kB / 386.5 MB, free: 7.824 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.0006634/0.3189, allocations: 0.6735 MB / 387.2 MB, free: 7.223 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.3191, allocations: 82.78 kB / 387.2 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.964e-05/0.3192, allocations: 46.8 kB / 387.3 MB, free: 7.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004475/0.3196, allocations: 0.7996 MB / 388.1 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.3197, allocations: 37.72 kB / 388.1 MB, free: 6.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.3197, allocations: 0 / 388.1 MB, free: 6.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003031/0.32, allocations: 127.7 kB / 388.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.32, allocations: 52.5 kB / 388.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/0.3201, allocations: 119.6 kB / 388.4 MB, free: 6 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.3201, allocations: 30.17 kB / 388.4 MB, free: 5.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/0.3202, allocations: 101.2 kB / 388.5 MB, free: 5.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.3202, allocations: 52.61 kB / 388.6 MB, free: 5.836 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.3203, allocations: 35.59 kB / 388.6 MB, free: 5.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.87e-05/0.3204, allocations: 326 kB / 388.9 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.934e-05/0.3204, allocations: 27.31 kB / 389 MB, free: 5.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.375e-05/0.3205, allocations: 67.34 kB / 389 MB, free: 5.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.3206, allocations: 103.5 kB / 389.1 MB, free: 5.367 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3207, allocations: 0 / 389.1 MB, free: 5.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002341/0.3209, allocations: 141.3 kB / 389.3 MB, free: 5.293 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3209, allocations: 5.953 kB / 389.3 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3209, allocations: 6.062 kB / 389.3 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.321, allocations: 2.438 kB / 389.3 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.3211, allocations: 35.69 kB / 389.3 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3211, allocations: 7.094 kB / 389.3 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.768e-05/0.3212, allocations: 15.52 kB / 389.3 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.3212, allocations: 7.578 kB / 389.4 MB, free: 5.27 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 8.241e-05/0.3213, allocations: 127.3 kB / 389.5 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.3213, allocations: 9.359 kB / 389.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.3217, allocations: 134.8 kB / 389.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3217, allocations: 8.125 kB / 389.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3217, allocations: 3.938 kB / 389.6 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3217, allocations: 0.7969 kB / 389.6 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.3222, allocations: 391.4 kB / 390 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3222, allocations: 0.9062 kB / 390 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.731e-05/0.3223, allocations: 24.72 kB / 390 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.3223, allocations: 9.094 kB / 390 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.3223, allocations: 2.406 kB / 390.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3223, allocations: 1.125 kB / 390.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3224, allocations: 4 kB / 390.1 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.3226, allocations: 203.1 kB / 390.3 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.3226, allocations: 99.09 kB / 390.4 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.3227, allocations: 5.484 kB / 390.4 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.645e-05/0.3228, allocations: 7.047 kB / 390.4 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.3228, allocations: 7.672 kB / 390.4 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.3228, allocations: 6.656 kB / 390.4 MB, free: 4.422 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.941e-05/0.3229, allocations: 98.19 kB / 390.5 MB, free: 4.336 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3229, allocations: 0 / 390.5 MB, free: 4.336 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003553/0.3233, allocations: 62.12 kB / 390.5 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.0003328/0.3236, allocations: 161.8 kB / 390.7 MB, free: 4.211 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.3238, allocations: 83.66 kB / 390.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3238, allocations: 0 / 390.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.084e-05/0.3239, allocations: 41.25 kB / 390.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.3244, allocations: 37.92 kB / 390.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004818/0.3248, allocations: 233.3 kB / 391.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.325, allocations: 0.6975 MB / 391.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.3251, allocations: 35.34 kB / 391.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.3252, allocations: 17.59 kB / 391.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3252, allocations: 0 / 391.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of Templates: time 0.006761/0.332, allocations: 2.432 MB / 394.3 MB, free: 3 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)