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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001163/0.001163, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.327/1.327, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001582/0.001582, allocations: 120.4 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08513/0.08547, allocations: 44.49 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5534/0.6389, allocations: 261 MB / 0.6016 GB, free: 55.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.6392, allocations: 96.34 kB / 0.6017 GB, free: 55.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2957/0.9349, allocations: 84.41 MB / 0.6841 GB, free: 121.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.935, allocations: 0 / 0.6841 GB, free: 121.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.143e-05/0.935, allocations: 8.969 kB / 0.6841 GB, free: 121.4 MB / 410.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.0007454/0.9358, allocations: 0.5424 MB / 0.6847 GB, free: 121 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.9358, allocations: 12.16 kB / 0.6847 GB, free: 121 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002769/0.9361, allocations: 42.75 kB / 0.6847 GB, free: 121 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.9365, allocations: 284.1 kB / 0.685 GB, free: 120.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.9365, allocations: 20.59 kB / 0.685 GB, free: 120.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.9365, allocations: 25.95 kB / 0.685 GB, free: 120.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004638/0.937, allocations: 310.5 kB / 0.6853 GB, free: 120.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.937, allocations: 5.344 kB / 0.6853 GB, free: 120.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.9371, allocations: 11.53 kB / 0.6853 GB, free: 120.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.9371, allocations: 8.094 kB / 0.6854 GB, free: 120.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.9374, allocations: 185.7 kB / 0.6855 GB, free: 120.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.9389, allocations: 1.72 MB / 0.6872 GB, free: 119.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.9392, allocations: 136.8 kB / 0.6873 GB, free: 119.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.9393, allocations: 168.3 kB / 0.6875 GB, free: 119.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.9393, allocations: 38.91 kB / 0.6875 GB, free: 119.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.233e-06/0.9393, allocations: 0 / 0.6875 GB, free: 119.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.001525/0.9408, allocations: 0.7943 MB / 0.6883 GB, free: 118.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.9409, allocations: 59.92 kB / 0.6884 GB, free: 118.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.9411, allocations: 247.8 kB / 0.6886 GB, free: 118.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.9411, allocations: 33.38 kB / 0.6886 GB, free: 118.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.9412, allocations: 197.1 kB / 0.6888 GB, free: 118.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.9412, allocations: 73.73 kB / 0.6889 GB, free: 118.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.9413, allocations: 7.75 kB / 0.6889 GB, free: 118.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.373e-05/0.9413, allocations: 340.9 kB / 0.6892 GB, free: 118 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.862e-05/0.9414, allocations: 65.77 kB / 0.6893 GB, free: 118 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.9416, allocations: 190.8 kB / 0.6895 GB, free: 117.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.9417, allocations: 107.3 kB / 0.6896 GB, free: 117.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.9418, allocations: 0 / 0.6896 GB, free: 117.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004517/0.9422, allocations: 325.9 kB / 0.6899 GB, free: 117.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.9422, allocations: 8.266 kB / 0.6899 GB, free: 117.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.9423, allocations: 3.969 kB / 0.6899 GB, free: 117.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.397e-05/0.9423, allocations: 27 kB / 0.6899 GB, free: 117.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.9427, allocations: 86.05 kB / 0.69 GB, free: 117.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007474/0.9434, allocations: 1.3 MB / 0.6913 GB, free: 116.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.9436, allocations: 19.11 kB / 0.6913 GB, free: 116.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.9437, allocations: 13.97 kB / 0.6913 GB, free: 116.6 MB / 410.7 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.0001248/0.9438, allocations: 158.9 kB / 0.6915 GB, free: 116.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.9438, allocations: 29.61 kB / 0.6915 GB, free: 116.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.9442, allocations: 201 kB / 0.6917 GB, free: 116.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.9442, allocations: 4.719 kB / 0.6917 GB, free: 116.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.9442, allocations: 0.5625 kB / 0.6917 GB, free: 116.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002713/0.9444, allocations: 486.5 kB / 0.6921 GB, free: 116 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009869/0.9454, allocations: 0.7728 MB / 0.6929 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.9455, allocations: 3.25 kB / 0.6929 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.9457, allocations: 48.11 kB / 0.693 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.9457, allocations: 4.125 kB / 0.693 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.9457, allocations: 4.031 kB / 0.693 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.9457, allocations: 5.125 kB / 0.693 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.9457, allocations: 6.906 kB / 0.693 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/0.9462, allocations: 0.4942 MB / 0.6935 GB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/0.9462, allocations: 111.7 kB / 0.6936 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.9463, allocations: 5.406 kB / 0.6936 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.9465, allocations: 19.02 kB / 0.6936 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.9466, allocations: 18.95 kB / 0.6936 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.9466, allocations: 17.06 kB / 0.6936 GB, free: 115 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001793/0.9468, allocations: 198.4 kB / 0.6938 GB, free: 114.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9468, allocations: 0 / 0.6938 GB, free: 114.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004766/0.9473, allocations: 116.2 kB / 0.6939 GB, free: 114.9 MB / 410.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 () * 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.0003369/0.9476, allocations: 233.2 kB / 0.6941 GB, free: 114.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004637/0.9481, allocations: 302.5 kB / 0.6944 GB, free: 114.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.9481, allocations: 4.406 kB / 0.6944 GB, free: 114.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.9482, allocations: 73.25 kB / 0.6945 GB, free: 114.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007605/0.949, allocations: 163.9 kB / 0.6947 GB, free: 114.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009523/0.9499, allocations: 0.7388 MB / 0.6954 GB, free: 114.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.9502, allocations: 0.7638 MB / 0.6961 GB, free: 113.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002567/0.9504, allocations: 57.12 kB / 0.6962 GB, free: 113.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.9505, allocations: 29.94 kB / 0.6962 GB, free: 113.6 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.9505, allocations: 3.062 kB / 0.6962 GB, free: 113.6 MB / 410.7 MB Notification: Performance of Templates: time 0.01194/0.9625, allocations: 6.526 MB / 0.7026 GB, free: 113.3 MB / 410.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)