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.00104/0.00104, allocations: 89.73 kB / 15.06 MB, free: 1.098 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.001271/0.001271, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0005274/0.0005275, allocations: 14.81 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3057, allocations: 47.57 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.009534/0.3153, allocations: 6.99 MB / 333.5 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009352/0.3163, allocations: 0.5796 MB / 334 MB, free: 11.36 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.3164, allocations: 5.062 kB / 334 MB, free: 11.36 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.3166, allocations: 23.27 kB / 334.1 MB, free: 11.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.3181, allocations: 0.5137 MB / 334.6 MB, free: 11.01 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.3184, allocations: 88.75 kB / 334.7 MB, free: 10.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.3187, allocations: 187 kB / 334.8 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.694e-05/0.3188, allocations: 4.469 kB / 334.8 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.32, allocations: 0.6662 MB / 335.5 MB, free: 10.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.05e-05/0.3202, allocations: 59.75 kB / 335.6 MB, free: 10.37 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.3202, allocations: 7.938 kB / 335.6 MB, free: 10.36 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.3217, allocations: 0.8831 MB / 336.5 MB, free: 9.48 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.079e-05/0.3218, allocations: 27.89 kB / 336.5 MB, free: 9.453 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.3219, allocations: 45.64 kB / 336.5 MB, free: 9.402 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.3222, allocations: 171.6 kB / 336.7 MB, free: 9.234 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3222, allocations: 0 / 336.7 MB, free: 9.234 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3222, allocations: 0 / 336.7 MB, free: 9.234 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.3222, allocations: 0 / 336.7 MB, free: 9.234 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.0005156/0.3227, allocations: 399.1 kB / 337.1 MB, free: 8.797 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.3228, allocations: 8.031 kB / 337.1 MB, free: 8.789 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004074/0.3232, allocations: 35.88 kB / 337.1 MB, free: 8.754 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.3235, allocations: 202.9 kB / 337.3 MB, free: 8.516 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.3235, allocations: 4 kB / 337.3 MB, free: 8.512 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.3235, allocations: 16 kB / 337.4 MB, free: 8.496 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.3238, allocations: 133 kB / 337.5 MB, free: 8.348 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3238, allocations: 7.938 kB / 337.5 MB, free: 8.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.3239, allocations: 0 / 337.5 MB, free: 8.34 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3239, allocations: 7.953 kB / 337.5 MB, free: 8.332 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.3241, allocations: 111.9 kB / 337.6 MB, free: 8.223 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.0007954/0.3249, allocations: 0.6528 MB / 338.3 MB, free: 7.496 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.325, allocations: 86.5 kB / 338.3 MB, free: 7.402 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.733e-05/0.3251, allocations: 40.84 kB / 338.4 MB, free: 7.359 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006816/0.3258, allocations: 0.8115 MB / 339.2 MB, free: 6.363 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.3259, allocations: 34.5 kB / 339.2 MB, free: 6.32 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.3259, allocations: 0 / 339.2 MB, free: 6.32 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002878/0.3262, allocations: 130 kB / 339.4 MB, free: 6.188 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.3262, allocations: 51.41 kB / 339.4 MB, free: 6.125 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.3263, allocations: 114 kB / 339.5 MB, free: 6.004 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.3264, allocations: 33.7 kB / 339.5 MB, free: 5.965 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.3264, allocations: 105 kB / 339.7 MB, free: 5.859 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.3265, allocations: 47.36 kB / 339.7 MB, free: 5.812 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.3265, allocations: 0 / 339.7 MB, free: 5.812 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3266, allocations: 314.8 kB / 340 MB, free: 5.496 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.645e-05/0.3267, allocations: 27.98 kB / 340 MB, free: 5.469 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-05/0.3268, allocations: 77.06 kB / 340.1 MB, free: 5.375 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.439e-05/0.3268, allocations: 28.5 kB / 340.1 MB, free: 5.348 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3269, allocations: 4.312 kB / 340.1 MB, free: 5.344 MB / 270.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002063/0.3271, allocations: 145.4 kB / 340.3 MB, free: 5.195 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3271, allocations: 15.44 kB / 340.3 MB, free: 5.184 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3271, allocations: 0 / 340.3 MB, free: 5.184 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3271, allocations: 7.938 kB / 340.3 MB, free: 5.176 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.3273, allocations: 35.92 kB / 340.3 MB, free: 5.141 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3273, allocations: 4 kB / 340.3 MB, free: 5.137 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.785e-05/0.3274, allocations: 11.84 kB / 340.4 MB, free: 5.125 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.3274, allocations: 4 kB / 340.4 MB, free: 5.121 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.3275, allocations: 125.8 kB / 340.5 MB, free: 4.988 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.3275, allocations: 15.84 kB / 340.5 MB, free: 4.973 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.3278, allocations: 142.2 kB / 340.6 MB, free: 4.832 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.3278, allocations: 0 / 340.6 MB, free: 4.832 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3279, allocations: 7.984 kB / 340.6 MB, free: 4.824 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3279, allocations: 0 / 340.6 MB, free: 4.824 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.3283, allocations: 394.3 kB / 341 MB, free: 4.383 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3283, allocations: 0 / 341 MB, free: 4.383 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-05/0.3284, allocations: 20 kB / 341 MB, free: 4.363 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3284, allocations: 4 kB / 341.1 MB, free: 4.359 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3285, allocations: 7.984 kB / 341.1 MB, free: 4.352 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3285, allocations: 0 / 341.1 MB, free: 4.352 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3285, allocations: 0 / 341.1 MB, free: 4.352 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.3287, allocations: 203.3 kB / 341.3 MB, free: 4.137 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.435e-05/0.3288, allocations: 96.94 kB / 341.4 MB, free: 4.023 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.3288, allocations: 4 kB / 341.4 MB, free: 4.02 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.138e-05/0.3289, allocations: 8 kB / 341.4 MB, free: 4.012 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.3289, allocations: 11.98 kB / 341.4 MB, free: 4 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.3289, allocations: 15.98 kB / 341.4 MB, free: 3.984 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.928e-05/0.329, allocations: 91.22 kB / 341.5 MB, free: 3.895 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.329, allocations: 0 / 341.5 MB, free: 3.895 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003328/0.3294, allocations: 55.98 kB / 341.5 MB, free: 3.84 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 (linear and non-linear blocks): 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.3297, allocations: 171.1 kB / 341.7 MB, free: 3.66 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.3299, allocations: 91.83 kB / 341.8 MB, free: 3.57 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3299, allocations: 0 / 341.8 MB, free: 3.57 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.484e-05/0.33, allocations: 36.73 kB / 341.8 MB, free: 3.535 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.3304, allocations: 36.28 kB / 341.9 MB, free: 3.5 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/0.3309, allocations: 298.7 kB / 342.2 MB, free: 3.184 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.3312, allocations: 0.697 MB / 342.9 MB, free: 2.461 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.000148/0.3314, allocations: 40.95 kB / 342.9 MB, free: 2.418 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.3314, allocations: 19.44 kB / 342.9 MB, free: 2.398 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3315, allocations: 0 / 342.9 MB, free: 2.398 MB / 270.1 MB Notification: Performance of Templates: time 0.005825/0.3373, allocations: 2.303 MB / 345.2 MB, free: 100 kB / 270.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)