Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001294/0.001294, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001915/0.001915, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.505/1.505, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.001498/0.001498, allocations: 55.92 kB / 278.2 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2914, allocations: 46.62 MB / 324.8 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01042/0.3019, allocations: 7.771 MB / 332.6 MB, free: 11.69 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009723/0.3029, allocations: 0.6226 MB / 333.2 MB, free: 11.19 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.367e-05/0.303, allocations: 1.062 kB / 333.2 MB, free: 11.19 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.3033, allocations: 32.27 kB / 333.3 MB, free: 11.16 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.3049, allocations: 0.5376 MB / 333.8 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.3051, allocations: 85.67 kB / 333.9 MB, free: 10.78 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.3054, allocations: 183.6 kB / 334.1 MB, free: 10.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.3054, allocations: 8.531 kB / 334.1 MB, free: 10.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.3067, allocations: 0.7085 MB / 334.8 MB, free: 10.12 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.976e-05/0.3068, allocations: 51.77 kB / 334.8 MB, free: 10.07 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.3068, allocations: 8 kB / 334.8 MB, free: 10.06 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.3085, allocations: 0.9605 MB / 335.8 MB, free: 9.098 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.445e-05/0.3086, allocations: 27.91 kB / 335.8 MB, free: 9.07 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.548e-05/0.3087, allocations: 39.86 kB / 335.9 MB, free: 9.031 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005111/0.3092, allocations: 239.4 kB / 336.1 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.3092, allocations: 3.984 kB / 336.1 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.3092, allocations: 4 kB / 336.1 MB, free: 8.789 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.3093, allocations: 0 / 336.1 MB, free: 8.789 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.000806/0.3101, allocations: 427.2 kB / 336.5 MB, free: 8.324 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.3101, allocations: 12.03 kB / 336.5 MB, free: 8.312 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005217/0.3107, allocations: 32.81 kB / 336.6 MB, free: 8.281 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.3109, allocations: 192.2 kB / 336.8 MB, free: 8.055 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.3109, allocations: 4.375 kB / 336.8 MB, free: 8.051 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.311, allocations: 16.36 kB / 336.8 MB, free: 8.035 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.3112, allocations: 137.1 kB / 336.9 MB, free: 7.883 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3113, allocations: 0 / 336.9 MB, free: 7.883 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.3113, allocations: 4 kB / 336.9 MB, free: 7.879 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.3113, allocations: 7.938 kB / 336.9 MB, free: 7.871 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.3115, allocations: 111.8 kB / 337 MB, free: 7.762 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.0007681/0.3123, allocations: 0.6682 MB / 337.7 MB, free: 7.02 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.3124, allocations: 90.42 kB / 337.8 MB, free: 6.922 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.927e-05/0.3125, allocations: 40.84 kB / 337.8 MB, free: 6.879 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007024/0.3132, allocations: 0.8037 MB / 338.6 MB, free: 5.891 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.3132, allocations: 38.56 kB / 338.7 MB, free: 5.844 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.3132, allocations: 0 / 338.7 MB, free: 5.844 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.000328/0.3136, allocations: 129.9 kB / 338.8 MB, free: 5.711 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.3136, allocations: 51.41 kB / 338.8 MB, free: 5.648 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.3138, allocations: 121.8 kB / 339 MB, free: 5.52 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.3138, allocations: 25.7 kB / 339 MB, free: 5.488 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.81e-05/0.3139, allocations: 101.1 kB / 339.1 MB, free: 5.387 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.3139, allocations: 51.34 kB / 339.1 MB, free: 5.336 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.308e-05/0.314, allocations: 37.7 kB / 339.2 MB, free: 5.293 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3142, allocations: 318.8 kB / 339.5 MB, free: 4.973 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.377e-05/0.3143, allocations: 27.98 kB / 339.5 MB, free: 4.945 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.537e-05/0.3143, allocations: 65.05 kB / 339.6 MB, free: 4.863 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.3145, allocations: 105.1 kB / 339.7 MB, free: 4.742 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3145, allocations: 7.938 kB / 339.7 MB, free: 4.734 MB / 270.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002115/0.3147, allocations: 133.5 kB / 339.8 MB, free: 4.598 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3148, allocations: 12.47 kB / 339.8 MB, free: 4.586 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3148, allocations: 7.984 kB / 339.8 MB, free: 4.578 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3148, allocations: 0 / 339.8 MB, free: 4.578 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.3149, allocations: 31.98 kB / 339.9 MB, free: 4.547 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3149, allocations: 7.875 kB / 339.9 MB, free: 4.539 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.44e-05/0.315, allocations: 15.84 kB / 339.9 MB, free: 4.523 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.315, allocations: 8 kB / 339.9 MB, free: 4.516 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 9.341e-05/0.3151, allocations: 121.8 kB / 340 MB, free: 4.387 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.3152, allocations: 7.906 kB / 340 MB, free: 4.379 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.3155, allocations: 154.5 kB / 340.2 MB, free: 4.227 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3155, allocations: 0 / 340.2 MB, free: 4.227 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3155, allocations: 3.938 kB / 340.2 MB, free: 4.223 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3155, allocations: 3.984 kB / 340.2 MB, free: 4.219 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.3159, allocations: 382.7 kB / 340.6 MB, free: 3.789 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.316, allocations: 0 / 340.6 MB, free: 3.789 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.369e-05/0.316, allocations: 31.92 kB / 340.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.316, allocations: 3.938 kB / 340.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.3161, allocations: 4 kB / 340.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3161, allocations: 3.984 kB / 340.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3161, allocations: 0 / 340.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.3163, allocations: 199.4 kB / 340.8 MB, free: 3.535 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.3163, allocations: 100.9 kB / 340.9 MB, free: 3.418 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.3164, allocations: 4 kB / 340.9 MB, free: 3.414 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.687e-05/0.3165, allocations: 8 kB / 340.9 MB, free: 3.406 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.3165, allocations: 7.984 kB / 340.9 MB, free: 3.398 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.3165, allocations: 8 kB / 340.9 MB, free: 3.391 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.502e-05/0.3166, allocations: 95.2 kB / 341 MB, free: 3.297 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.3166, allocations: 0 / 341 MB, free: 3.297 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003268/0.3169, allocations: 63.92 kB / 341.1 MB, free: 3.234 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.0003294/0.3173, allocations: 171.1 kB / 341.2 MB, free: 3.055 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.3175, allocations: 91.89 kB / 341.3 MB, free: 2.965 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3175, allocations: 0 / 341.3 MB, free: 2.965 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.286e-05/0.3175, allocations: 39.92 kB / 341.4 MB, free: 2.926 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.318, allocations: 31.25 kB / 341.4 MB, free: 2.898 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000458/0.3185, allocations: 287.4 kB / 341.7 MB, free: 2.59 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.3188, allocations: 0.6967 MB / 342.4 MB, free: 1.867 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001428/0.3189, allocations: 41 kB / 342.4 MB, free: 1.828 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.319, allocations: 15.44 kB / 342.4 MB, free: 1.812 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.319, allocations: 0 / 342.4 MB, free: 1.812 MB / 270.1 MB Notification: Performance of Templates: time 0.005653/0.3246, allocations: 2.484 MB / 344.9 MB, free: 15.33 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1)