Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001005/0.001005, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006952/0.006953, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.457/1.457, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0007673/0.0007676, allocations: 8.328 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2559, allocations: 47.59 MB / 327 MB, free: 1.645 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01404/0.27, allocations: 12.33 MB / 339.4 MB, free: 7.164 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002946/0.273, allocations: 1.682 MB / 341.1 MB, free: 5.477 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005408/0.2735, allocations: 3.938 kB / 341.1 MB, free: 5.473 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007615/0.2743, allocations: 143.3 kB / 341.2 MB, free: 5.332 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008972/0.2752, allocations: 306.4 kB / 341.5 MB, free: 5.031 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.2763, allocations: 383.2 kB / 341.9 MB, free: 4.656 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001736/0.2781, allocations: 1.289 MB / 343.2 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.2784, allocations: 64.7 kB / 343.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.2794, allocations: 350.7 kB / 343.6 MB, free: 2.957 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000588/0.28, allocations: 270.9 kB / 343.8 MB, free: 2.691 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.631e-05/0.2801, allocations: 15.94 kB / 343.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003553/0.2805, allocations: 107.8 kB / 344 MB, free: 2.57 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.2806, allocations: 79.7 kB / 344 MB, free: 2.492 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.2808, allocations: 189 kB / 344.2 MB, free: 2.301 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005256/0.2813, allocations: 464 kB / 344.7 MB, free: 1.848 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2814, allocations: 4 kB / 344.7 MB, free: 1.844 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.2814, allocations: 0 / 344.7 MB, free: 1.844 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.2814, allocations: 0 / 344.7 MB, free: 1.844 MB / 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.0008184/0.2822, allocations: 0.5069 MB / 345.2 MB, free: 1.289 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/0.2823, allocations: 12.02 kB / 345.2 MB, free: 1.277 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002939/0.2826, allocations: 48.5 kB / 345.2 MB, free: 1.23 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.2829, allocations: 275.8 kB / 345.5 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.283, allocations: 24.94 kB / 345.5 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.283, allocations: 24.36 kB / 345.6 MB, free: 0.875 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.2836, allocations: 321.5 kB / 345.9 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.2836, allocations: 0 / 345.9 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.242e-05/0.2836, allocations: 16 kB / 345.9 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.2837, allocations: 8 kB / 345.9 MB, free: 0.5 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003382/0.284, allocations: 193.5 kB / 346.1 MB, free: 320 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.2861, allocations: 1.74 MB / 347.8 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.2863, allocations: 130.5 kB / 347.9 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.2864, allocations: 72.88 kB / 348 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.2866, allocations: 166.2 kB / 348.2 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.2866, allocations: 34.56 kB / 348.2 MB, free: 13.96 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.2867, allocations: 4 kB / 348.2 MB, free: 13.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001785/0.2884, allocations: 0.7959 MB / 349 MB, free: 13.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.2885, allocations: 55.41 kB / 349.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.2888, allocations: 282.5 kB / 349.3 MB, free: 12.74 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.2889, allocations: 29.7 kB / 349.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.289, allocations: 199.6 kB / 349.6 MB, free: 12.5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.988e-05/0.2891, allocations: 78.86 kB / 349.6 MB, free: 12.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.2892, allocations: 33.7 kB / 349.7 MB, free: 12.39 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.2894, allocations: 330.8 kB / 350 MB, free: 12.05 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.2895, allocations: 75.75 kB / 350.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.2898, allocations: 195.1 kB / 350.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.2902, allocations: 279.2 kB / 350.5 MB, free: 11.41 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2902, allocations: 4 kB / 350.5 MB, free: 11.4 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005087/0.2907, allocations: 333.9 kB / 350.9 MB, free: 11.07 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.2907, allocations: 8 kB / 350.9 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.2908, allocations: 4 kB / 350.9 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001017/0.2909, allocations: 29.28 kB / 350.9 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.2912, allocations: 91.83 kB / 351 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.2923, allocations: 1.287 MB / 352.3 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.2926, allocations: 24.14 kB / 352.3 MB, free: 9.492 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.2926, allocations: 16 kB / 352.3 MB, free: 9.477 MB / 286.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.0001765/0.2928, allocations: 149.7 kB / 352.5 MB, free: 9.32 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.2928, allocations: 35.64 kB / 352.5 MB, free: 9.285 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003778/0.2932, allocations: 210 kB / 352.7 MB, free: 9.074 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2932, allocations: 3.984 kB / 352.7 MB, free: 9.07 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.2933, allocations: 0 / 352.7 MB, free: 9.07 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003829/0.2936, allocations: 483.7 kB / 353.2 MB, free: 8.512 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.2947, allocations: 0.776 MB / 354 MB, free: 7.633 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.2947, allocations: 4 kB / 354 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.2949, allocations: 39.92 kB / 354 MB, free: 7.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.2949, allocations: 4 kB / 354 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.2949, allocations: 8 kB / 354 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.295, allocations: 7.984 kB / 354 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.295, allocations: 12.16 kB / 354 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004476/0.2954, allocations: 403.3 kB / 354.4 MB, free: 7.121 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.13e-05/0.2955, allocations: 100.8 kB / 354.5 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.2956, allocations: 8 kB / 354.5 MB, free: 6.996 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.2958, allocations: 16 kB / 354.6 MB, free: 6.98 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.2959, allocations: 27.91 kB / 354.6 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.2959, allocations: 16 kB / 354.6 MB, free: 6.938 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001953/0.2961, allocations: 205.9 kB / 354.8 MB, free: 6.738 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2961, allocations: 0 / 354.8 MB, free: 6.738 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004482/0.2965, allocations: 99.94 kB / 354.9 MB, free: 6.641 MB / 286.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.0003135/0.2969, allocations: 139.2 kB / 355 MB, free: 6.496 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005213/0.2974, allocations: 302.4 kB / 355.3 MB, free: 6.188 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.2974, allocations: 4 kB / 355.3 MB, free: 6.184 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.2975, allocations: 73.22 kB / 355.4 MB, free: 6.113 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.2986, allocations: 165.1 kB / 355.6 MB, free: 5.949 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.2997, allocations: 0.7724 MB / 356.3 MB, free: 5.117 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.3001, allocations: 0.7602 MB / 357.1 MB, free: 4.328 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002434/0.3003, allocations: 51.27 kB / 357.1 MB, free: 4.281 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.299e-05/0.3004, allocations: 35.42 kB / 357.2 MB, free: 4.25 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3004, allocations: 0 / 357.2 MB, free: 4.25 MB / 286.1 MB Notification: Performance of Templates: time 0.009953/0.3104, allocations: 5.328 MB / 362.5 MB, free: 14.92 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)