Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002686/0.002691, allocations: 359.2 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.982/3.982, allocations: 388.9 MB / 405.6 MB, free: 9.57 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003594/0.003594, allocations: 223 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5234/0.5234, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007745/0.0007749, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.137, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.244/8.381, allocations: 2.627 GB / 3.307 GB, free: 16.26 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003563/8.382, allocations: 103.2 kB / 3.307 GB, free: 16.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005/11.39, allocations: 477.4 MB / 3.773 GB, free: 48.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.725e-06/11.39, allocations: 7.25 kB / 3.773 GB, free: 48.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.972e-05/11.39, allocations: 25.7 kB / 3.773 GB, free: 48.01 MB / 490.7 MB 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.008349/11.4, allocations: 1.785 MB / 3.775 GB, free: 47.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/11.4, allocations: 10.77 kB / 3.775 GB, free: 47.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003568/11.4, allocations: 328.8 kB / 3.775 GB, free: 47.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/11.4, allocations: 0.6085 MB / 3.776 GB, free: 46.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/11.4, allocations: 111.4 kB / 3.776 GB, free: 46.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/11.4, allocations: 61.67 kB / 3.776 GB, free: 46.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003869/11.41, allocations: 1.16 MB / 3.777 GB, free: 46.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.249e-05/11.41, allocations: 13.66 kB / 3.777 GB, free: 46.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/11.41, allocations: 29.95 kB / 3.777 GB, free: 46.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.213e-05/11.41, allocations: 43.5 kB / 3.777 GB, free: 46.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002721/11.41, allocations: 0.8302 MB / 3.778 GB, free: 46.53 MB / 490.7 MB 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.008847/11.42, allocations: 5.48 MB / 3.783 GB, free: 42.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/11.42, allocations: 0.5591 MB / 3.784 GB, free: 42.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005367/11.42, allocations: 221.2 kB / 3.784 GB, free: 42.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1594/11.58, allocations: 49.01 MB / 3.832 GB, free: 28.88 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/11.58, allocations: 41.12 kB / 3.832 GB, free: 28.84 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=42): time 2.985e-06/11.58, allocations: 0 / 3.832 GB, free: 28.84 MB / 0.4949 GB Notification: Performance of matching and sorting (n=46): time 0.007823/11.59, allocations: 1.931 MB / 3.834 GB, free: 28.35 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/11.59, allocations: 165.3 kB / 3.834 GB, free: 28.16 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/11.59, allocations: 0.6035 MB / 3.835 GB, free: 28.02 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0001452/11.59, allocations: 36.27 kB / 3.835 GB, free: 27.99 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/11.59, allocations: 409.4 kB / 3.835 GB, free: 27.77 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/11.59, allocations: 161.7 kB / 3.835 GB, free: 27.67 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/11.59, allocations: 15.31 kB / 3.835 GB, free: 27.67 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002207/11.59, allocations: 381.7 kB / 3.836 GB, free: 27.36 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006024/11.59, allocations: 221.5 kB / 3.836 GB, free: 27.36 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007965/11.59, allocations: 0.5895 MB / 3.836 GB, free: 26.89 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007845/11.59, allocations: 339.1 kB / 3.837 GB, free: 26.77 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.996e-05/11.59, allocations: 5.031 kB / 3.837 GB, free: 26.77 MB / 0.4949 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002232/11.59, allocations: 0.8839 MB / 3.838 GB, free: 26.45 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/11.59, allocations: 10.75 kB / 3.838 GB, free: 26.45 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/11.59, allocations: 18.19 kB / 3.838 GB, free: 26.45 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004413/11.59, allocations: 68.52 kB / 3.838 GB, free: 26.43 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00232/11.6, allocations: 290 kB / 3.838 GB, free: 26.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/11.6, allocations: 1.976 MB / 3.84 GB, free: 24.46 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/11.6, allocations: 66.98 kB / 3.84 GB, free: 24.44 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/11.6, allocations: 43.7 kB / 3.84 GB, free: 24.43 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000668/11.6, allocations: 275.2 kB / 3.84 GB, free: 24.23 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/11.6, allocations: 71.55 kB / 3.84 GB, free: 24.2 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003432/11.6, allocations: 2.223 MB / 3.843 GB, free: 23.12 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.011e-05/11.61, allocations: 33.23 kB / 3.843 GB, free: 23.12 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/11.61, allocations: 0 / 3.843 GB, free: 23.12 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/11.61, allocations: 7.547 kB / 3.843 GB, free: 23.12 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005466/11.61, allocations: 3.279 MB / 3.846 GB, free: 21.49 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/11.61, allocations: 0 / 3.846 GB, free: 21.49 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001843/11.61, allocations: 189.4 kB / 3.846 GB, free: 21.48 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000656/11.61, allocations: 97.41 kB / 3.846 GB, free: 21.45 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/11.61, allocations: 18.34 kB / 3.846 GB, free: 21.44 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/11.62, allocations: 1.991 MB / 3.848 GB, free: 19.48 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/11.62, allocations: 0 / 3.848 GB, free: 19.48 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003252/11.62, allocations: 1.967 MB / 3.85 GB, free: 18.48 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007027/11.62, allocations: 290.2 kB / 3.85 GB, free: 18.26 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/11.62, allocations: 8 kB / 3.85 GB, free: 18.25 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/11.62, allocations: 68.48 kB / 3.85 GB, free: 18.23 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/11.62, allocations: 31.27 kB / 3.85 GB, free: 18.23 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.02e-05/11.62, allocations: 21.8 kB / 3.85 GB, free: 18.23 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0009863/11.62, allocations: 0.4991 MB / 3.851 GB, free: 18 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4.71e-07/11.62, allocations: 4 kB / 3.851 GB, free: 18 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.006464/11.63, allocations: 1.13 MB / 3.852 GB, free: 17.79 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01115/11.64, allocations: 1.541 MB / 3.853 GB, free: 17.41 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.003069/11.64, allocations: 0.939 MB / 3.854 GB, free: 17.09 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/11.64, allocations: 0 / 3.854 GB, free: 17.09 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002024/11.64, allocations: 0.673 MB / 3.855 GB, free: 16.82 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003561/11.65, allocations: 369.7 kB / 3.855 GB, free: 16.72 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004973/11.65, allocations: 2.716 MB / 3.858 GB, free: 15.2 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008934/11.65, allocations: 1.131 MB / 3.859 GB, free: 14.46 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.001632/11.66, allocations: 452.7 kB / 3.86 GB, free: 14.43 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/11.66, allocations: 72.7 kB / 3.86 GB, free: 14.41 MB / 0.4949 GB Notification: Performance of SimCode: time 1.673e-06/11.66, allocations: 0 / 3.86 GB, free: 14.41 MB / 0.4949 GB Notification: Performance of Templates: time 0.5271/12.18, allocations: 42 MB / 3.901 GB, free: 66.84 MB / 0.4949 GB