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.001585/0.001585, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001862/0.001862, allocations: 191 kB / 16.14 MB, free: 6.66 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.492/1.492, allocations: 205.1 MB / 222 MB, free: 4.73 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.001461/0.001461, allocations: 51.92 kB / 278 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2992, allocations: 46.62 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01224/0.3115, allocations: 7.911 MB / 332.6 MB, free: 11.65 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009993/0.3125, allocations: 0.6457 MB / 333.2 MB, free: 11.14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.511e-05/0.3126, allocations: 4 kB / 333.2 MB, free: 11.14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.313, allocations: 25.08 kB / 333.3 MB, free: 11.12 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.3146, allocations: 0.5223 MB / 333.8 MB, free: 10.79 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.3149, allocations: 84.97 kB / 333.9 MB, free: 10.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.3152, allocations: 220.7 kB / 334.1 MB, free: 10.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.859e-05/0.3152, allocations: 4.406 kB / 334.1 MB, free: 10.61 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.3165, allocations: 0.7026 MB / 334.8 MB, free: 10 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.82e-05/0.3166, allocations: 55.77 kB / 334.8 MB, free: 9.945 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.3166, allocations: 0 / 334.8 MB, free: 9.945 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.3182, allocations: 0.9449 MB / 335.8 MB, free: 9 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.24e-05/0.3183, allocations: 27.83 kB / 335.8 MB, free: 8.973 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.412e-05/0.3184, allocations: 43.86 kB / 335.9 MB, free: 8.93 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.3189, allocations: 243.4 kB / 336.1 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3189, allocations: 0 / 336.1 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3189, allocations: 0 / 336.1 MB, free: 8.691 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3189, allocations: 0 / 336.1 MB, free: 8.691 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.0005658/0.3195, allocations: 419.3 kB / 336.5 MB, free: 8.234 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.3195, allocations: 16.03 kB / 336.5 MB, free: 8.219 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004083/0.3199, allocations: 36.81 kB / 336.6 MB, free: 8.184 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.3202, allocations: 196.2 kB / 336.7 MB, free: 7.953 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.3202, allocations: 8.375 kB / 336.8 MB, free: 7.945 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.3202, allocations: 12.31 kB / 336.8 MB, free: 7.934 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.3205, allocations: 137.2 kB / 336.9 MB, free: 7.781 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3205, allocations: 0 / 336.9 MB, free: 7.781 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.3205, allocations: 4 kB / 336.9 MB, free: 7.777 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.3206, allocations: 4 kB / 336.9 MB, free: 7.773 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.3207, allocations: 111.8 kB / 337 MB, free: 7.664 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.0008517/0.3216, allocations: 0.6644 MB / 337.7 MB, free: 6.926 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.3218, allocations: 82.55 kB / 337.8 MB, free: 6.836 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.825e-05/0.3219, allocations: 40.84 kB / 337.8 MB, free: 6.793 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007564/0.3226, allocations: 0.8115 MB / 338.6 MB, free: 5.797 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.3227, allocations: 30.56 kB / 338.6 MB, free: 5.758 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.3227, allocations: 0 / 338.6 MB, free: 5.758 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.00035/0.323, allocations: 129.9 kB / 338.8 MB, free: 5.625 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.3231, allocations: 59.41 kB / 338.8 MB, free: 5.555 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.3233, allocations: 121.7 kB / 338.9 MB, free: 5.426 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.3233, allocations: 33.7 kB / 339 MB, free: 5.387 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.3234, allocations: 93.08 kB / 339.1 MB, free: 5.293 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.3234, allocations: 47.36 kB / 339.1 MB, free: 5.246 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.3235, allocations: 33.7 kB / 339.1 MB, free: 5.207 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3237, allocations: 318.8 kB / 339.5 MB, free: 4.887 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/0.3237, allocations: 27.98 kB / 339.5 MB, free: 4.859 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.081e-05/0.3238, allocations: 77.67 kB / 339.6 MB, free: 4.766 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.324, allocations: 113 kB / 339.7 MB, free: 4.637 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.324, allocations: 0 / 339.7 MB, free: 4.637 MB / 270.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002131/0.3242, allocations: 129.5 kB / 339.8 MB, free: 4.504 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3242, allocations: 7.938 kB / 339.8 MB, free: 4.496 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3242, allocations: 4 kB / 339.8 MB, free: 4.492 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3243, allocations: 0 / 339.8 MB, free: 4.492 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.3244, allocations: 35.98 kB / 339.8 MB, free: 4.457 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/0.3244, allocations: 11.86 kB / 339.9 MB, free: 4.445 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.191e-05/0.3245, allocations: 16 kB / 339.9 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.3245, allocations: 12 kB / 339.9 MB, free: 4.418 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 0.0001023/0.3246, allocations: 113.8 kB / 340 MB, free: 4.297 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.3247, allocations: 11.89 kB / 340 MB, free: 4.285 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.325, allocations: 150.2 kB / 340.2 MB, free: 4.137 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.325, allocations: 0 / 340.2 MB, free: 4.137 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.325, allocations: 7.938 kB / 340.2 MB, free: 4.129 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.325, allocations: 0 / 340.2 MB, free: 4.129 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.3255, allocations: 387.3 kB / 340.5 MB, free: 3.695 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3255, allocations: 3.938 kB / 340.5 MB, free: 3.691 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.641e-05/0.3256, allocations: 19.98 kB / 340.6 MB, free: 3.672 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3256, allocations: 7.938 kB / 340.6 MB, free: 3.664 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3256, allocations: 4 kB / 340.6 MB, free: 3.66 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3256, allocations: 3.938 kB / 340.6 MB, free: 3.656 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3256, allocations: 0 / 340.6 MB, free: 3.656 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.3258, allocations: 211.5 kB / 340.8 MB, free: 3.434 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.3259, allocations: 104.9 kB / 340.9 MB, free: 3.312 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.3259, allocations: 4 kB / 340.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.387e-05/0.326, allocations: 3.938 kB / 340.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.3261, allocations: 11.98 kB / 340.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.3261, allocations: 4 kB / 340.9 MB, free: 3.289 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.189e-05/0.3261, allocations: 91.27 kB / 341 MB, free: 3.199 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3261, allocations: 4 kB / 341 MB, free: 3.195 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003224/0.3265, allocations: 63.98 kB / 341.1 MB, free: 3.133 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.0003686/0.3268, allocations: 163.1 kB / 341.2 MB, free: 2.961 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.327, allocations: 83.91 kB / 341.3 MB, free: 2.879 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.327, allocations: 0 / 341.3 MB, free: 2.879 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.542e-05/0.3271, allocations: 40.23 kB / 341.3 MB, free: 2.84 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.3275, allocations: 50.86 kB / 341.4 MB, free: 2.793 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.328, allocations: 273.1 kB / 341.7 MB, free: 2.5 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.3284, allocations: 0.6931 MB / 342.4 MB, free: 1.781 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.000149/0.3286, allocations: 33.02 kB / 342.4 MB, free: 1.75 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.926e-05/0.3286, allocations: 19.44 kB / 342.4 MB, free: 1.73 MB / 270.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3286, allocations: 0 / 342.4 MB, free: 1.73 MB / 270.1 MB Notification: Performance of Templates: time 0.00592/0.3345, allocations: 2.425 MB / 344.8 MB, free: 15.31 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)