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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.01056/0.01056, allocations: 165.9 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.279/1.279, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001641/0.001641, allocations: 103.3 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003472, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2257, allocations: 38.77 MB / 312.9 MB, free: 38.71 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5726/0.7984, allocations: 255.7 MB / 0.5552 GB, free: 104.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.7986, allocations: 87.47 kB / 0.5553 GB, free: 104.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1426/0.9413, allocations: 84.41 MB / 0.6378 GB, free: 54.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.9413, allocations: 4 kB / 0.6378 GB, free: 54.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.9413, allocations: 4 kB / 0.6378 GB, free: 54.04 MB / 362.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.0006157/0.9419, allocations: 0.5432 MB / 0.6383 GB, free: 53.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.942, allocations: 12.03 kB / 0.6383 GB, free: 53.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.9422, allocations: 39.62 kB / 0.6384 GB, free: 53.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.9425, allocations: 282.9 kB / 0.6386 GB, free: 53.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.9426, allocations: 16.56 kB / 0.6386 GB, free: 53.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.9426, allocations: 28 kB / 0.6387 GB, free: 53.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.943, allocations: 313.3 kB / 0.639 GB, free: 52.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.943, allocations: 4 kB / 0.639 GB, free: 52.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.943, allocations: 12 kB / 0.639 GB, free: 52.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.943, allocations: 8 kB / 0.639 GB, free: 52.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.9433, allocations: 185.5 kB / 0.6392 GB, free: 52.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.9446, allocations: 1.732 MB / 0.6409 GB, free: 50.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.9448, allocations: 126.5 kB / 0.641 GB, free: 50.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.9449, allocations: 174.2 kB / 0.6411 GB, free: 50.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.945, allocations: 34.56 kB / 0.6412 GB, free: 50.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.843e-06/0.945, allocations: 0 / 0.6412 GB, free: 50.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.001407/0.9464, allocations: 0.7992 MB / 0.642 GB, free: 49.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.9464, allocations: 59.53 kB / 0.642 GB, free: 49.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.9466, allocations: 253.7 kB / 0.6423 GB, free: 49.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.9466, allocations: 29.7 kB / 0.6423 GB, free: 49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.9467, allocations: 191.5 kB / 0.6425 GB, free: 48.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.9468, allocations: 74.95 kB / 0.6425 GB, free: 48.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/0.9468, allocations: 4 kB / 0.6425 GB, free: 48.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.9468, allocations: 346.8 kB / 0.6429 GB, free: 48.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/0.947, allocations: 63.75 kB / 0.6429 GB, free: 48.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.9471, allocations: 189.9 kB / 0.6431 GB, free: 48.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.9472, allocations: 111.2 kB / 0.6432 GB, free: 47.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9472, allocations: 4 kB / 0.6432 GB, free: 47.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003922/0.9476, allocations: 325.8 kB / 0.6435 GB, free: 47.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.9477, allocations: 8 kB / 0.6435 GB, free: 47.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.9477, allocations: 4 kB / 0.6435 GB, free: 47.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.171e-05/0.9478, allocations: 24.78 kB / 0.6436 GB, free: 47.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.948, allocations: 83.89 kB / 0.6437 GB, free: 47.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007078/0.9488, allocations: 1.3 MB / 0.6449 GB, free: 46.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.949, allocations: 20.23 kB / 0.6449 GB, free: 46.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.949, allocations: 16 kB / 0.645 GB, free: 46.06 MB / 362.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.0001259/0.9491, allocations: 165.6 kB / 0.6451 GB, free: 45.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.9492, allocations: 27.62 kB / 0.6451 GB, free: 45.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.9495, allocations: 200.6 kB / 0.6453 GB, free: 45.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.9495, allocations: 0 / 0.6453 GB, free: 45.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.9495, allocations: 4 kB / 0.6453 GB, free: 45.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002581/0.9498, allocations: 492.2 kB / 0.6458 GB, free: 45.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008633/0.9507, allocations: 0.7761 MB / 0.6466 GB, free: 44.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.9507, allocations: 3.938 kB / 0.6466 GB, free: 44.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.9508, allocations: 39.98 kB / 0.6466 GB, free: 44.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.9509, allocations: 4 kB / 0.6466 GB, free: 44.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.9509, allocations: 11.95 kB / 0.6466 GB, free: 44.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.9509, allocations: 11.92 kB / 0.6466 GB, free: 44.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.9509, allocations: 4 kB / 0.6466 GB, free: 44.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.9513, allocations: 0.4906 MB / 0.6471 GB, free: 43.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.9514, allocations: 108.9 kB / 0.6472 GB, free: 43.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.9514, allocations: 8 kB / 0.6472 GB, free: 43.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.9517, allocations: 19.89 kB / 0.6472 GB, free: 43.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.9517, allocations: 15.94 kB / 0.6473 GB, free: 43.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.9517, allocations: 19.98 kB / 0.6473 GB, free: 43.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001353/0.9519, allocations: 205.9 kB / 0.6475 GB, free: 43.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9519, allocations: 0 / 0.6475 GB, free: 43.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004367/0.9523, allocations: 111.9 kB / 0.6476 GB, free: 43.04 MB / 362.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.0002939/0.9526, allocations: 226.7 kB / 0.6478 GB, free: 42.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004099/0.953, allocations: 302.8 kB / 0.6481 GB, free: 42.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.953, allocations: 0 / 0.6481 GB, free: 42.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.311e-05/0.9531, allocations: 71.86 kB / 0.6482 GB, free: 42.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007072/0.9538, allocations: 166.1 kB / 0.6483 GB, free: 42.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007803/0.9546, allocations: 0.7414 MB / 0.649 GB, free: 41.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.9548, allocations: 0.7602 MB / 0.6498 GB, free: 40.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002367/0.9551, allocations: 59.27 kB / 0.6498 GB, free: 40.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.685e-05/0.9551, allocations: 31.42 kB / 0.6499 GB, free: 40.59 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.9551, allocations: 0 / 0.6499 GB, free: 40.59 MB / 362.7 MB Notification: Performance of Templates: time 0.009073/0.9642, allocations: 6.526 MB / 0.6562 GB, free: 34.07 MB / 362.7 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)