Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 114 kB / 17.06 MB, free: 6.086 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.001482/0.001482, allocations: 195 kB / 17.99 MB, free: 5.18 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.494/1.494, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001148/0.001148, allocations: 47.94 kB / 327.9 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09304/0.0942, allocations: 46.62 MB / 374.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.1892/0.2834, allocations: 12.86 MB / 387.4 MB, free: 6.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.2856, allocations: 1.705 MB / 389.1 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.2858, allocations: 8.188 kB / 389.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005492/0.2864, allocations: 170.4 kB / 389.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005652/0.2869, allocations: 309.5 kB / 389.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009525/0.2879, allocations: 408.6 kB / 390 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007844/0.2887, allocations: 0.8272 MB / 390.8 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.2889, allocations: 104 kB / 390.9 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005976/0.2895, allocations: 387.2 kB / 391.3 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003479/0.2899, allocations: 262.7 kB / 391.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.246e-05/0.29, allocations: 28.25 kB / 391.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.2902, allocations: 99.73 kB / 391.6 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.2904, allocations: 95.77 kB / 391.7 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.2906, allocations: 181.7 kB / 391.9 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007011/0.2913, allocations: 485.2 kB / 392.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2913, allocations: 0.5625 kB / 392.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2913, allocations: 0 / 392.4 MB, free: 3.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.2913, allocations: 0 / 392.4 MB, free: 3.566 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000775/0.2921, allocations: 0.5873 MB / 393 MB, free: 3.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2921, allocations: 13.39 kB / 393 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000275/0.2924, allocations: 44.86 kB / 393 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.2928, allocations: 294.4 kB / 393.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.2928, allocations: 18.16 kB / 393.3 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.2929, allocations: 28.91 kB / 393.4 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004471/0.2933, allocations: 321.5 kB / 393.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.2934, allocations: 5.578 kB / 393.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.2934, allocations: 15.41 kB / 393.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.2934, allocations: 6.625 kB / 393.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.2937, allocations: 198.6 kB / 393.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.2952, allocations: 1.734 MB / 395.6 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.2955, allocations: 128 kB / 395.8 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.77e-05/0.2956, allocations: 67.73 kB / 395.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.2957, allocations: 170.8 kB / 396 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.2957, allocations: 46.77 kB / 396 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.2957, allocations: 0 / 396 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001647/0.2974, allocations: 0.7914 MB / 396.8 MB, free: 72 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.2974, allocations: 54.03 kB / 396.9 MB, free: 8 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/0.2978, allocations: 282.6 kB / 397.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.2978, allocations: 32.3 kB / 397.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.298, allocations: 192.4 kB / 397.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.031e-05/0.2981, allocations: 79.78 kB / 397.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.2982, allocations: 73.02 kB / 397.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2983, allocations: 336.6 kB / 397.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.2985, allocations: 68.12 kB / 397.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.2987, allocations: 190.6 kB / 398.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.2991, allocations: 287.3 kB / 398.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2991, allocations: 2.25 kB / 398.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005316/0.2997, allocations: 335.9 kB / 398.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2997, allocations: 6.094 kB / 398.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2997, allocations: 5.516 kB / 398.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.706e-05/0.2998, allocations: 28.06 kB / 398.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.3001, allocations: 84.47 kB / 398.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.3013, allocations: 1.391 MB / 400.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.3015, allocations: 13.62 kB / 400.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.3015, allocations: 17.09 kB / 400.3 MB, free: 13.16 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.3017, allocations: 155.6 kB / 400.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.3017, allocations: 30.33 kB / 400.4 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003801/0.3021, allocations: 210.7 kB / 400.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3021, allocations: 3.5 kB / 400.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.3021, allocations: 0 / 400.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004063/0.3026, allocations: 488.2 kB / 401.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.3037, allocations: 0.7755 MB / 401.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3037, allocations: 6.219 kB / 401.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.3039, allocations: 45.66 kB / 402 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.3039, allocations: 3.641 kB / 402 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.304, allocations: 13.44 kB / 402 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.304, allocations: 3.844 kB / 402 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.304, allocations: 7.281 kB / 402 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.3045, allocations: 403 kB / 402.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.783e-05/0.3045, allocations: 109.4 kB / 402.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.3046, allocations: 10.44 kB / 402.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.3048, allocations: 7.25 kB / 402.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.3049, allocations: 20.84 kB / 402.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.3049, allocations: 18.31 kB / 402.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.3051, allocations: 197.2 kB / 402.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3051, allocations: 64 / 402.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004542/0.3056, allocations: 110.4 kB / 402.8 MB, free: 11.18 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (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 (21): * Single equations (assignments): 21 * 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.0002304/0.3058, allocations: 137.2 kB / 403 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000493/0.3063, allocations: 304.7 kB / 403.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3063, allocations: 0 / 403.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.3064, allocations: 75.09 kB / 403.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009093/0.3074, allocations: 161.5 kB / 403.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009513/0.3083, allocations: 0.6377 MB / 404.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.3087, allocations: 0.7618 MB / 404.9 MB, free: 9.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002198/0.3089, allocations: 57.41 kB / 405 MB, free: 9.664 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/0.309, allocations: 33.8 kB / 405 MB, free: 9.652 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.309, allocations: 3.938 kB / 405 MB, free: 9.648 MB / 334.1 MB Notification: Performance of Templates: time 0.01002/0.319, allocations: 5.641 MB / 410.6 MB, free: 7.582 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)