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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001069/0.001069, allocations: 191.7 kB / 8.136 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.083/1.083, allocations: 194.2 MB / 202.8 MB, free: 8.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001827/0.001827, allocations: 116.3 kB / 247.7 MB, free: 6.367 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.282e-06/6.352e-06, allocations: 0 / 297.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06808/0.0681, allocations: 44.49 MB / 342.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4435/0.5116, allocations: 260.2 MB / 0.5881 GB, free: 63.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/0.512, allocations: 83.38 kB / 0.5882 GB, free: 63.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.2657/0.7778, allocations: 83.93 MB / 0.6701 GB, free: 107.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.09e-05/0.7778, allocations: 7.594 kB / 0.6702 GB, free: 107.3 MB / 394.7 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.000591/0.7784, allocations: 0.5202 MB / 0.6707 GB, free: 106.9 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.7785, allocations: 6.875 kB / 0.6707 GB, free: 106.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000312/0.7788, allocations: 41.98 kB / 0.6707 GB, free: 106.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.7791, allocations: 275.7 kB / 0.671 GB, free: 106.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.7792, allocations: 18.25 kB / 0.671 GB, free: 106.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.7792, allocations: 10.94 kB / 0.671 GB, free: 106.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003193/0.7795, allocations: 157.7 kB / 0.6712 GB, free: 106.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003831/0.7799, allocations: 269.2 kB / 0.6714 GB, free: 106.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.78, allocations: 0 / 0.6714 GB, free: 106.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.78, allocations: 0 / 0.6714 GB, free: 106.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.78, allocations: 6.062 kB / 0.6714 GB, free: 106.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.7815, allocations: 1.679 MB / 0.6731 GB, free: 105.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.7816, allocations: 88.78 kB / 0.6731 GB, free: 105.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.113e-05/0.7817, allocations: 54.02 kB / 0.6732 GB, free: 105.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.7818, allocations: 168.2 kB / 0.6733 GB, free: 105.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.7818, allocations: 43.7 kB / 0.6734 GB, free: 105.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.7818, allocations: 0 / 0.6734 GB, free: 105.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.001272/0.7831, allocations: 0.5898 MB / 0.674 GB, free: 104.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.463e-05/0.7831, allocations: 55.5 kB / 0.674 GB, free: 104.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.7833, allocations: 210.1 kB / 0.6742 GB, free: 104.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.7834, allocations: 25.7 kB / 0.6742 GB, free: 104.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.7834, allocations: 192.8 kB / 0.6744 GB, free: 104.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.7835, allocations: 66.05 kB / 0.6745 GB, free: 104.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.7835, allocations: 0 / 0.6745 GB, free: 104.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.341e-05/0.7835, allocations: 336.2 kB / 0.6748 GB, free: 104.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.713e-05/0.7837, allocations: 58.06 kB / 0.6749 GB, free: 104.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.7838, allocations: 182.3 kB / 0.675 GB, free: 103.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.784, allocations: 99.91 kB / 0.6751 GB, free: 103.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.784, allocations: 5.094 kB / 0.6751 GB, free: 103.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004722/0.7845, allocations: 279.6 kB / 0.6754 GB, free: 103.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.7845, allocations: 9.438 kB / 0.6754 GB, free: 103.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.7845, allocations: 7 kB / 0.6754 GB, free: 103.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.64e-05/0.7846, allocations: 26.31 kB / 0.6754 GB, free: 103.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.785, allocations: 86.59 kB / 0.6755 GB, free: 103.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006973/0.7857, allocations: 1.231 MB / 0.6767 GB, free: 102.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.7859, allocations: 10.81 kB / 0.6767 GB, free: 102.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.7859, allocations: 15.25 kB / 0.6768 GB, free: 102.7 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real 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 () * 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.00012/0.7861, allocations: 116.6 kB / 0.6769 GB, free: 102.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.7861, allocations: 33.02 kB / 0.6769 GB, free: 102.6 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.7865, allocations: 185.4 kB / 0.6771 GB, free: 102.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.7865, allocations: 3.062 kB / 0.6771 GB, free: 102.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.7865, allocations: 5.25 kB / 0.6771 GB, free: 102.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000267/0.7868, allocations: 484 kB / 0.6775 GB, free: 102.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009215/0.7877, allocations: 0.701 MB / 0.6782 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.7877, allocations: 6.375 kB / 0.6782 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.7879, allocations: 47.64 kB / 0.6783 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.788, allocations: 0 / 0.6783 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.788, allocations: 10.58 kB / 0.6783 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.788, allocations: 5.938 kB / 0.6783 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.788, allocations: 3.844 kB / 0.6783 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003939/0.7884, allocations: 486.7 kB / 0.6788 GB, free: 101.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/0.7885, allocations: 103.2 kB / 0.6789 GB, free: 101.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.657e-05/0.7885, allocations: 3.094 kB / 0.6789 GB, free: 101.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.7888, allocations: 14.28 kB / 0.6789 GB, free: 101.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.7889, allocations: 23.59 kB / 0.6789 GB, free: 101.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.7889, allocations: 14.69 kB / 0.6789 GB, free: 101.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001107/0.789, allocations: 160 kB / 0.6791 GB, free: 101.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004838/0.7895, allocations: 105.8 kB / 0.6792 GB, free: 101 MB / 394.7 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 () * 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.0003221/0.7898, allocations: 237.2 kB / 0.6794 GB, free: 100.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003661/0.7902, allocations: 262.2 kB / 0.6796 GB, free: 100.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7902, allocations: 3.406 kB / 0.6797 GB, free: 100.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/0.7903, allocations: 71.11 kB / 0.6797 GB, free: 100.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006594/0.791, allocations: 112.9 kB / 0.6798 GB, free: 100.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000704/0.7917, allocations: 423.7 kB / 0.6802 GB, free: 100.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.792, allocations: 0.8051 MB / 0.681 GB, free: 99.93 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.792, allocations: 0 / 0.681 GB, free: 99.93 MB / 394.7 MB Notification: Performance of Templates: time 0.0096/0.8016, allocations: 5.247 MB / 0.6861 GB, free: 99.71 MB / 394.7 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)