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.007575/0.007575, allocations: 98.64 kB / 15.73 MB, free: 6.047 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.001656/0.001656, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.499/1.499, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.0013/0.0013, allocations: 49.67 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1048, allocations: 46.62 MB / 373.1 MB, free: 1.352 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01065/0.1155, allocations: 7.753 MB / 380.9 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008693/0.1164, allocations: 0.623 MB / 381.5 MB, free: 8.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.1165, allocations: 0 / 381.5 MB, free: 8.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.1168, allocations: 35.75 kB / 381.6 MB, free: 8.895 MB / 318.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.0016/0.1184, allocations: 0.5722 MB / 382.1 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.1187, allocations: 95.8 kB / 382.2 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.119, allocations: 175.3 kB / 382.4 MB, free: 8.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.462e-05/0.1191, allocations: 11.92 kB / 382.4 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.1203, allocations: 0.6158 MB / 383 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.297e-05/0.1204, allocations: 43.84 kB / 383.1 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.1204, allocations: 8 kB / 383.1 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.1218, allocations: 0.854 MB / 383.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.424e-05/0.1219, allocations: 15.92 kB / 383.9 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.405e-05/0.122, allocations: 55.72 kB / 384 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004841/0.1225, allocations: 227.3 kB / 384.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1225, allocations: 0 / 384.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.448e-06/0.1225, allocations: 4 kB / 384.2 MB, free: 6.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.1225, allocations: 0 / 384.2 MB, free: 6.223 MB / 318.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.0005737/0.1231, allocations: 434.8 kB / 384.6 MB, free: 5.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1232, allocations: 8.031 kB / 384.7 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004086/0.1236, allocations: 36.86 kB / 384.7 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.1239, allocations: 196.2 kB / 384.9 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1239, allocations: 4.375 kB / 384.9 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.1239, allocations: 8.375 kB / 384.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.1242, allocations: 137.2 kB / 385 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1242, allocations: 15.94 kB / 385 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.1242, allocations: 0 / 385 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1242, allocations: 4 kB / 385 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.1244, allocations: 112.9 kB / 385.2 MB, free: 5.184 MB / 318.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.0007529/0.1252, allocations: 0.6683 MB / 385.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.1253, allocations: 90.47 kB / 385.9 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.753e-05/0.1254, allocations: 40.84 kB / 386 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006424/0.1261, allocations: 0.8076 MB / 386.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.1261, allocations: 34.56 kB / 386.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.1261, allocations: 0 / 386.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003606/0.1265, allocations: 125.9 kB / 386.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.1265, allocations: 55.41 kB / 387 MB, free: 3.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.1267, allocations: 125.7 kB / 387.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1267, allocations: 29.7 kB / 387.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.112e-05/0.1268, allocations: 92.05 kB / 387.2 MB, free: 2.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.1268, allocations: 55.53 kB / 387.3 MB, free: 2.754 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.398e-05/0.1269, allocations: 33.7 kB / 387.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.127, allocations: 318.8 kB / 387.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.055e-05/0.1271, allocations: 35.92 kB / 387.6 MB, free: 2.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.117e-05/0.1272, allocations: 65.14 kB / 387.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.1274, allocations: 105.6 kB / 387.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1274, allocations: 0 / 387.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002266/0.1276, allocations: 141.5 kB / 388 MB, free: 2.012 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1276, allocations: 8.312 kB / 388 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1276, allocations: 0 / 388 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1277, allocations: 0 / 388 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1278, allocations: 39.92 kB / 388 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1278, allocations: 8.094 kB / 388 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.86e-05/0.1279, allocations: 11.89 kB / 388 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.1279, allocations: 12 kB / 388 MB, free: 1.934 MB / 318.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.0001001/0.128, allocations: 117.8 kB / 388.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.128, allocations: 7.953 kB / 388.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.1284, allocations: 142.4 kB / 388.3 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1284, allocations: 0 / 388.3 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1284, allocations: 7.938 kB / 388.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1284, allocations: 0 / 388.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004737/0.1289, allocations: 406.2 kB / 388.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1289, allocations: 0 / 388.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.774e-05/0.129, allocations: 19.98 kB / 388.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.129, allocations: 7.938 kB / 388.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.129, allocations: 4 kB / 388.7 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.129, allocations: 0 / 388.7 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.129, allocations: 3.984 kB / 388.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.1292, allocations: 211.4 kB / 388.9 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.488e-05/0.1293, allocations: 96.98 kB / 389 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.1294, allocations: 12 kB / 389 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-05/0.1295, allocations: 0 / 389 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.1295, allocations: 7.984 kB / 389.1 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.1295, allocations: 8 kB / 389.1 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.451e-05/0.1296, allocations: 91.27 kB / 389.2 MB, free: 0.707 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1296, allocations: 0 / 389.2 MB, free: 0.707 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003246/0.1299, allocations: 63.86 kB / 389.2 MB, free: 0.6445 MB / 318.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.0002758/0.1302, allocations: 155.1 kB / 389.4 MB, free: 496 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1304, allocations: 87.84 kB / 389.5 MB, free: 408 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1304, allocations: 0 / 389.5 MB, free: 408 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.589e-05/0.1305, allocations: 40.2 kB / 389.5 MB, free: 368 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.1309, allocations: 39.81 kB / 389.5 MB, free: 328 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004435/0.1314, allocations: 237 kB / 389.8 MB, free: 64 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.1316, allocations: 0.7004 MB / 390.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.1318, allocations: 36.73 kB / 390.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.62e-05/0.1318, allocations: 27.34 kB / 390.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1318, allocations: 0 / 390.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of Templates: time 0.005965/0.1378, allocations: 2.415 MB / 392.9 MB, free: 12.86 MB / 334.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)