Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 2.356/2.356, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.7e-05/1.718e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2774, allocations: 54.86 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.602/6.88, allocations: 2.624 GB / 2.974 GB, free: 94.25 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/6.88, allocations: 91.88 kB / 2.974 GB, free: 94.2 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.229/9.109, allocations: 495 MB / 3.458 GB, free: 56.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.965e-06/9.109, allocations: 2.531 kB / 3.458 GB, free: 56.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.602e-05/9.109, allocations: 21.53 kB / 3.458 GB, free: 56.23 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.008445/9.118, allocations: 1.701 MB / 3.459 GB, free: 55.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/9.118, allocations: 7.625 kB / 3.459 GB, free: 55.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004115/9.122, allocations: 230.1 kB / 3.46 GB, free: 55.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/9.124, allocations: 0.5948 MB / 3.46 GB, free: 55.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/9.125, allocations: 88.42 kB / 3.46 GB, free: 55.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/9.125, allocations: 37.22 kB / 3.46 GB, free: 55.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002442/9.127, allocations: 0.62 MB / 3.461 GB, free: 55.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003002/9.13, allocations: 0.8749 MB / 3.462 GB, free: 54.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.801e-05/9.13, allocations: 6.844 kB / 3.462 GB, free: 54.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/9.131, allocations: 7.125 kB / 3.462 GB, free: 54.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/9.131, allocations: 38.62 kB / 3.462 GB, free: 54.9 MB / 490.7 MB 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.1495/9.28, allocations: 67.78 MB / 3.528 GB, free: 29.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008257/9.281, allocations: 327.4 kB / 3.528 GB, free: 29.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/9.281, allocations: 146.6 kB / 3.528 GB, free: 29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1554/9.437, allocations: 53.55 MB / 3.581 GB, free: 26.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/9.437, allocations: 43.31 kB / 3.581 GB, free: 26.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 3.58e-06/9.437, allocations: 3.906 kB / 3.581 GB, free: 26.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.007022/9.444, allocations: 1.582 MB / 3.582 GB, free: 25.97 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.835e-05/9.444, allocations: 136.4 kB / 3.582 GB, free: 25.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007777/9.445, allocations: 498.5 kB / 3.583 GB, free: 25.69 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.535e-05/9.445, allocations: 25.7 kB / 3.583 GB, free: 25.66 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/9.445, allocations: 482.1 kB / 3.583 GB, free: 25.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/9.446, allocations: 136.6 kB / 3.583 GB, free: 25.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/9.446, allocations: 4 kB / 3.583 GB, free: 25.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001877/9.446, allocations: 342.2 kB / 3.584 GB, free: 24.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/9.446, allocations: 209.9 kB / 3.584 GB, free: 24.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005401/9.447, allocations: 0.5781 MB / 3.585 GB, free: 24.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/9.449, allocations: 437.9 kB / 3.585 GB, free: 24.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/9.449, allocations: 3.875 kB / 3.585 GB, free: 24.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002938/9.452, allocations: 0.8673 MB / 3.586 GB, free: 24.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/9.452, allocations: 11.28 kB / 3.586 GB, free: 24.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/9.452, allocations: 13.66 kB / 3.586 GB, free: 24.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003079/9.452, allocations: 73.36 kB / 3.586 GB, free: 24.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/9.453, allocations: 293.1 kB / 3.586 GB, free: 24.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003015/9.457, allocations: 2.058 MB / 3.588 GB, free: 22.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/9.458, allocations: 51.67 kB / 3.588 GB, free: 22.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/9.458, allocations: 47.66 kB / 3.588 GB, free: 22.54 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (98): * Single equations (assignments): 96 * 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.0002654/9.458, allocations: 144.6 kB / 3.588 GB, free: 22.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/9.458, allocations: 62.16 kB / 3.589 GB, free: 22.39 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/9.461, allocations: 1.505 MB / 3.59 GB, free: 22.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/9.461, allocations: 21.03 kB / 3.59 GB, free: 22.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.522e-06/9.461, allocations: 0 / 3.59 GB, free: 22.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.068e-06/9.461, allocations: 3.328 kB / 3.59 GB, free: 22.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003678/9.464, allocations: 2.335 MB / 3.592 GB, free: 21.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.711e-06/9.464, allocations: 3.469 kB / 3.592 GB, free: 21.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/9.466, allocations: 171.9 kB / 3.592 GB, free: 21.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003812/9.466, allocations: 118.4 kB / 3.593 GB, free: 21.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.495e-05/9.466, allocations: 3.875 kB / 3.593 GB, free: 21.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002346/9.468, allocations: 2.089 MB / 3.595 GB, free: 20 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.74e-06/9.468, allocations: 0 / 3.595 GB, free: 20 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00237/9.471, allocations: 1.497 MB / 3.596 GB, free: 19.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004795/9.471, allocations: 205.8 kB / 3.596 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/9.471, allocations: 5.797 kB / 3.596 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005456/9.472, allocations: 30.48 kB / 3.596 GB, free: 19.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/9.472, allocations: 23.98 kB / 3.596 GB, free: 19.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/9.472, allocations: 14.23 kB / 3.596 GB, free: 19.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005786/9.473, allocations: 357.8 kB / 3.597 GB, free: 19.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.026e-06/9.473, allocations: 4 kB / 3.597 GB, free: 19.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004887/9.478, allocations: 1.091 MB / 3.598 GB, free: 19.37 MB / 0.5261 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.008458/9.486, allocations: 1.644 MB / 3.599 GB, free: 19.02 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002065/9.488, allocations: 0.8027 MB / 3.6 GB, free: 19 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.638e-06/9.488, allocations: 4.062 kB / 3.6 GB, free: 19 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/9.49, allocations: 0.5264 MB / 3.601 GB, free: 19 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/9.491, allocations: 256.8 kB / 3.601 GB, free: 18.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/9.494, allocations: 1.419 MB / 3.602 GB, free: 18.55 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008168/9.495, allocations: 1.062 MB / 3.603 GB, free: 17.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/9.495, allocations: 59.44 kB / 3.603 GB, free: 17.55 MB / 0.5261 GB Notification: Performance of SimCode: time 2.357e-06/9.495, allocations: 0 / 3.603 GB, free: 17.55 MB / 0.5261 GB Notification: Performance of Templates: time 0.3621/9.857, allocations: 38.64 MB / 3.641 GB, free: 103.7 MB / 0.5261 GB