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.008117/0.008117, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001938/0.001938, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.513/1.513, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.001242/0.001242, allocations: 53.02 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1091, allocations: 46.63 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.0101/0.1192, allocations: 7.746 MB / 380.9 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008507/0.1201, allocations: 0.627 MB / 381.5 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/0.1202, allocations: 4 kB / 381.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.1205, allocations: 31.77 kB / 381.6 MB, free: 8.879 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.001546/0.122, allocations: 0.5683 MB / 382.1 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.1223, allocations: 99.86 kB / 382.2 MB, free: 8.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.1226, allocations: 183.3 kB / 382.4 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.1226, allocations: 4 kB / 382.4 MB, free: 8.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.1236, allocations: 0.6196 MB / 383 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.462e-05/0.1237, allocations: 47.83 kB / 383.1 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.1238, allocations: 8 kB / 383.1 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.125, allocations: 0.8463 MB / 383.9 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.1251, allocations: 19.92 kB / 384 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.466e-05/0.1252, allocations: 47.78 kB / 384 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003705/0.1255, allocations: 235.4 kB / 384.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1255, allocations: 0 / 384.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1256, allocations: 0 / 384.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1256, allocations: 4 kB / 384.2 MB, free: 6.203 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.0004969/0.1261, allocations: 419.3 kB / 384.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1261, allocations: 8.031 kB / 384.6 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00039/0.1265, allocations: 36.81 kB / 384.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.1268, allocations: 196.2 kB / 384.9 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.1268, allocations: 8.375 kB / 384.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.1268, allocations: 8.375 kB / 384.9 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.1271, allocations: 141.1 kB / 385 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1271, allocations: 4 kB / 385 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.1271, allocations: 4 kB / 385 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1271, allocations: 8 kB / 385 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.1273, allocations: 107.9 kB / 385.2 MB, free: 5.18 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.0007087/0.128, allocations: 0.6682 MB / 385.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.1282, allocations: 86.55 kB / 385.9 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.137e-05/0.1283, allocations: 41.09 kB / 385.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006056/0.1289, allocations: 0.8115 MB / 386.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.1289, allocations: 34.56 kB / 386.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.1289, allocations: 0 / 386.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003036/0.1292, allocations: 129.7 kB / 386.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.1293, allocations: 51.41 kB / 387 MB, free: 3.066 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.395e-05/0.1294, allocations: 125.7 kB / 387.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.1294, allocations: 29.7 kB / 387.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.1295, allocations: 95.94 kB / 387.2 MB, free: 2.801 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.1295, allocations: 43.31 kB / 387.3 MB, free: 2.758 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.1296, allocations: 37.7 kB / 387.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1297, allocations: 318.8 kB / 387.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.245e-05/0.1297, allocations: 27.98 kB / 387.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.24e-05/0.1298, allocations: 65.14 kB / 387.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.13, allocations: 117.5 kB / 387.8 MB, free: 2.152 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.13, allocations: 4 kB / 387.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000197/0.1302, allocations: 133.4 kB / 387.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1302, allocations: 8.312 kB / 387.9 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1302, allocations: 3.984 kB / 388 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1302, allocations: 0 / 388 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1304, allocations: 31.98 kB / 388 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.1304, allocations: 7.875 kB / 388 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.731e-05/0.1304, allocations: 15.84 kB / 388 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.1305, allocations: 12.16 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 9.672e-05/0.1306, allocations: 121.8 kB / 388.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.1306, allocations: 7.906 kB / 388.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/0.131, allocations: 150.3 kB / 388.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.131, allocations: 0 / 388.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.131, allocations: 3.938 kB / 388.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.131, allocations: 0 / 388.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/0.1315, allocations: 406.2 kB / 388.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1315, allocations: 0 / 388.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.317e-05/0.1316, allocations: 19.94 kB / 388.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1316, allocations: 11.92 kB / 388.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1316, allocations: 0 / 388.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1316, allocations: 0 / 388.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1316, allocations: 0 / 388.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.1318, allocations: 207.4 kB / 388.9 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.1319, allocations: 96.94 kB / 389 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.1319, allocations: 4 kB / 389 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-05/0.132, allocations: 7.984 kB / 389 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.1321, allocations: 7.938 kB / 389 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.1321, allocations: 7.984 kB / 389 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.053e-05/0.1322, allocations: 87.28 kB / 389.1 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1322, allocations: 0 / 389.1 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.1325, allocations: 63.92 kB / 389.2 MB, free: 0.6484 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.0002588/0.1328, allocations: 163.2 kB / 389.4 MB, free: 492 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.133, allocations: 84.66 kB / 389.4 MB, free: 408 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.133, allocations: 4.062 kB / 389.4 MB, free: 404 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.282e-05/0.133, allocations: 39.92 kB / 389.5 MB, free: 364 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.1335, allocations: 44.08 kB / 389.5 MB, free: 320 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.1339, allocations: 231.6 kB / 389.8 MB, free: 60 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.1343, allocations: 0.6927 MB / 390.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.1344, allocations: 40.72 kB / 390.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.1344, allocations: 19.44 kB / 390.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1344, allocations: 3.938 kB / 390.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of Templates: time 0.005962/0.1404, allocations: 2.419 MB / 392.9 MB, free: 12.86 MB / 334.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)