Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002234/0.002233, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.94/1.94, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 92.38 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5156/0.5156, allocations: 43.56 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004558/0.0004557, allocations: 12 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1259, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.58/8.706, allocations: 2.794 GB / 3.273 GB, free: 17.34 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/8.706, allocations: 92.92 kB / 3.273 GB, free: 17.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.769/11.47, allocations: 0.4924 GB / 3.765 GB, free: 52.96 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.976e-06/11.47, allocations: 0 / 3.765 GB, free: 52.96 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.888e-05/11.47, allocations: 18.58 kB / 3.765 GB, free: 52.96 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.008782/11.48, allocations: 1.774 MB / 3.767 GB, free: 52.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/11.48, allocations: 6.469 kB / 3.767 GB, free: 52.15 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002494/11.49, allocations: 237.7 kB / 3.767 GB, free: 52.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001896/11.49, allocations: 0.5774 MB / 3.768 GB, free: 51.86 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/11.49, allocations: 115.4 kB / 3.768 GB, free: 51.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/11.49, allocations: 59.42 kB / 3.768 GB, free: 51.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002859/11.49, allocations: 1.069 MB / 3.769 GB, free: 51.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.381e-05/11.49, allocations: 11.66 kB / 3.769 GB, free: 51.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/11.49, allocations: 33.39 kB / 3.769 GB, free: 51.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.713e-05/11.49, allocations: 41.67 kB / 3.769 GB, free: 51.46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/11.49, allocations: 0.8053 MB / 3.77 GB, free: 51.46 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008333/11.5, allocations: 5.551 MB / 3.775 GB, free: 47.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/11.5, allocations: 0.5247 MB / 3.776 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1519/11.66, allocations: 47.19 MB / 3.822 GB, free: 34.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.453e-05/11.66, allocations: 45.38 kB / 3.822 GB, free: 34.35 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=39): time 3.807e-06/11.66, allocations: 0 / 3.822 GB, free: 34.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.009488/11.67, allocations: 2.103 MB / 3.824 GB, free: 33.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/11.67, allocations: 193.5 kB / 3.824 GB, free: 33.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/11.67, allocations: 0.5578 MB / 3.825 GB, free: 33.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.143e-05/11.67, allocations: 35.45 kB / 3.825 GB, free: 33.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/11.67, allocations: 425.2 kB / 3.825 GB, free: 33.12 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/11.67, allocations: 164.1 kB / 3.825 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.109e-05/11.67, allocations: 16.59 kB / 3.825 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001431/11.67, allocations: 339.3 kB / 3.826 GB, free: 32.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005952/11.67, allocations: 230.8 kB / 3.826 GB, free: 32.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007838/11.67, allocations: 0.5782 MB / 3.826 GB, free: 32.24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007775/11.67, allocations: 342.1 kB / 3.827 GB, free: 32.22 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/11.67, allocations: 3.594 kB / 3.827 GB, free: 32.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002035/11.67, allocations: 0.8561 MB / 3.828 GB, free: 32.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/11.67, allocations: 8.625 kB / 3.828 GB, free: 32.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/11.67, allocations: 13.12 kB / 3.828 GB, free: 32.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006999/11.68, allocations: 267.7 kB / 3.828 GB, free: 32.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/11.68, allocations: 278.2 kB / 3.828 GB, free: 32.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/11.68, allocations: 2.036 MB / 3.83 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/11.69, allocations: 55.77 kB / 3.83 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-05/11.69, allocations: 56.75 kB / 3.83 GB, free: 30.24 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006023/11.69, allocations: 263.5 kB / 3.83 GB, free: 30.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/11.69, allocations: 77.83 kB / 3.831 GB, free: 30.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003154/11.69, allocations: 2.027 MB / 3.833 GB, free: 29.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.325e-05/11.69, allocations: 21.39 kB / 3.833 GB, free: 29.28 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/11.69, allocations: 0 / 3.833 GB, free: 29.28 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/11.69, allocations: 11.3 kB / 3.833 GB, free: 29.28 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004797/11.69, allocations: 2.997 MB / 3.835 GB, free: 27.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.168e-06/11.69, allocations: 0 / 3.835 GB, free: 27.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/11.7, allocations: 187.3 kB / 3.836 GB, free: 27.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003181/11.7, allocations: 300.8 kB / 3.836 GB, free: 27.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/11.7, allocations: 14.78 kB / 3.836 GB, free: 27.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/11.7, allocations: 2.087 MB / 3.838 GB, free: 25.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/11.7, allocations: 4.062 kB / 3.838 GB, free: 25.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/11.71, allocations: 1.946 MB / 3.84 GB, free: 24.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000629/11.71, allocations: 292.2 kB / 3.84 GB, free: 24.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/11.71, allocations: 18.69 kB / 3.84 GB, free: 24.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008119/11.71, allocations: 27.77 kB / 3.84 GB, free: 24.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.657e-05/11.71, allocations: 32.25 kB / 3.84 GB, free: 24.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/11.71, allocations: 25.53 kB / 3.84 GB, free: 24.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001072/11.71, allocations: 0.5631 MB / 3.841 GB, free: 24.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.353e-06/11.71, allocations: 0 / 3.841 GB, free: 24.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006064/11.71, allocations: 1.137 MB / 3.842 GB, free: 23.94 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009823/11.72, allocations: 1.566 MB / 3.843 GB, free: 23.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002927/11.73, allocations: 0.8921 MB / 3.844 GB, free: 23.26 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/11.73, allocations: 3.531 kB / 3.844 GB, free: 23.26 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001829/11.73, allocations: 0.6148 MB / 3.845 GB, free: 23.01 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/11.73, allocations: 380.9 kB / 3.845 GB, free: 22.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/11.74, allocations: 2.618 MB / 3.848 GB, free: 21.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008442/11.74, allocations: 1.108 MB / 3.849 GB, free: 20.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/11.74, allocations: 68.56 kB / 3.849 GB, free: 20.67 MB / 0.5261 GB Notification: Performance of SimCode: time 1.884e-06/11.74, allocations: 0 / 3.849 GB, free: 20.67 MB / 0.5261 GB Notification: Performance of Templates: time 0.4861/12.22, allocations: 40.27 MB / 3.888 GB, free: 71.25 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)