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.007387/0.007387, allocations: 99.22 kB / 15.73 MB, free: 6.008 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.001645/0.001645, allocations: 189.6 kB / 16.67 MB, free: 5.926 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.612/1.612, allocations: 205.1 MB / 222.6 MB, free: 4.477 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.001213/0.001213, allocations: 49.91 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1091, allocations: 46.62 MB / 373.1 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.009307/0.1185, allocations: 7.757 MB / 380.9 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00085/0.1194, allocations: 0.6231 MB / 381.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.438e-05/0.1194, allocations: 3.938 kB / 381.5 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.1197, allocations: 31.77 kB / 381.6 MB, free: 8.875 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.001425/0.1211, allocations: 0.58 MB / 382.1 MB, free: 8.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.1214, allocations: 87.86 kB / 382.2 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.1217, allocations: 175.3 kB / 382.4 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.163e-05/0.1217, allocations: 7.938 kB / 382.4 MB, free: 8.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.123, allocations: 0.6198 MB / 383 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1231, allocations: 43.78 kB / 383.1 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.1231, allocations: 4 kB / 383.1 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.1247, allocations: 0.8579 MB / 383.9 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.1248, allocations: 19.97 kB / 384 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/0.1249, allocations: 43.8 kB / 384 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.1254, allocations: 235.3 kB / 384.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1254, allocations: 0 / 384.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1254, allocations: 0 / 384.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.1254, allocations: 0 / 384.2 MB, free: 6.207 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.0006774/0.1261, allocations: 438.8 kB / 384.7 MB, free: 5.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.1261, allocations: 8.031 kB / 384.7 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004205/0.1266, allocations: 32.86 kB / 384.7 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.1269, allocations: 196.2 kB / 384.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.319e-05/0.127, allocations: 8.375 kB / 384.9 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.127, allocations: 4.375 kB / 384.9 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.1273, allocations: 145.1 kB / 385 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1273, allocations: 0 / 385 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.1273, allocations: 8 kB / 385 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1274, allocations: 3.938 kB / 385.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.1275, allocations: 107.8 kB / 385.2 MB, free: 5.172 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.0007601/0.1283, allocations: 0.6684 MB / 385.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.1285, allocations: 90.47 kB / 385.9 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.057e-05/0.1285, allocations: 40.78 kB / 386 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006437/0.1292, allocations: 0.8076 MB / 386.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.1292, allocations: 34.55 kB / 386.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.1292, allocations: 0 / 386.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003242/0.1296, allocations: 134.2 kB / 386.9 MB, free: 3.117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.1296, allocations: 55.34 kB / 387 MB, free: 3.051 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1297, allocations: 117.7 kB / 387.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1297, allocations: 33.7 kB / 387.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.1298, allocations: 96.03 kB / 387.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/0.1299, allocations: 51.53 kB / 387.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.1299, allocations: 37.7 kB / 387.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.13, allocations: 310.8 kB / 387.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.843e-05/0.1301, allocations: 31.98 kB / 387.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.63e-05/0.1302, allocations: 70.22 kB / 387.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.1303, allocations: 105.2 kB / 387.8 MB, free: 2.145 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1303, allocations: 4 kB / 387.8 MB, free: 2.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000202/0.1305, allocations: 137.5 kB / 388 MB, free: 2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1306, allocations: 4.312 kB / 388 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.1306, allocations: 4 kB / 388 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.1306, allocations: 3.984 kB / 388 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1307, allocations: 36.08 kB / 388 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1307, allocations: 7.938 kB / 388 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.833e-05/0.1308, allocations: 15.89 kB / 388 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.1308, allocations: 8 kB / 388 MB, free: 1.922 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.599e-05/0.1309, allocations: 121.8 kB / 388.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.131, allocations: 7.953 kB / 388.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/0.1313, allocations: 134.4 kB / 388.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1313, allocations: 4 kB / 388.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1313, allocations: 3.938 kB / 388.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1313, allocations: 4 kB / 388.3 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.1317, allocations: 406.2 kB / 388.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1318, allocations: 0 / 388.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.66e-05/0.1318, allocations: 23.98 kB / 388.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1319, allocations: 11.88 kB / 388.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1319, allocations: 0 / 388.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1319, allocations: 0 / 388.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1319, allocations: 0 / 388.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.1321, allocations: 211.8 kB / 388.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.1322, allocations: 101 kB / 389 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.1322, allocations: 0 / 389 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.533e-05/0.1323, allocations: 8 kB / 389 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.1323, allocations: 7.984 kB / 389.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1323, allocations: 4 kB / 389.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.86e-05/0.1324, allocations: 91.27 kB / 389.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1324, allocations: 4 kB / 389.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003295/0.1327, allocations: 59.88 kB / 389.2 MB, free: 0.6367 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.0002773/0.133, allocations: 163 kB / 389.4 MB, free: 480 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.1332, allocations: 84.03 kB / 389.4 MB, free: 396 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/0.1332, allocations: 4 kB / 389.5 MB, free: 392 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.795e-05/0.1333, allocations: 39.92 kB / 389.5 MB, free: 352 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.1337, allocations: 40.39 kB / 389.5 MB, free: 312 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.1342, allocations: 235.6 kB / 389.8 MB, free: 48 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.1345, allocations: 0.7004 MB / 390.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.1346, allocations: 40.67 kB / 390.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.1346, allocations: 23.41 kB / 390.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1346, allocations: 0 / 390.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of Templates: time 0.005608/0.1403, allocations: 2.419 MB / 392.9 MB, free: 12.84 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)