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.001457/0.001456, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.136/2.136, allocations: 205.3 MB / 214.1 MB, free: 14.09 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 82.56 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2894/0.2894, allocations: 43.49 MB / 353.5 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.069e-05/2.08e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.422, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.432/8.854, allocations: 2.793 GB / 3.259 GB, free: 96.02 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/8.855, allocations: 90.17 kB / 3.259 GB, free: 96.02 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.38/11.23, allocations: 497.8 MB / 3.745 GB, free: 59.22 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.603e-06/11.23, allocations: 3.75 kB / 3.745 GB, free: 59.22 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 6.791e-05/11.23, allocations: 21.39 kB / 3.745 GB, free: 59.22 MB / 0.5108 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.007185/11.24, allocations: 1.692 MB / 3.747 GB, free: 58.45 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/11.24, allocations: 11.72 kB / 3.747 GB, free: 58.45 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002551/11.24, allocations: 233.3 kB / 3.747 GB, free: 58.4 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/11.25, allocations: 0.5805 MB / 3.748 GB, free: 58.16 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/11.25, allocations: 90.67 kB / 3.748 GB, free: 58.09 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/11.25, allocations: 34.31 kB / 3.748 GB, free: 58.09 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001571/11.25, allocations: 0.6331 MB / 3.749 GB, free: 58.09 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/11.25, allocations: 0.8757 MB / 3.749 GB, free: 57.76 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.823e-05/11.25, allocations: 3.469 kB / 3.749 GB, free: 57.76 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/11.25, allocations: 7.922 kB / 3.749 GB, free: 57.76 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/11.25, allocations: 47.91 kB / 3.75 GB, free: 57.76 MB / 0.5108 GB Warning: The model contains alias variables with conflicting start and/or 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.2054/11.46, allocations: 67.8 MB / 3.816 GB, free: 31.23 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008987/11.46, allocations: 338.9 kB / 3.816 GB, free: 31.2 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/11.46, allocations: 152.2 kB / 3.816 GB, free: 31.19 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.53/11.99, allocations: 47.35 MB / 3.862 GB, free: 93.15 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/11.99, allocations: 37.97 kB / 3.862 GB, free: 93.11 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=31): time 3.347e-06/11.99, allocations: 1.859 kB / 3.862 GB, free: 93.11 MB / 0.5421 GB Notification: Performance of matching and sorting (n=36): time 0.008423/12, allocations: 1.602 MB / 3.864 GB, free: 92.79 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/12, allocations: 133.3 kB / 3.864 GB, free: 92.64 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/12, allocations: 497.8 kB / 3.865 GB, free: 92.52 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/12, allocations: 27.23 kB / 3.865 GB, free: 92.49 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/12, allocations: 478.4 kB / 3.865 GB, free: 92.21 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/12, allocations: 130.7 kB / 3.865 GB, free: 92.15 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/12, allocations: 1.125 kB / 3.865 GB, free: 92.15 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 9.649e-05/12, allocations: 341.7 kB / 3.866 GB, free: 91.84 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005261/12, allocations: 205.3 kB / 3.866 GB, free: 91.84 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007138/12, allocations: 0.5536 MB / 3.866 GB, free: 91.4 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/12, allocations: 421.2 kB / 3.867 GB, free: 91.4 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.699e-05/12, allocations: 4.281 kB / 3.867 GB, free: 91.4 MB / 0.5421 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003498/12.01, allocations: 0.8577 MB / 3.868 GB, free: 91.34 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/12.01, allocations: 10.22 kB / 3.868 GB, free: 91.34 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/12.01, allocations: 13.72 kB / 3.868 GB, free: 91.34 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003601/12.01, allocations: 73.2 kB / 3.868 GB, free: 91.33 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002402/12.01, allocations: 281.8 kB / 3.868 GB, free: 91.33 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/12.01, allocations: 2.068 MB / 3.87 GB, free: 89.55 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/12.01, allocations: 44.66 kB / 3.87 GB, free: 89.55 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/12.01, allocations: 45.05 kB / 3.87 GB, free: 89.55 MB / 0.5421 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 () * 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.0002816/12.01, allocations: 146.8 kB / 3.87 GB, free: 89.44 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/12.01, allocations: 63.25 kB / 3.87 GB, free: 89.41 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003193/12.02, allocations: 1.499 MB / 3.872 GB, free: 89.25 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.714e-05/12.02, allocations: 18.17 kB / 3.872 GB, free: 89.25 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/12.02, allocations: 1.562 kB / 3.872 GB, free: 89.25 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/12.02, allocations: 2.016 kB / 3.872 GB, free: 89.25 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005081/12.02, allocations: 2.353 MB / 3.874 GB, free: 88.86 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/12.02, allocations: 2.766 kB / 3.874 GB, free: 88.86 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/12.02, allocations: 170.2 kB / 3.874 GB, free: 88.86 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006494/12.03, allocations: 118.7 kB / 3.874 GB, free: 88.85 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.861e-05/12.03, allocations: 5.359 kB / 3.874 GB, free: 88.85 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/12.03, allocations: 2.077 MB / 3.876 GB, free: 87.07 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/12.03, allocations: 1.375 kB / 3.876 GB, free: 87.07 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003233/12.03, allocations: 1.52 MB / 3.878 GB, free: 86.84 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006343/12.03, allocations: 207.5 kB / 3.878 GB, free: 86.71 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/12.03, allocations: 7.891 kB / 3.878 GB, free: 86.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007155/12.03, allocations: 24.75 kB / 3.878 GB, free: 86.7 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/12.03, allocations: 24.39 kB / 3.878 GB, free: 86.7 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.439e-05/12.03, allocations: 16.98 kB / 3.878 GB, free: 86.7 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0007341/12.03, allocations: 350.4 kB / 3.878 GB, free: 86.61 MB / 0.5421 GB Notification: Performance of sort global known variables: time 6.31e-07/12.03, allocations: 1.375 kB / 3.878 GB, free: 86.61 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.006368/12.04, allocations: 1.089 MB / 3.879 GB, free: 86.61 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.01059/12.05, allocations: 1.648 MB / 3.881 GB, free: 86.44 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002962/12.05, allocations: 0.7975 MB / 3.882 GB, free: 86.42 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/12.05, allocations: 0.8125 kB / 3.882 GB, free: 86.42 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001839/12.06, allocations: 0.5346 MB / 3.882 GB, free: 86.42 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002493/12.06, allocations: 260.8 kB / 3.883 GB, free: 86.41 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/12.06, allocations: 1.429 MB / 3.884 GB, free: 86.08 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/12.06, allocations: 1.052 MB / 3.885 GB, free: 85.38 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/12.06, allocations: 60.84 kB / 3.885 GB, free: 85.38 MB / 0.5421 GB Notification: Performance of SimCode: time 1.062e-06/12.06, allocations: 1.875 kB / 3.885 GB, free: 85.38 MB / 0.5421 GB Notification: Performance of Templates: time 0.07469/12.14, allocations: 38.1 MB / 3.922 GB, free: 83.34 MB / 0.5421 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)