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.00127/0.001271, allocations: 105.6 kB / 17.06 MB, free: 6.027 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.001329/0.00133, allocations: 195 kB / 18 MB, free: 5.105 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.649/1.649, 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.00124/0.00124, allocations: 59.92 kB / 327.9 MB, free: 3.246 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09373/0.09498, allocations: 46.61 MB / 374.5 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.1929/0.2879, allocations: 12.86 MB / 387.4 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.29, allocations: 1.702 MB / 389.1 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.2903, allocations: 4.188 kB / 389.1 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005286/0.2908, allocations: 174.7 kB / 389.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006205/0.2915, allocations: 308.8 kB / 389.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009262/0.2924, allocations: 414.8 kB / 390 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008516/0.2933, allocations: 0.8244 MB / 390.8 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.2935, allocations: 103 kB / 390.9 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006234/0.2941, allocations: 392.5 kB / 391.3 MB, free: 4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.2945, allocations: 258 kB / 391.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.077e-05/0.2945, allocations: 28.41 kB / 391.6 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.2948, allocations: 104.9 kB / 391.7 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.2949, allocations: 95.5 kB / 391.8 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.2951, allocations: 181 kB / 391.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005909/0.2957, allocations: 475.9 kB / 392.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2957, allocations: 0 / 392.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2957, allocations: 1.188 kB / 392.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2957, allocations: 0 / 392.4 MB, free: 3.574 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.0006974/0.2964, allocations: 0.5795 MB / 393 MB, free: 3.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2964, allocations: 12.95 kB / 393 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002628/0.2967, allocations: 44.7 kB / 393 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.2971, allocations: 293.6 kB / 393.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.2971, allocations: 18.5 kB / 393.3 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.2972, allocations: 25 kB / 393.4 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.2976, allocations: 326.2 kB / 393.7 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.2976, allocations: 2 kB / 393.7 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.2977, allocations: 12.91 kB / 393.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.2977, allocations: 5.781 kB / 393.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.298, allocations: 197.7 kB / 393.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.2996, allocations: 1.738 MB / 395.6 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.2998, allocations: 131 kB / 395.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.389e-05/0.2999, allocations: 68.08 kB / 395.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.3, allocations: 166.9 kB / 396 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.3, allocations: 41.52 kB / 396 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.3, allocations: 0 / 396 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001586/0.3016, allocations: 0.7914 MB / 396.8 MB, free: 96 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.3016, allocations: 53.91 kB / 396.9 MB, free: 32 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.302, allocations: 281.4 kB / 397.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.302, allocations: 31.77 kB / 397.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.3022, allocations: 197 kB / 397.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/0.3022, allocations: 79.3 kB / 397.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.219e-05/0.3023, allocations: 67.53 kB / 397.5 MB, free: 15.56 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3024, allocations: 337.9 kB / 397.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3026, allocations: 63.89 kB / 397.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.3028, allocations: 194.8 kB / 398.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.3031, allocations: 285.1 kB / 398.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3032, allocations: 1.438 kB / 398.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005059/0.3037, allocations: 332.7 kB / 398.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3037, allocations: 6.688 kB / 398.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3037, allocations: 4.594 kB / 398.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.754e-05/0.3038, allocations: 27.47 kB / 398.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.3041, allocations: 82.38 kB / 398.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.3052, allocations: 1.399 MB / 400.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.3054, allocations: 9.75 kB / 400.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.3054, allocations: 17.02 kB / 400.2 MB, free: 13.18 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.0001551/0.3056, allocations: 160.4 kB / 400.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/0.3056, allocations: 31.16 kB / 400.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.306, allocations: 205.9 kB / 400.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.306, allocations: 1.969 kB / 400.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.306, allocations: 4.062 kB / 400.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003945/0.3064, allocations: 484.7 kB / 401.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.3077, allocations: 0.78 MB / 401.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.3077, allocations: 5.875 kB / 401.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.3079, allocations: 46.2 kB / 401.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3079, allocations: 2.062 kB / 401.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.3079, allocations: 13.78 kB / 402 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.3079, allocations: 3.328 kB / 402 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3079, allocations: 4.469 kB / 402 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004755/0.3084, allocations: 399.9 kB / 402.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.153e-05/0.3085, allocations: 109.5 kB / 402.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.3086, allocations: 9.109 kB / 402.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.3088, allocations: 5.422 kB / 402.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.3089, allocations: 25.28 kB / 402.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.3089, allocations: 17.39 kB / 402.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000209/0.3091, allocations: 197.4 kB / 402.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3091, allocations: 5.125 kB / 402.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004694/0.3096, allocations: 103.5 kB / 402.8 MB, free: 11.2 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.0002419/0.3098, allocations: 138 kB / 403 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000487/0.3103, allocations: 310.1 kB / 403.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3103, allocations: 1.25 kB / 403.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.3105, allocations: 74.86 kB / 403.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009821/0.3115, allocations: 162.6 kB / 403.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.3126, allocations: 0.6138 MB / 404.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.313, allocations: 0.763 MB / 404.9 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002884/0.3133, allocations: 58.22 kB / 404.9 MB, free: 9.715 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.3134, allocations: 37.3 kB / 405 MB, free: 9.699 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3134, allocations: 0 / 405 MB, free: 9.699 MB / 334.1 MB Notification: Performance of Templates: time 0.01131/0.3247, allocations: 5.721 MB / 410.7 MB, free: 7.57 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)