Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009986/0.0009987, allocations: 187.7 kB / 8.352 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.434/1.434, 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.001619/0.001619, allocations: 118 kB / 248.1 MB, free: 6.332 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.554e-05/1.555e-05, allocations: 0 / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.124/1.225, allocations: 361.9 MB / 0.6879 GB, free: 105.4 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/1.226, allocations: 84.89 kB / 0.688 GB, free: 105.4 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.151/1.377, allocations: 80.64 MB / 0.7668 GB, free: 39.87 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.723e-06/1.377, allocations: 0 / 0.7668 GB, free: 39.87 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.89e-05/1.377, allocations: 11.98 kB / 0.7668 GB, free: 39.86 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.001155/1.378, allocations: 0.5936 MB / 0.7673 GB, free: 39.22 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.378, allocations: 8.031 kB / 0.7674 GB, free: 39.21 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003873/1.378, allocations: 41.42 kB / 0.7674 GB, free: 39.18 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/1.379, allocations: 273.8 kB / 0.7677 GB, free: 38.87 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/1.379, allocations: 11.94 kB / 0.7677 GB, free: 38.86 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.976e-05/1.379, allocations: 16 kB / 0.7677 GB, free: 38.84 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003671/1.379, allocations: 169 kB / 0.7678 GB, free: 38.68 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/1.38, allocations: 262.7 kB / 0.7681 GB, free: 38.39 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/1.38, allocations: 3.938 kB / 0.7681 GB, free: 38.39 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/1.38, allocations: 0 / 0.7681 GB, free: 38.39 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/1.38, allocations: 8 kB / 0.7681 GB, free: 38.38 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/1.381, allocations: 1.374 MB / 0.7694 GB, free: 36.9 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/1.382, allocations: 163 kB / 0.7696 GB, free: 36.73 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/1.382, allocations: 77.23 kB / 0.7697 GB, free: 36.66 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.09e-05/1.382, allocations: 192 / 0.7697 GB, free: 36.66 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/1.382, allocations: 42.69 kB / 0.7697 GB, free: 36.61 MB / 395.1 MB Notification: Performance of pre-optimization done (n=21): time 1.022e-06/1.382, allocations: 0 / 0.7697 GB, free: 36.61 MB / 395.1 MB Notification: Performance of matching and sorting (n=26): time 0.001802/1.384, allocations: 0.7501 MB / 0.7705 GB, free: 35.8 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/1.384, allocations: 55.41 kB / 0.7705 GB, free: 35.73 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/1.384, allocations: 195.1 kB / 0.7707 GB, free: 35.53 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/1.384, allocations: 25.7 kB / 0.7707 GB, free: 35.5 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/1.384, allocations: 183.8 kB / 0.7709 GB, free: 35.32 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/1.384, allocations: 94.64 kB / 0.771 GB, free: 35.22 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/1.384, allocations: 4 kB / 0.771 GB, free: 35.22 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 7.752e-05/1.384, allocations: 326.8 kB / 0.7713 GB, free: 34.89 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/1.384, allocations: 79.98 kB / 0.7714 GB, free: 34.81 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/1.384, allocations: 162.9 kB / 0.7715 GB, free: 34.61 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/1.385, allocations: 96.91 kB / 0.7716 GB, free: 34.52 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.385, allocations: 8 kB / 0.7716 GB, free: 34.51 MB / 395.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005656/1.385, allocations: 339.2 kB / 0.772 GB, free: 34.17 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/1.385, allocations: 12.36 kB / 0.772 GB, free: 34.16 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.385, allocations: 4 kB / 0.772 GB, free: 34.15 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/1.385, allocations: 57.69 kB / 0.772 GB, free: 34.09 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/1.386, allocations: 63.91 kB / 0.7721 GB, free: 34.03 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/1.387, allocations: 2.575 MB / 0.7746 GB, free: 31.21 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/1.388, allocations: 12.12 kB / 0.7746 GB, free: 31.2 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/1.388, allocations: 12 kB / 0.7746 GB, free: 31.19 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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001789/1.388, allocations: 126.3 kB / 0.7747 GB, free: 31.06 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/1.388, allocations: 23.72 kB / 0.7748 GB, free: 31.04 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.594e-05/1.388, allocations: 29.97 kB / 0.7748 GB, free: 31.02 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.388, allocations: 4 kB / 0.7748 GB, free: 31.01 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/1.388, allocations: 3.984 kB / 0.7748 GB, free: 31.01 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004821/1.389, allocations: 0.5397 MB / 0.7753 GB, free: 30.38 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008445/1.39, allocations: 0.6448 MB / 0.776 GB, free: 29.68 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.39, allocations: 0 / 0.776 GB, free: 29.68 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/1.39, allocations: 51.84 kB / 0.776 GB, free: 29.63 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002067/1.39, allocations: 56.78 kB / 0.7761 GB, free: 29.57 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/1.39, allocations: 7.938 kB / 0.7761 GB, free: 29.57 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008377/1.391, allocations: 1.335 MB / 0.7774 GB, free: 28.12 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.391, allocations: 0 / 0.7774 GB, free: 28.12 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/1.391, allocations: 446.9 kB / 0.7778 GB, free: 27.65 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.733e-05/1.392, allocations: 101 kB / 0.7779 GB, free: 27.54 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/1.392, allocations: 0 / 0.7779 GB, free: 27.54 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/1.392, allocations: 11.98 kB / 0.7779 GB, free: 27.52 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/1.392, allocations: 15.98 kB / 0.7779 GB, free: 27.51 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/1.392, allocations: 7.984 kB / 0.7779 GB, free: 27.5 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001403/1.392, allocations: 157.6 kB / 0.7781 GB, free: 27.35 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.392, allocations: 0 / 0.7781 GB, free: 27.35 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0005431/1.393, allocations: 96 kB / 0.7782 GB, free: 27.25 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002664/1.393, allocations: 159.2 kB / 0.7783 GB, free: 27.09 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0006615/1.394, allocations: 443.9 kB / 0.7787 GB, free: 26.64 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.394, allocations: 0 / 0.7787 GB, free: 26.64 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003242/1.394, allocations: 218.5 kB / 0.779 GB, free: 26.41 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007169/1.395, allocations: 123.1 kB / 0.7791 GB, free: 26.3 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009074/1.396, allocations: 480.5 kB / 0.7795 GB, free: 25.8 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/1.396, allocations: 0.7717 MB / 0.7803 GB, free: 25 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0002983/1.396, allocations: 47.27 kB / 0.7803 GB, free: 24.96 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/1.396, allocations: 27.44 kB / 0.7804 GB, free: 24.93 MB / 395.1 MB Notification: Performance of SimCode: time 2.61e-07/1.396, allocations: 3.938 kB / 0.7804 GB, free: 24.93 MB / 395.1 MB Notification: Performance of Templates: time 0.009849/1.406, allocations: 4.95 MB / 0.7852 GB, free: 20.01 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)