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.0009705/0.0009707, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.001169/0.00117, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.0004597/0.0004599, allocations: 19.98 kB / 278.9 MB, free: 13.04 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.251, allocations: 47.59 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01493/0.2659, allocations: 14.52 MB / 341 MB, free: 4.973 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.2683, allocations: 1.808 MB / 342.8 MB, free: 3.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.2685, allocations: 0 / 342.8 MB, free: 3.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000513/0.2691, allocations: 131.2 kB / 343 MB, free: 3.031 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000563/0.2696, allocations: 298.4 kB / 343.2 MB, free: 2.738 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.2702, allocations: 223.6 kB / 343.5 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.2713, allocations: 1.063 MB / 344.5 MB, free: 1.453 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.2715, allocations: 68.69 kB / 344.6 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007672/0.2723, allocations: 430.2 kB / 345 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003692/0.2727, allocations: 266.9 kB / 345.3 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.2727, allocations: 16 kB / 345.3 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.2728, allocations: 19.98 kB / 345.3 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.235e-05/0.2729, allocations: 75.77 kB / 345.4 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.818e-05/0.273, allocations: 93.58 kB / 345.5 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.2733, allocations: 320.5 kB / 345.8 MB, free: 184 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.036e-06/0.2733, allocations: 4 kB / 345.8 MB, free: 180 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2734, allocations: 0 / 345.8 MB, free: 180 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.2734, allocations: 0 / 345.8 MB, free: 180 kB / 270.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.0008879/0.2743, allocations: 0.5301 MB / 346.3 MB, free: 15.6 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.2743, allocations: 8.031 kB / 346.3 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002684/0.2746, allocations: 47.61 kB / 346.4 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.2749, allocations: 262.6 kB / 346.6 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.275, allocations: 20.55 kB / 346.7 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.275, allocations: 27.91 kB / 346.7 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004922/0.2755, allocations: 303.6 kB / 347 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.2756, allocations: 3.984 kB / 347 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.2756, allocations: 12 kB / 347 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.2756, allocations: 8 kB / 347 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.2759, allocations: 193.5 kB / 347.2 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.2776, allocations: 1.432 MB / 348.6 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.2779, allocations: 175.1 kB / 348.8 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.2781, allocations: 93.2 kB / 348.9 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.2781, allocations: 8.172 kB / 348.9 MB, free: 12.83 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.2781, allocations: 34.75 kB / 348.9 MB, free: 12.79 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.2782, allocations: 0 / 348.9 MB, free: 12.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.002398/0.2806, allocations: 1.009 MB / 349.9 MB, free: 11.7 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.2806, allocations: 55.34 kB / 350 MB, free: 11.63 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.2809, allocations: 262.5 kB / 350.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.2809, allocations: 29.7 kB / 350.3 MB, free: 11.33 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.281, allocations: 180.2 kB / 350.4 MB, free: 11.15 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.994e-05/0.2811, allocations: 86.75 kB / 350.5 MB, free: 11.07 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/0.2811, allocations: 8 kB / 350.5 MB, free: 11.06 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2813, allocations: 338.8 kB / 350.9 MB, free: 10.72 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.2814, allocations: 83.75 kB / 351 MB, free: 10.64 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.2817, allocations: 190.8 kB / 351.1 MB, free: 10.41 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.2819, allocations: 108 kB / 351.2 MB, free: 10.3 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.2819, allocations: 4 kB / 351.3 MB, free: 10.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006383/0.2825, allocations: 386.6 kB / 351.6 MB, free: 9.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.2825, allocations: 8 kB / 351.6 MB, free: 9.902 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.2826, allocations: 0 / 351.6 MB, free: 9.902 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002667/0.2828, allocations: 69.98 kB / 351.7 MB, free: 9.828 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.2831, allocations: 75.86 kB / 351.8 MB, free: 9.754 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.2852, allocations: 2.674 MB / 354.5 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.2855, allocations: 23.98 kB / 354.5 MB, free: 6.789 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.2855, allocations: 16 kB / 354.5 MB, free: 6.773 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.2857, allocations: 153.8 kB / 354.6 MB, free: 6.613 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.2857, allocations: 27.72 kB / 354.7 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.966e-05/0.2858, allocations: 34.14 kB / 354.7 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2858, allocations: 8 kB / 354.7 MB, free: 6.547 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.2858, allocations: 0 / 354.7 MB, free: 6.547 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006505/0.2865, allocations: 0.5709 MB / 355.3 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.2875, allocations: 0.6912 MB / 356 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2875, allocations: 8.016 kB / 356 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.2877, allocations: 43.92 kB / 356 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002446/0.288, allocations: 56.78 kB / 356.1 MB, free: 5.023 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.288, allocations: 4 kB / 356.1 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.2891, allocations: 1.393 MB / 357.5 MB, free: 3.492 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2891, allocations: 3.984 kB / 357.5 MB, free: 3.488 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.2898, allocations: 477.1 kB / 357.9 MB, free: 3 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-05/0.2899, allocations: 104.8 kB / 358 MB, free: 2.879 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.2899, allocations: 4 kB / 358.1 MB, free: 2.875 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.2901, allocations: 16.06 kB / 358.1 MB, free: 2.859 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.2902, allocations: 19.97 kB / 358.1 MB, free: 2.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.2902, allocations: 7.984 kB / 358.1 MB, free: 2.832 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.2904, allocations: 186 kB / 358.3 MB, free: 2.648 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2904, allocations: 0 / 358.3 MB, free: 2.648 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003828/0.2908, allocations: 88 kB / 358.4 MB, free: 2.562 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001353/0.2909, allocations: 107.2 kB / 358.5 MB, free: 2.449 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007548/0.2917, allocations: 473.2 kB / 358.9 MB, free: 1.961 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2917, allocations: 3.938 kB / 358.9 MB, free: 1.957 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003965/0.2921, allocations: 235.4 kB / 359.2 MB, free: 1.715 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008624/0.293, allocations: 152.3 kB / 359.3 MB, free: 1.566 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.2942, allocations: 0.8386 MB / 360.1 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.2946, allocations: 0.7645 MB / 360.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002584/0.2949, allocations: 58.88 kB / 361 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/0.2949, allocations: 27.44 kB / 361 MB, free: 15.83 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2949, allocations: 0 / 361 MB, free: 15.83 MB / 302.1 MB Notification: Performance of Templates: time 0.009972/0.3049, allocations: 5.255 MB / 366.3 MB, free: 10.58 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)