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.001618/0.001619, allocations: 187.9 kB / 8.351 MB, free: 0.707 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.506/1.506, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001927/0.001926, allocations: 110.7 kB / 248.1 MB, free: 6.32 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.683e-05/1.685e-05, allocations: 4 kB / 298.1 MB, free: 8.219 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09214/0.09217, allocations: 44.5 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.677/0.7693, allocations: 260.2 MB / 0.5887 GB, free: 67.64 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.7695, allocations: 89.56 kB / 0.5888 GB, free: 67.59 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.3418/1.111, allocations: 83.63 MB / 0.6704 GB, free: 100.7 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.703e-06/1.111, allocations: 0 / 0.6704 GB, free: 100.7 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.728e-05/1.111, allocations: 6.375 kB / 0.6704 GB, free: 100.7 MB / 395.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.0006031/1.112, allocations: 0.5208 MB / 0.671 GB, free: 100.3 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.112, allocations: 9.25 kB / 0.671 GB, free: 100.3 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002631/1.112, allocations: 42.42 kB / 0.671 GB, free: 100.3 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/1.113, allocations: 280 kB / 0.6713 GB, free: 100.1 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/1.113, allocations: 6.062 kB / 0.6713 GB, free: 100.1 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/1.113, allocations: 19.08 kB / 0.6713 GB, free: 100.1 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002616/1.113, allocations: 156 kB / 0.6714 GB, free: 100.1 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/1.113, allocations: 275.2 kB / 0.6717 GB, free: 100 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/1.113, allocations: 3.312 kB / 0.6717 GB, free: 100 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/1.113, allocations: 0 / 0.6717 GB, free: 100 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/1.113, allocations: 10.45 kB / 0.6717 GB, free: 100 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/1.115, allocations: 1.671 MB / 0.6734 GB, free: 98.73 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/1.115, allocations: 120.6 kB / 0.6735 GB, free: 98.7 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.868e-05/1.115, allocations: 58.95 kB / 0.6735 GB, free: 98.7 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/1.115, allocations: 168.7 kB / 0.6737 GB, free: 98.51 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/1.115, allocations: 36.41 kB / 0.6737 GB, free: 98.47 MB / 395.1 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/1.115, allocations: 2.969 kB / 0.6737 GB, free: 98.47 MB / 395.1 MB Notification: Performance of matching and sorting (n=21): time 0.001186/1.117, allocations: 0.5871 MB / 0.6743 GB, free: 98.17 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/1.117, allocations: 57.41 kB / 0.6743 GB, free: 98.11 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/1.117, allocations: 211.8 kB / 0.6746 GB, free: 98.01 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/1.117, allocations: 25.7 kB / 0.6746 GB, free: 97.98 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/1.117, allocations: 198.8 kB / 0.6748 GB, free: 97.85 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/1.117, allocations: 73.44 kB / 0.6748 GB, free: 97.8 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/1.117, allocations: 2.312 kB / 0.6748 GB, free: 97.8 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 7.006e-05/1.117, allocations: 335.9 kB / 0.6752 GB, free: 97.49 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-05/1.117, allocations: 54.25 kB / 0.6752 GB, free: 97.49 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/1.117, allocations: 183.6 kB / 0.6754 GB, free: 97.34 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/1.117, allocations: 100.4 kB / 0.6755 GB, free: 97.34 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.117, allocations: 0 / 0.6755 GB, free: 97.34 MB / 395.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004411/1.118, allocations: 288.7 kB / 0.6758 GB, free: 97.29 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/1.118, allocations: 7.219 kB / 0.6758 GB, free: 97.29 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.118, allocations: 7.062 kB / 0.6758 GB, free: 97.29 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.774e-05/1.118, allocations: 27.23 kB / 0.6758 GB, free: 97.27 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/1.118, allocations: 84.3 kB / 0.6759 GB, free: 97.27 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007002/1.119, allocations: 1.252 MB / 0.6771 GB, free: 96.07 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/1.119, allocations: 13.3 kB / 0.6771 GB, free: 96.07 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/1.119, allocations: 17.98 kB / 0.6771 GB, free: 96.07 MB / 395.1 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.0001366/1.119, allocations: 117.2 kB / 0.6772 GB, free: 95.96 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/1.12, allocations: 22.64 kB / 0.6773 GB, free: 95.95 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/1.12, allocations: 187.5 kB / 0.6774 GB, free: 95.91 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.12, allocations: 3.188 kB / 0.6774 GB, free: 95.91 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/1.12, allocations: 0 / 0.6774 GB, free: 95.91 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002708/1.12, allocations: 472.6 kB / 0.6779 GB, free: 95.46 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009218/1.121, allocations: 0.7148 MB / 0.6786 GB, free: 95.03 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.121, allocations: 3.25 kB / 0.6786 GB, free: 95.03 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/1.121, allocations: 46.44 kB / 0.6786 GB, free: 95.03 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.121, allocations: 4.141 kB / 0.6786 GB, free: 95.03 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/1.121, allocations: 3.797 kB / 0.6786 GB, free: 95.03 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/1.121, allocations: 5.984 kB / 0.6787 GB, free: 95.03 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.121, allocations: 3.531 kB / 0.6787 GB, free: 95.03 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/1.122, allocations: 488.6 kB / 0.6791 GB, free: 94.66 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/1.122, allocations: 98.62 kB / 0.6792 GB, free: 94.56 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/1.122, allocations: 7.781 kB / 0.6792 GB, free: 94.55 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/1.122, allocations: 20.03 kB / 0.6792 GB, free: 94.55 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/1.122, allocations: 13.84 kB / 0.6793 GB, free: 94.55 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/1.122, allocations: 16.2 kB / 0.6793 GB, free: 94.55 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001249/1.122, allocations: 163.5 kB / 0.6794 GB, free: 94.47 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.91e-07/1.122, allocations: 0 / 0.6794 GB, free: 94.47 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004786/1.123, allocations: 108.6 kB / 0.6795 GB, free: 94.46 MB / 395.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 () * 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.0003379/1.123, allocations: 234.7 kB / 0.6798 GB, free: 94.37 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0004176/1.124, allocations: 275 kB / 0.68 GB, free: 94.27 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.124, allocations: 0 / 0.68 GB, free: 94.27 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.039e-05/1.124, allocations: 67.83 kB / 0.6801 GB, free: 94.27 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006545/1.124, allocations: 105.2 kB / 0.6802 GB, free: 94.26 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006776/1.125, allocations: 423.1 kB / 0.6806 GB, free: 94.04 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/1.125, allocations: 0.7687 MB / 0.6813 GB, free: 93.35 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0002454/1.126, allocations: 57.59 kB / 0.6814 GB, free: 93.35 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/1.126, allocations: 24.91 kB / 0.6814 GB, free: 93.34 MB / 395.1 MB Notification: Performance of SimCode: time 4.51e-07/1.126, allocations: 3.344 kB / 0.6814 GB, free: 93.34 MB / 395.1 MB Notification: Performance of Templates: time 0.009352/1.135, allocations: 4.993 MB / 0.6863 GB, free: 93.11 MB / 395.1 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)