Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.00146/0.00146, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001663/0.001662, allocations: 177.3 kB / 15.95 MB, free: 216 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.588/1.588, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0006496/0.0006496, allocations: 16 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2621, allocations: 47.59 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.0109/0.2731, allocations: 10.66 MB / 337.1 MB, free: 8.828 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.2751, allocations: 1.488 MB / 338.6 MB, free: 7.336 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.2753, allocations: 4 kB / 338.6 MB, free: 7.332 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004811/0.2757, allocations: 139.3 kB / 338.8 MB, free: 7.195 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004112/0.2762, allocations: 207.4 kB / 339 MB, free: 6.992 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008543/0.277, allocations: 331.3 kB / 339.3 MB, free: 6.668 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005538/0.2776, allocations: 459.1 kB / 339.7 MB, free: 6.219 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.2778, allocations: 68.7 kB / 339.8 MB, free: 6.152 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005205/0.2783, allocations: 299.1 kB / 340.1 MB, free: 5.859 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.2786, allocations: 151.4 kB / 340.2 MB, free: 5.711 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.243e-05/0.2786, allocations: 19.94 kB / 340.3 MB, free: 5.691 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.2788, allocations: 55.92 kB / 340.3 MB, free: 5.637 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.2789, allocations: 71.78 kB / 340.4 MB, free: 5.566 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.279, allocations: 89.58 kB / 340.5 MB, free: 5.473 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.2794, allocations: 352.4 kB / 340.8 MB, free: 5.129 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.2794, allocations: 0 / 340.8 MB, free: 5.129 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2794, allocations: 0 / 340.8 MB, free: 5.129 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.2794, allocations: 0 / 340.8 MB, free: 5.129 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.0006799/0.2801, allocations: 0.5106 MB / 341.3 MB, free: 4.57 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2802, allocations: 15.97 kB / 341.3 MB, free: 4.555 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002594/0.2804, allocations: 43.61 kB / 341.4 MB, free: 4.512 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.2808, allocations: 274.5 kB / 341.6 MB, free: 4.203 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.2808, allocations: 16.56 kB / 341.7 MB, free: 4.188 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.2808, allocations: 24 kB / 341.7 MB, free: 4.164 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.2813, allocations: 317.4 kB / 342 MB, free: 3.816 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.2813, allocations: 7.891 kB / 342 MB, free: 3.809 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.2814, allocations: 19.92 kB / 342 MB, free: 3.789 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.2814, allocations: 8 kB / 342 MB, free: 3.781 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.2817, allocations: 189.5 kB / 342.2 MB, free: 3.598 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.2836, allocations: 1.736 MB / 344 MB, free: 1.711 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.2838, allocations: 126.5 kB / 344.1 MB, free: 1.578 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001504/0.284, allocations: 174.2 kB / 344.2 MB, free: 1.371 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.284, allocations: 38.52 kB / 344.3 MB, free: 1.324 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.2841, allocations: 0 / 344.3 MB, free: 1.324 MB / 270.1 MB Notification: Performance of matching and sorting (n=21): time 0.001838/0.2859, allocations: 0.7992 MB / 345.1 MB, free: 464 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.286, allocations: 59.34 kB / 345.1 MB, free: 392 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.2862, allocations: 278.5 kB / 345.4 MB, free: 104 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.2863, allocations: 33.7 kB / 345.4 MB, free: 64 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.2864, allocations: 187.6 kB / 345.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.368e-05/0.2865, allocations: 82.83 kB / 345.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/0.2865, allocations: 8 kB / 345.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.2867, allocations: 334.8 kB / 346 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.2868, allocations: 71.75 kB / 346.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.2871, allocations: 191.1 kB / 346.3 MB, free: 15.14 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.2872, allocations: 99.98 kB / 346.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.2873, allocations: 3.953 kB / 346.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004806/0.2877, allocations: 326.2 kB / 346.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.2878, allocations: 4 kB / 346.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2878, allocations: 8.031 kB / 346.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-05/0.2879, allocations: 24.86 kB / 346.8 MB, free: 14.67 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.2882, allocations: 87.83 kB / 346.8 MB, free: 14.58 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.2893, allocations: 1.303 MB / 348.1 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.2896, allocations: 15.91 kB / 348.2 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.2896, allocations: 16 kB / 348.2 MB, free: 13.11 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 (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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001727/0.2898, allocations: 161.9 kB / 348.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/0.2898, allocations: 27.72 kB / 348.4 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000342/0.2902, allocations: 214.2 kB / 348.6 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2902, allocations: 0 / 348.6 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2902, allocations: 7.938 kB / 348.6 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003784/0.2906, allocations: 475.8 kB / 349 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.2917, allocations: 0.7721 MB / 349.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2917, allocations: 0 / 349.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.2919, allocations: 51.91 kB / 349.9 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2919, allocations: 8.281 kB / 349.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.2919, allocations: 4 kB / 349.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.2919, allocations: 7.953 kB / 349.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.2919, allocations: 0 / 349.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004939/0.2924, allocations: 0.4943 MB / 350.4 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/0.2925, allocations: 112.8 kB / 350.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.2926, allocations: 8 kB / 350.5 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.2928, allocations: 20.05 kB / 350.5 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.2929, allocations: 27.81 kB / 350.5 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.2929, allocations: 15.98 kB / 350.6 MB, free: 10.41 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.2931, allocations: 198 kB / 350.8 MB, free: 10.21 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2931, allocations: 0 / 350.8 MB, free: 10.21 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004557/0.2936, allocations: 95.98 kB / 350.8 MB, free: 10.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002367/0.2938, allocations: 131.2 kB / 351 MB, free: 9.984 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004753/0.2943, allocations: 299 kB / 351.3 MB, free: 9.68 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.2943, allocations: 0 / 351.3 MB, free: 9.68 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.2944, allocations: 73.23 kB / 351.3 MB, free: 9.609 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009218/0.2954, allocations: 161.3 kB / 351.5 MB, free: 9.449 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.2964, allocations: 0.7449 MB / 352.2 MB, free: 8.645 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.2968, allocations: 0.7719 MB / 353 MB, free: 7.844 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002425/0.297, allocations: 47.28 kB / 353.1 MB, free: 7.801 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.102e-05/0.2971, allocations: 31.42 kB / 353.1 MB, free: 7.773 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2971, allocations: 0 / 353.1 MB, free: 7.773 MB / 286.1 MB Notification: Performance of Templates: time 0.009633/0.3067, allocations: 5.136 MB / 358.2 MB, free: 2.637 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) Environment - environmentSimulation: