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.001122/0.001122, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.434/1.434, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.001193/0.001193, allocations: 52.3 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2295, allocations: 46.63 MB / 325.3 MB, free: 1.961 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.009417/0.2389, allocations: 7.751 MB / 333.1 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000862/0.2398, allocations: 0.6266 MB / 333.7 MB, free: 11.23 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.081e-05/0.2399, allocations: 1.125 kB / 333.7 MB, free: 11.23 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.2402, allocations: 28.16 kB / 333.7 MB, free: 11.21 MB / 270.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.001443/0.2416, allocations: 0.5768 MB / 334.3 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.2419, allocations: 94.5 kB / 334.4 MB, free: 10.77 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.2421, allocations: 179.5 kB / 334.6 MB, free: 10.67 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.439e-05/0.2422, allocations: 8.422 kB / 334.6 MB, free: 10.67 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.2432, allocations: 0.6087 MB / 335.2 MB, free: 10.12 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.192e-05/0.2433, allocations: 51.83 kB / 335.2 MB, free: 10.07 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.2434, allocations: 4 kB / 335.2 MB, free: 10.07 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.2446, allocations: 0.8476 MB / 336.1 MB, free: 9.219 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.217e-05/0.2447, allocations: 27.91 kB / 336.1 MB, free: 9.191 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.505e-05/0.2448, allocations: 43.86 kB / 336.1 MB, free: 9.148 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004025/0.2452, allocations: 243.3 kB / 336.4 MB, free: 8.91 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2452, allocations: 0 / 336.4 MB, free: 8.91 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2452, allocations: 0 / 336.4 MB, free: 8.91 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.2452, allocations: 0 / 336.4 MB, free: 8.91 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.0005281/0.2457, allocations: 423.3 kB / 336.8 MB, free: 8.449 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2458, allocations: 12.03 kB / 336.8 MB, free: 8.438 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003899/0.2462, allocations: 32.81 kB / 336.8 MB, free: 8.406 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.2464, allocations: 196.2 kB / 337 MB, free: 8.176 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.2464, allocations: 12.31 kB / 337 MB, free: 8.164 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.2465, allocations: 4.375 kB / 337 MB, free: 8.16 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.2467, allocations: 133.2 kB / 337.2 MB, free: 8.012 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2467, allocations: 0 / 337.2 MB, free: 8.012 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.2468, allocations: 12 kB / 337.2 MB, free: 8 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.2468, allocations: 3.984 kB / 337.2 MB, free: 7.996 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.2469, allocations: 103.9 kB / 337.3 MB, free: 7.895 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.0008464/0.2478, allocations: 0.676 MB / 338 MB, free: 7.145 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.2479, allocations: 86.55 kB / 338.1 MB, free: 7.051 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.206e-05/0.248, allocations: 40.78 kB / 338.1 MB, free: 7.008 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007346/0.2488, allocations: 0.8076 MB / 338.9 MB, free: 6.016 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.2488, allocations: 34.56 kB / 338.9 MB, free: 5.973 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.2488, allocations: 0 / 338.9 MB, free: 5.973 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003074/0.2491, allocations: 129.9 kB / 339.1 MB, free: 5.84 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.2492, allocations: 55.41 kB / 339.1 MB, free: 5.773 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.462e-05/0.2493, allocations: 125.8 kB / 339.2 MB, free: 5.641 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.2493, allocations: 25.7 kB / 339.3 MB, free: 5.609 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.2494, allocations: 101.1 kB / 339.4 MB, free: 5.508 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.2494, allocations: 39.36 kB / 339.4 MB, free: 5.469 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.2495, allocations: 37.7 kB / 339.4 MB, free: 5.426 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.2496, allocations: 322.8 kB / 339.8 MB, free: 5.102 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/0.2497, allocations: 19.98 kB / 339.8 MB, free: 5.082 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.857e-05/0.2497, allocations: 73.05 kB / 339.8 MB, free: 4.992 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.2499, allocations: 113 kB / 340 MB, free: 4.863 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2499, allocations: 0 / 340 MB, free: 4.863 MB / 270.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002104/0.2501, allocations: 137.5 kB / 340.1 MB, free: 4.723 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2501, allocations: 8 kB / 340.1 MB, free: 4.715 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2502, allocations: 3.938 kB / 340.1 MB, free: 4.711 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2502, allocations: 4 kB / 340.1 MB, free: 4.707 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.2503, allocations: 31.92 kB / 340.1 MB, free: 4.676 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2503, allocations: 8.094 kB / 340.1 MB, free: 4.668 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.66e-05/0.2504, allocations: 19.84 kB / 340.2 MB, free: 4.648 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.2504, allocations: 4 kB / 340.2 MB, free: 4.645 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.139e-05/0.2505, allocations: 118.2 kB / 340.3 MB, free: 4.52 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.2505, allocations: 15.89 kB / 340.3 MB, free: 4.504 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.2508, allocations: 142.4 kB / 340.4 MB, free: 4.363 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2509, allocations: 8 kB / 340.4 MB, free: 4.355 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2509, allocations: 3.938 kB / 340.4 MB, free: 4.352 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2509, allocations: 3.984 kB / 340.5 MB, free: 4.348 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.2513, allocations: 390.6 kB / 340.8 MB, free: 3.91 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.2513, allocations: 3.984 kB / 340.8 MB, free: 3.906 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.567e-05/0.2514, allocations: 24 kB / 340.9 MB, free: 3.883 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.2514, allocations: 3.938 kB / 340.9 MB, free: 3.879 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.2515, allocations: 3.984 kB / 340.9 MB, free: 3.875 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.2515, allocations: 4 kB / 340.9 MB, free: 3.871 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2515, allocations: 4 kB / 340.9 MB, free: 3.867 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.2517, allocations: 195.4 kB / 341.1 MB, free: 3.66 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.2518, allocations: 108.8 kB / 341.2 MB, free: 3.535 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.2518, allocations: 0 / 341.2 MB, free: 3.535 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.2519, allocations: 4 kB / 341.2 MB, free: 3.531 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.252, allocations: 7.984 kB / 341.2 MB, free: 3.523 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.252, allocations: 11.98 kB / 341.2 MB, free: 3.512 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.005e-05/0.2521, allocations: 91.28 kB / 341.3 MB, free: 3.422 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2521, allocations: 0 / 341.3 MB, free: 3.422 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003438/0.2524, allocations: 63.98 kB / 341.3 MB, free: 3.359 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.0003806/0.2528, allocations: 167.3 kB / 341.5 MB, free: 3.184 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.253, allocations: 91.83 kB / 341.6 MB, free: 3.094 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2531, allocations: 0 / 341.6 MB, free: 3.094 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 6.159e-05/0.2531, allocations: 44.23 kB / 341.6 MB, free: 3.051 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/0.2537, allocations: 42.92 kB / 341.7 MB, free: 3.012 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005071/0.2542, allocations: 243.4 kB / 341.9 MB, free: 2.746 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.2545, allocations: 0.6928 MB / 342.6 MB, free: 2.027 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.2547, allocations: 32.73 kB / 342.6 MB, free: 1.996 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.2547, allocations: 23.44 kB / 342.7 MB, free: 1.973 MB / 270.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2547, allocations: 0 / 342.7 MB, free: 1.973 MB / 270.1 MB Notification: Performance of Templates: time 0.005787/0.2605, allocations: 2.496 MB / 345.2 MB, free: 15.48 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)