Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001522/0.001523, allocations: 193.4 kB / 16.25 MB, free: 6.629 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.41/1.41, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.001289/0.001288, allocations: 51.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2356, allocations: 46.63 MB / 324.9 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01635/0.252, allocations: 15.83 MB / 340.7 MB, free: 4.234 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.2545, allocations: 1.893 MB / 342.6 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.2548, allocations: 7.938 kB / 342.6 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005967/0.2554, allocations: 147.3 kB / 342.7 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005463/0.2559, allocations: 302.4 kB / 343 MB, free: 1.887 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.2565, allocations: 259.6 kB / 343.3 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007696/0.2573, allocations: 0.8407 MB / 344.1 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.2575, allocations: 100.7 kB / 344.2 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000858/0.2584, allocations: 0.4942 MB / 344.7 MB, free: 196 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/0.2587, allocations: 290.8 kB / 345 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.2588, allocations: 28 kB / 345 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.2589, allocations: 40 kB / 345.1 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.259, allocations: 91.72 kB / 345.1 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.2592, allocations: 183.2 kB / 345.3 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.2596, allocations: 428 kB / 345.7 MB, free: 15.15 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2597, allocations: 7.984 kB / 345.8 MB, free: 15.14 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2597, allocations: 4 kB / 345.8 MB, free: 15.14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.2597, allocations: 0 / 345.8 MB, free: 15.14 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009219/0.2606, allocations: 0.5693 MB / 346.3 MB, free: 14.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.2607, allocations: 8.031 kB / 346.3 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002873/0.2609, allocations: 48.55 kB / 346.4 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.2613, allocations: 283.7 kB / 346.7 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.2613, allocations: 16.94 kB / 346.7 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.2614, allocations: 24.38 kB / 346.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004539/0.2618, allocations: 311.8 kB / 347 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.2618, allocations: 0 / 347 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.2619, allocations: 12 kB / 347 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.2619, allocations: 4 kB / 347 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.2622, allocations: 197.5 kB / 347.2 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.2638, allocations: 1.432 MB / 348.6 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.2641, allocations: 182.5 kB / 348.8 MB, free: 11.83 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.2643, allocations: 84.84 kB / 348.9 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.2643, allocations: 7.984 kB / 348.9 MB, free: 11.74 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.2644, allocations: 42.56 kB / 349 MB, free: 11.69 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 3.276e-06/0.2644, allocations: 0 / 349 MB, free: 11.69 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.002545/0.2669, allocations: 0.9997 MB / 350 MB, free: 10.61 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.267, allocations: 55.41 kB / 350 MB, free: 10.54 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.2672, allocations: 258.6 kB / 350.3 MB, free: 10.28 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.2673, allocations: 29.7 kB / 350.3 MB, free: 10.25 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.2674, allocations: 176.2 kB / 350.5 MB, free: 10.07 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.747e-05/0.2675, allocations: 102.6 kB / 350.6 MB, free: 9.969 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.986e-05/0.2676, allocations: 65.39 kB / 350.6 MB, free: 9.898 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2677, allocations: 334.8 kB / 351 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.2679, allocations: 95.89 kB / 351 MB, free: 9.469 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.2681, allocations: 190.9 kB / 351.2 MB, free: 9.242 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.2685, allocations: 283 kB / 351.5 MB, free: 8.926 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2685, allocations: 0 / 351.5 MB, free: 8.926 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000668/0.2692, allocations: 390.6 kB / 351.9 MB, free: 8.531 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.2692, allocations: 8 kB / 351.9 MB, free: 8.523 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.2693, allocations: 4 kB / 351.9 MB, free: 8.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/0.2695, allocations: 58.05 kB / 352 MB, free: 8.457 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.2698, allocations: 71.91 kB / 352 MB, free: 8.387 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.2722, allocations: 2.878 MB / 354.9 MB, free: 5.227 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.2725, allocations: 27.86 kB / 354.9 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.2725, allocations: 12 kB / 354.9 MB, free: 5.188 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.2727, allocations: 145.8 kB / 355.1 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-05/0.2728, allocations: 35.77 kB / 355.1 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.928e-05/0.2729, allocations: 30.19 kB / 355.2 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2729, allocations: 4 kB / 355.2 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2729, allocations: 0 / 355.2 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005899/0.2735, allocations: 0.5708 MB / 355.7 MB, free: 4.309 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009762/0.2745, allocations: 0.7029 MB / 356.4 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.2745, allocations: 4 kB / 356.4 MB, free: 3.539 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.2747, allocations: 43.97 kB / 356.5 MB, free: 3.496 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.2749, allocations: 52.7 kB / 356.5 MB, free: 3.441 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.275, allocations: 8 kB / 356.5 MB, free: 3.434 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.2761, allocations: 1.492 MB / 358 MB, free: 1.801 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2762, allocations: 0 / 358 MB, free: 1.801 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006609/0.2768, allocations: 480.9 kB / 358.5 MB, free: 1.309 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-05/0.2769, allocations: 105 kB / 358.6 MB, free: 1.188 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.277, allocations: 4 kB / 358.6 MB, free: 1.184 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.2772, allocations: 12 kB / 358.6 MB, free: 1.172 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.2772, allocations: 19.97 kB / 358.6 MB, free: 1.152 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.2773, allocations: 4 kB / 358.6 MB, free: 1.148 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.2774, allocations: 197.8 kB / 358.8 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2775, allocations: 0 / 358.8 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004237/0.2779, allocations: 92 kB / 358.9 MB, free: 0.8633 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001298/0.278, allocations: 100.6 kB / 359 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007841/0.2788, allocations: 493.9 kB / 359.5 MB, free: 256 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.2788, allocations: 0 / 359.5 MB, free: 256 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.2792, allocations: 234.5 kB / 359.7 MB, free: 8 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009743/0.2802, allocations: 168.2 kB / 359.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.2815, allocations: 0.7876 MB / 360.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.2819, allocations: 0.7644 MB / 361.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002811/0.2822, allocations: 50.95 kB / 361.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.2822, allocations: 31.38 kB / 361.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2823, allocations: 0 / 361.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of Templates: time 0.01039/0.2926, allocations: 5.648 MB / 367.2 MB, free: 8.512 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)