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.001071/0.001071, allocations: 108.1 kB / 17.06 MB, free: 6.023 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.001059/0.001059, allocations: 192 kB / 17.99 MB, free: 5.109 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.463/1.463, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001212/0.001212, allocations: 56.39 kB / 327.9 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09578/0.097, allocations: 46.62 MB / 374.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.2185/0.3155, allocations: 12.84 MB / 387.4 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.3178, allocations: 1.704 MB / 389.1 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.318, allocations: 8.344 kB / 389.1 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000509/0.3186, allocations: 170 kB / 389.3 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005386/0.3191, allocations: 309.2 kB / 389.6 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.3201, allocations: 420 kB / 390 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009171/0.3211, allocations: 0.8249 MB / 390.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.3213, allocations: 92.39 kB / 390.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000648/0.3219, allocations: 399.7 kB / 391.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.3222, allocations: 255.8 kB / 391.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.22e-05/0.3223, allocations: 28.47 kB / 391.6 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.3226, allocations: 105.3 kB / 391.7 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.3227, allocations: 99.86 kB / 391.8 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.3229, allocations: 180.2 kB / 391.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006055/0.3235, allocations: 470.5 kB / 392.4 MB, free: 3.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3236, allocations: 0 / 392.4 MB, free: 3.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3236, allocations: 5.156 kB / 392.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.3236, allocations: 3.938 kB / 392.4 MB, free: 3.586 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.0007379/0.3243, allocations: 0.5712 MB / 393 MB, free: 3.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3244, allocations: 16.23 kB / 393 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002938/0.3247, allocations: 44.52 kB / 393 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.3251, allocations: 296.4 kB / 393.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.3251, allocations: 19.19 kB / 393.3 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.3252, allocations: 23.75 kB / 393.4 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/0.3257, allocations: 324.3 kB / 393.7 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.3257, allocations: 8.938 kB / 393.7 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.3257, allocations: 11.72 kB / 393.7 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.3257, allocations: 8.406 kB / 393.7 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.3261, allocations: 191.1 kB / 393.9 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.3278, allocations: 1.736 MB / 395.6 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.328, allocations: 136.5 kB / 395.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.3282, allocations: 61.34 kB / 395.8 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.3283, allocations: 174.4 kB / 396 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3284, allocations: 33.28 kB / 396 MB, free: 0.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.3284, allocations: 4 kB / 396 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001916/0.3303, allocations: 0.7905 MB / 396.8 MB, free: 116 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.3303, allocations: 55 kB / 396.9 MB, free: 52 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/0.3307, allocations: 285.9 kB / 397.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.3307, allocations: 27.08 kB / 397.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.3309, allocations: 201 kB / 397.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.147e-05/0.331, allocations: 71.2 kB / 397.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3311, allocations: 68.06 kB / 397.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3312, allocations: 341.1 kB / 397.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.3314, allocations: 68.16 kB / 397.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.3316, allocations: 194.1 kB / 398.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/0.332, allocations: 284.6 kB / 398.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.332, allocations: 1.688 kB / 398.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005895/0.3326, allocations: 329.7 kB / 398.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.3327, allocations: 6.031 kB / 398.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.3327, allocations: 4.594 kB / 398.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001212/0.3328, allocations: 26.92 kB / 398.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.3332, allocations: 84.92 kB / 398.8 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.3343, allocations: 1.396 MB / 400.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.3345, allocations: 13.89 kB / 400.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.3346, allocations: 17.62 kB / 400.2 MB, free: 13.2 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.0001692/0.3347, allocations: 160.5 kB / 400.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.3348, allocations: 25.38 kB / 400.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.3352, allocations: 211.7 kB / 400.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3352, allocations: 4.938 kB / 400.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.3352, allocations: 0 / 400.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004394/0.3356, allocations: 483.4 kB / 401.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.3369, allocations: 0.7722 MB / 401.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3369, allocations: 6.281 kB / 401.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.3371, allocations: 44.2 kB / 401.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.3371, allocations: 4.156 kB / 401.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.3372, allocations: 13.03 kB / 402 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.3372, allocations: 4.141 kB / 402 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.3372, allocations: 6.344 kB / 402 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.3377, allocations: 396.6 kB / 402.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.3378, allocations: 112.7 kB / 402.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.3379, allocations: 9.375 kB / 402.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.3381, allocations: 8.641 kB / 402.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.3382, allocations: 26.12 kB / 402.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.3382, allocations: 13.56 kB / 402.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002173/0.3384, allocations: 202.4 kB / 402.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3384, allocations: 0 / 402.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004676/0.3389, allocations: 99.47 kB / 402.8 MB, free: 11.23 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.0002506/0.3392, allocations: 147.4 kB / 403 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005/0.3397, allocations: 304.4 kB / 403.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3397, allocations: 5.75 kB / 403.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.3398, allocations: 72.34 kB / 403.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009475/0.3408, allocations: 157 kB / 403.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.3418, allocations: 0.6226 MB / 404.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.3422, allocations: 0.7575 MB / 404.9 MB, free: 9.746 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002657/0.3425, allocations: 61.78 kB / 404.9 MB, free: 9.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.1e-05/0.3426, allocations: 27.53 kB / 404.9 MB, free: 9.719 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3426, allocations: 5.312 kB / 405 MB, free: 9.715 MB / 334.1 MB Notification: Performance of Templates: time 0.01168/0.3543, allocations: 5.635 MB / 410.6 MB, free: 7.652 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)