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.00128/0.00128, allocations: 105.9 kB / 16.5 MB, free: 6.688 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.001509/0.001509, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.48/1.48, allocations: 205.1 MB / 223.3 MB, free: 12.4 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.001353/0.001353, allocations: 59.92 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1078, allocations: 46.62 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01176/0.1196, allocations: 7.932 MB / 333.9 MB, free: 12.9 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008331/0.1205, allocations: 0.6349 MB / 334.5 MB, free: 12.26 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.1206, allocations: 4 kB / 334.5 MB, free: 12.26 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.1209, allocations: 23.89 kB / 334.5 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.1221, allocations: 0.518 MB / 335.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.1223, allocations: 83.83 kB / 335.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.1226, allocations: 223.2 kB / 335.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.1226, allocations: 4 kB / 335.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.1238, allocations: 0.7014 MB / 336.1 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.974e-05/0.1239, allocations: 51.77 kB / 336.1 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.1239, allocations: 8 kB / 336.1 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.1254, allocations: 0.9437 MB / 337.1 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.1255, allocations: 27.89 kB / 337.1 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.1255, allocations: 39.88 kB / 337.1 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.1259, allocations: 239.5 kB / 337.4 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1259, allocations: 4 kB / 337.4 MB, free: 9.398 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1259, allocations: 0 / 337.4 MB, free: 9.398 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1259, allocations: 3.938 kB / 337.4 MB, free: 9.395 MB / 286.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.0004888/0.1264, allocations: 427.1 kB / 337.8 MB, free: 8.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1265, allocations: 11.97 kB / 337.8 MB, free: 8.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003817/0.1269, allocations: 32.81 kB / 337.8 MB, free: 8.887 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.1271, allocations: 184.4 kB / 338 MB, free: 8.668 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1271, allocations: 12.38 kB / 338 MB, free: 8.656 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.1271, allocations: 4.375 kB / 338 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.1274, allocations: 149.1 kB / 338.2 MB, free: 8.488 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1274, allocations: 4 kB / 338.2 MB, free: 8.484 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.1274, allocations: 4 kB / 338.2 MB, free: 8.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1274, allocations: 4 kB / 338.2 MB, free: 8.477 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.1276, allocations: 107.8 kB / 338.3 MB, free: 8.371 MB / 286.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.0006702/0.1283, allocations: 0.6684 MB / 339 MB, free: 7.629 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.1284, allocations: 86.5 kB / 339.1 MB, free: 7.535 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.945e-05/0.1285, allocations: 44.84 kB / 339.1 MB, free: 7.488 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005755/0.1291, allocations: 0.8076 MB / 339.9 MB, free: 6.496 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.1291, allocations: 38.55 kB / 339.9 MB, free: 6.449 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.1291, allocations: 0 / 339.9 MB, free: 6.449 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002818/0.1294, allocations: 121.7 kB / 340.1 MB, free: 6.324 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.1295, allocations: 59.34 kB / 340.1 MB, free: 6.254 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.667e-05/0.1295, allocations: 117.8 kB / 340.2 MB, free: 6.129 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1296, allocations: 30.08 kB / 340.3 MB, free: 6.094 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.1296, allocations: 103.9 kB / 340.4 MB, free: 5.988 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.1297, allocations: 43.3 kB / 340.4 MB, free: 5.945 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.1297, allocations: 41.61 kB / 340.4 MB, free: 5.898 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.1298, allocations: 322.8 kB / 340.8 MB, free: 5.574 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-05/0.1299, allocations: 23.98 kB / 340.8 MB, free: 5.551 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/0.13, allocations: 76.25 kB / 340.9 MB, free: 5.461 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.1301, allocations: 101.3 kB / 341 MB, free: 5.344 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1301, allocations: 0 / 341 MB, free: 5.344 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001955/0.1303, allocations: 145.4 kB / 341.1 MB, free: 5.195 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1303, allocations: 7.938 kB / 341.1 MB, free: 5.188 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.1304, allocations: 3.984 kB / 341.1 MB, free: 5.184 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1304, allocations: 4 kB / 341.1 MB, free: 5.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1305, allocations: 31.98 kB / 341.1 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.1305, allocations: 7.938 kB / 341.2 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.957e-05/0.1306, allocations: 15.84 kB / 341.2 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.1306, allocations: 4 kB / 341.2 MB, free: 5.121 MB / 286.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.1e-05/0.1307, allocations: 129.9 kB / 341.3 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.1307, allocations: 4 kB / 341.3 MB, free: 4.98 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.131, allocations: 138 kB / 341.4 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.131, allocations: 4 kB / 341.4 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.131, allocations: 7.875 kB / 341.5 MB, free: 4.832 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.131, allocations: 0 / 341.5 MB, free: 4.832 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.1314, allocations: 391.1 kB / 341.8 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1315, allocations: 0 / 341.8 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.976e-05/0.1315, allocations: 31.92 kB / 341.9 MB, free: 4.363 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1316, allocations: 3.938 kB / 341.9 MB, free: 4.359 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1316, allocations: 4 kB / 341.9 MB, free: 4.355 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1316, allocations: 0 / 341.9 MB, free: 4.355 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1316, allocations: 0 / 341.9 MB, free: 4.355 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.1318, allocations: 203.7 kB / 342.1 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.1318, allocations: 104.9 kB / 342.2 MB, free: 4.02 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.1319, allocations: 0 / 342.2 MB, free: 4.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.876e-05/0.132, allocations: 7.938 kB / 342.2 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.138e-05/0.132, allocations: 11.98 kB / 342.2 MB, free: 4 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.132, allocations: 4 kB / 342.2 MB, free: 3.996 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.378e-05/0.1321, allocations: 91.27 kB / 342.3 MB, free: 3.906 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1321, allocations: 0 / 342.3 MB, free: 3.906 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000323/0.1324, allocations: 59.94 kB / 342.3 MB, free: 3.848 MB / 286.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.0002911/0.1327, allocations: 171.1 kB / 342.5 MB, free: 3.668 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.1329, allocations: 79.91 kB / 342.6 MB, free: 3.59 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1329, allocations: 0 / 342.6 MB, free: 3.59 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.205e-05/0.1329, allocations: 39.92 kB / 342.6 MB, free: 3.551 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.1334, allocations: 48.2 kB / 342.7 MB, free: 3.504 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/0.1339, allocations: 269.1 kB / 342.9 MB, free: 3.215 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.1342, allocations: 0.6931 MB / 343.6 MB, free: 2.496 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000141/0.1343, allocations: 37 kB / 343.7 MB, free: 2.461 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.1344, allocations: 27.42 kB / 343.7 MB, free: 2.434 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1344, allocations: 0 / 343.7 MB, free: 2.434 MB / 286.1 MB Notification: Performance of Templates: time 0.00513/0.1395, allocations: 2.419 MB / 346.1 MB, free: 20 kB / 286.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)