Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002673/0.002678, allocations: 350.3 kB / 15.94 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.529/3.529, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003506/0.003506, allocations: 221.5 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4886/0.4886, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006607/0.000661, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1025, allocations: 48.7 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.941/8.043, allocations: 2.516 GB / 3.123 GB, free: 9.656 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/8.044, allocations: 97.27 kB / 3.123 GB, free: 9.605 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.618/10.66, allocations: 468.2 MB / 3.58 GB, free: 37.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.705e-06/10.66, allocations: 0 / 3.58 GB, free: 37.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.77e-05/10.66, allocations: 19.47 kB / 3.58 GB, free: 37.45 MB / 442.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.009354/10.67, allocations: 1.786 MB / 3.582 GB, free: 36.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/10.67, allocations: 11.55 kB / 3.582 GB, free: 36.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003605/10.68, allocations: 325.3 kB / 3.582 GB, free: 36.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/10.68, allocations: 0.601 MB / 3.583 GB, free: 36.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/10.68, allocations: 114.5 kB / 3.583 GB, free: 35.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/10.68, allocations: 53.5 kB / 3.583 GB, free: 35.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004266/10.68, allocations: 1.209 MB / 3.584 GB, free: 35.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.171e-05/10.68, allocations: 7.781 kB / 3.584 GB, free: 35.37 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/10.68, allocations: 29.31 kB / 3.584 GB, free: 35.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-05/10.68, allocations: 48.94 kB / 3.584 GB, free: 35.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004554/10.69, allocations: 1.044 MB / 3.585 GB, free: 35.06 MB / 442.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.009661/10.7, allocations: 5.608 MB / 3.591 GB, free: 30.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003733/10.7, allocations: 0.7848 MB / 3.591 GB, free: 30.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/10.7, allocations: 300.6 kB / 3.592 GB, free: 30.26 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05745/10.76, allocations: 18.71 MB / 3.61 GB, free: 18.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.957e-05/10.76, allocations: 42.19 kB / 3.61 GB, free: 18.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 2.675e-06/10.76, allocations: 0 / 3.61 GB, free: 18.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.01105/10.77, allocations: 2.342 MB / 3.612 GB, free: 17.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/10.77, allocations: 169.4 kB / 3.613 GB, free: 16.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/10.77, allocations: 0.5979 MB / 3.613 GB, free: 16.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001414/10.77, allocations: 33.58 kB / 3.613 GB, free: 16.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/10.77, allocations: 398.7 kB / 3.614 GB, free: 16.33 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/10.77, allocations: 184 kB / 3.614 GB, free: 16.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/10.77, allocations: 15.91 kB / 3.614 GB, free: 16.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/10.77, allocations: 378.3 kB / 3.614 GB, free: 15.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/10.77, allocations: 292.2 kB / 3.614 GB, free: 15.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/10.77, allocations: 0.6422 MB / 3.615 GB, free: 15.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/10.78, allocations: 388.8 kB / 3.615 GB, free: 15.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/10.78, allocations: 3.781 kB / 3.615 GB, free: 15.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003271/10.78, allocations: 1.003 MB / 3.616 GB, free: 14.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/10.78, allocations: 9.719 kB / 3.616 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/10.78, allocations: 11.56 kB / 3.616 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004362/10.78, allocations: 71.03 kB / 3.616 GB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002663/10.78, allocations: 316.6 kB / 3.617 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002886/10.79, allocations: 1.986 MB / 3.619 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/10.79, allocations: 85.75 kB / 3.619 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/10.79, allocations: 45.22 kB / 3.619 GB, free: 12.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.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.0006262/10.79, allocations: 274.3 kB / 3.619 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/10.79, allocations: 79.03 kB / 3.619 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004759/10.79, allocations: 2.601 MB / 3.622 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.702e-05/10.79, allocations: 31.98 kB / 3.622 GB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/10.79, allocations: 3.906 kB / 3.622 GB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/10.79, allocations: 3.234 kB / 3.622 GB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006653/10.8, allocations: 3.783 MB / 3.625 GB, free: 9.344 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/10.8, allocations: 4 kB / 3.625 GB, free: 9.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002125/10.8, allocations: 237.9 kB / 3.626 GB, free: 9.328 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006218/10.8, allocations: 91.39 kB / 3.626 GB, free: 9.297 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.237e-05/10.8, allocations: 12.66 kB / 3.626 GB, free: 9.289 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/10.8, allocations: 1.997 MB / 3.628 GB, free: 7.344 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/10.8, allocations: 4.812 kB / 3.628 GB, free: 7.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004686/10.81, allocations: 2.367 MB / 3.63 GB, free: 6.203 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007388/10.81, allocations: 325.9 kB / 3.63 GB, free: 5.965 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/10.81, allocations: 11.84 kB / 3.63 GB, free: 5.957 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009765/10.81, allocations: 66.19 kB / 3.63 GB, free: 5.938 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/10.81, allocations: 55.41 kB / 3.63 GB, free: 5.926 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.586e-05/10.81, allocations: 27.97 kB / 3.63 GB, free: 5.914 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001015/10.81, allocations: 0.5433 MB / 3.631 GB, free: 5.684 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.71e-07/10.81, allocations: 0 / 3.631 GB, free: 5.684 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006297/10.82, allocations: 1.129 MB / 3.632 GB, free: 5.039 MB / 442.7 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.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.01172/10.83, allocations: 1.54 MB / 3.634 GB, free: 3.848 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003916/10.83, allocations: 1.111 MB / 3.635 GB, free: 2.883 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/10.83, allocations: 7.938 kB / 3.635 GB, free: 2.875 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002481/10.84, allocations: 0.8128 MB / 3.635 GB, free: 2.145 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003637/10.84, allocations: 381.1 kB / 3.636 GB, free: 1.871 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006743/10.85, allocations: 3.085 MB / 3.639 GB, free: 15.22 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009525/10.85, allocations: 1.181 MB / 3.64 GB, free: 14.19 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001695/10.85, allocations: 442.7 kB / 3.64 GB, free: 13.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/10.85, allocations: 63.44 kB / 3.64 GB, free: 13.86 MB / 458.7 MB Notification: Performance of SimCode: time 1.493e-06/10.85, allocations: 4 kB / 3.64 GB, free: 13.86 MB / 458.7 MB Notification: Performance of Templates: time 0.4358/11.29, allocations: 42.61 MB / 3.682 GB, free: 58.48 MB / 458.7 MB