Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001127/0.001127, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.387/1.387, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.001315/0.001315, allocations: 55.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2387, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.0167/0.2555, allocations: 15.85 MB / 341.2 MB, free: 4.016 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.2583, allocations: 1.908 MB / 343.1 MB, free: 2.102 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003773/0.2587, allocations: 7.938 kB / 343.1 MB, free: 2.094 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006679/0.2594, allocations: 166.9 kB / 343.2 MB, free: 1.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007606/0.2602, allocations: 314.2 kB / 343.6 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007496/0.261, allocations: 287.4 kB / 343.8 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.2621, allocations: 0.8407 MB / 344.7 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.2623, allocations: 96.69 kB / 344.8 MB, free: 408 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.2634, allocations: 0.498 MB / 345.3 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004551/0.2639, allocations: 282.9 kB / 345.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.59e-05/0.2639, allocations: 28 kB / 345.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.2642, allocations: 40 kB / 345.6 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.2643, allocations: 87.72 kB / 345.7 MB, free: 15.47 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.2645, allocations: 179.3 kB / 345.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000514/0.2651, allocations: 440 kB / 346.3 MB, free: 14.86 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.2651, allocations: 3.938 kB / 346.3 MB, free: 14.86 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.2651, allocations: 4 kB / 346.3 MB, free: 14.86 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.989e-05/0.2651, allocations: 0 / 346.3 MB, free: 14.86 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.001134/0.2663, allocations: 0.5732 MB / 346.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.2663, allocations: 23.88 kB / 346.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.2667, allocations: 40.56 kB / 346.9 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/0.2671, allocations: 275.7 kB / 347.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.2671, allocations: 20.94 kB / 347.2 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.2672, allocations: 24.38 kB / 347.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.2677, allocations: 307.8 kB / 347.6 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.2678, allocations: 4 kB / 347.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/0.2678, allocations: 8 kB / 347.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.2678, allocations: 8 kB / 347.6 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003329/0.2682, allocations: 201.5 kB / 347.8 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.2701, allocations: 1.432 MB / 349.2 MB, free: 11.72 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.2705, allocations: 186.5 kB / 349.4 MB, free: 11.53 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.2706, allocations: 92.92 kB / 349.5 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.2707, allocations: 4 kB / 349.5 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.2707, allocations: 30.56 kB / 349.5 MB, free: 11.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.294e-05/0.2707, allocations: 3.984 kB / 349.5 MB, free: 11.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.002588/0.2733, allocations: 1.007 MB / 350.5 MB, free: 10.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.2734, allocations: 51.41 kB / 350.6 MB, free: 10.24 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.2736, allocations: 262.6 kB / 350.8 MB, free: 9.977 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.2737, allocations: 33.7 kB / 350.9 MB, free: 9.938 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.2738, allocations: 176.2 kB / 351 MB, free: 9.762 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.233e-05/0.2739, allocations: 90.66 kB / 351.1 MB, free: 9.672 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.274, allocations: 69.39 kB / 351.2 MB, free: 9.598 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2741, allocations: 338.8 kB / 351.5 MB, free: 9.258 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.2743, allocations: 79.97 kB / 351.6 MB, free: 9.18 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.2745, allocations: 194.8 kB / 351.8 MB, free: 8.949 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.2749, allocations: 283 kB / 352.1 MB, free: 8.633 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2749, allocations: 0 / 352.1 MB, free: 8.633 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000681/0.2756, allocations: 391 kB / 352.5 MB, free: 8.238 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2756, allocations: 7.984 kB / 352.5 MB, free: 8.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2756, allocations: 4 kB / 352.5 MB, free: 8.227 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002662/0.2759, allocations: 61.67 kB / 352.5 MB, free: 8.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.2762, allocations: 63.92 kB / 352.6 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.2786, allocations: 2.879 MB / 355.5 MB, free: 4.938 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.2789, allocations: 15.94 kB / 355.5 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.2789, allocations: 8 kB / 355.5 MB, free: 4.914 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.000167/0.2791, allocations: 157.7 kB / 355.6 MB, free: 4.75 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.2792, allocations: 31.78 kB / 355.7 MB, free: 4.719 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.81e-05/0.2792, allocations: 30.19 kB / 355.7 MB, free: 4.691 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2792, allocations: 4 kB / 355.7 MB, free: 4.688 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.2792, allocations: 3.984 kB / 355.7 MB, free: 4.684 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006283/0.2799, allocations: 0.5631 MB / 356.3 MB, free: 4.031 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.281, allocations: 0.7028 MB / 357 MB, free: 3.266 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.281, allocations: 4 kB / 357 MB, free: 3.262 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.2812, allocations: 43.97 kB / 357 MB, free: 3.219 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002323/0.2814, allocations: 48.8 kB / 357.1 MB, free: 3.168 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.2815, allocations: 4 kB / 357.1 MB, free: 3.164 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.2827, allocations: 1.5 MB / 358.6 MB, free: 1.523 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2827, allocations: 0 / 358.6 MB, free: 1.523 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000715/0.2835, allocations: 473 kB / 359 MB, free: 1.039 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.297e-05/0.2836, allocations: 112.9 kB / 359.1 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.2836, allocations: 4 kB / 359.2 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.2838, allocations: 8 kB / 359.2 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.2839, allocations: 15.97 kB / 359.2 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.2839, allocations: 8 kB / 359.2 MB, free: 0.875 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001915/0.2841, allocations: 189.9 kB / 359.4 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2841, allocations: 0 / 359.4 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000418/0.2845, allocations: 92 kB / 359.5 MB, free: 0.5977 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.00012/0.2847, allocations: 103.2 kB / 359.6 MB, free: 500 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008312/0.2855, allocations: 486.1 kB / 360 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2855, allocations: 4 kB / 360 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000391/0.2859, allocations: 246.3 kB / 360.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.2869, allocations: 160.2 kB / 360.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.2882, allocations: 0.6796 MB / 361.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.2886, allocations: 0.7644 MB / 361.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003197/0.2889, allocations: 54.94 kB / 361.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.289, allocations: 31.44 kB / 362 MB, free: 14 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.289, allocations: 0 / 362 MB, free: 14 MB / 302.1 MB Notification: Performance of Templates: time 0.01113/0.3001, allocations: 5.678 MB / 367.6 MB, free: 8.316 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)