Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 2.02/2.02, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.905e-05/1.913e-05, allocations: 4 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2694, allocations: 48.68 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.043/6.312, allocations: 2.515 GB / 2.828 GB, free: 58.99 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/6.313, allocations: 87.95 kB / 2.828 GB, free: 58.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084/8.396, allocations: 485.1 MB / 3.302 GB, free: 44.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.377e-06/8.396, allocations: 0 / 3.302 GB, free: 44.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.62e-05/8.396, allocations: 25.94 kB / 3.302 GB, free: 44.7 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.006027/8.402, allocations: 1.72 MB / 3.303 GB, free: 43.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/8.402, allocations: 7.906 kB / 3.303 GB, free: 43.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/8.405, allocations: 308.9 kB / 3.304 GB, free: 43.87 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/8.407, allocations: 0.6103 MB / 3.304 GB, free: 43.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/8.407, allocations: 95.72 kB / 3.304 GB, free: 43.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/8.407, allocations: 36.8 kB / 3.304 GB, free: 43.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001573/8.409, allocations: 0.6969 MB / 3.305 GB, free: 43.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/8.41, allocations: 0.8838 MB / 3.306 GB, free: 43.24 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/8.41, allocations: 2.406 kB / 3.306 GB, free: 43.24 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/8.411, allocations: 4.531 kB / 3.306 GB, free: 43.24 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.616e-05/8.411, allocations: 46.83 kB / 3.306 GB, free: 43.23 MB / 442.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.1149/8.526, allocations: 52.81 MB / 3.358 GB, free: 24.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008791/8.527, allocations: 388.6 kB / 3.358 GB, free: 24.27 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/8.527, allocations: 182.3 kB / 3.358 GB, free: 24.19 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00718/8.534, allocations: 3.63 MB / 3.362 GB, free: 21.12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.308e-05/8.534, allocations: 42.5 kB / 3.362 GB, free: 21.07 MB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 3.687e-06/8.534, allocations: 0 / 3.362 GB, free: 21.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=41): time 0.005495/8.54, allocations: 1.457 MB / 3.363 GB, free: 19.75 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.56e-05/8.54, allocations: 132.5 kB / 3.363 GB, free: 19.59 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007591/8.541, allocations: 490.8 kB / 3.364 GB, free: 19.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.204e-05/8.541, allocations: 25.7 kB / 3.364 GB, free: 19.11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/8.541, allocations: 463.1 kB / 3.364 GB, free: 18.69 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/8.541, allocations: 144.1 kB / 3.364 GB, free: 18.56 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/8.541, allocations: 0 / 3.364 GB, free: 18.56 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/8.541, allocations: 345.2 kB / 3.365 GB, free: 18.22 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004236/8.542, allocations: 217.7 kB / 3.365 GB, free: 18.03 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005636/8.542, allocations: 0.5644 MB / 3.365 GB, free: 17.33 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008707/8.543, allocations: 327.9 kB / 3.366 GB, free: 17.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-06/8.543, allocations: 4 kB / 3.366 GB, free: 17.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001914/8.545, allocations: 0.7766 MB / 3.366 GB, free: 16.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/8.545, allocations: 12 kB / 3.366 GB, free: 16.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/8.545, allocations: 12 kB / 3.366 GB, free: 16.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002663/8.546, allocations: 63.69 kB / 3.367 GB, free: 16.26 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/8.547, allocations: 314.4 kB / 3.367 GB, free: 16.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/8.549, allocations: 1.945 MB / 3.369 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/8.551, allocations: 87.02 kB / 3.369 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-05/8.551, allocations: 47.94 kB / 3.369 GB, free: 13.87 MB / 458.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.regularFlow[1],volume.regularFlow[2],volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete 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.0002608/8.551, allocations: 144.5 kB / 3.369 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/8.551, allocations: 67.2 kB / 3.369 GB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/8.554, allocations: 1.849 MB / 3.371 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-05/8.554, allocations: 31.3 kB / 3.371 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.82e-06/8.554, allocations: 3.938 kB / 3.371 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/8.554, allocations: 3.656 kB / 3.371 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004123/8.558, allocations: 2.847 MB / 3.374 GB, free: 9.387 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/8.558, allocations: 0 / 3.374 GB, free: 9.387 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/8.559, allocations: 215.5 kB / 3.374 GB, free: 9.227 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003332/8.56, allocations: 87.19 kB / 3.374 GB, free: 9.156 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/8.56, allocations: 4 kB / 3.374 GB, free: 9.152 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/8.562, allocations: 1.978 MB / 3.376 GB, free: 7.102 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.018e-06/8.562, allocations: 7.125 kB / 3.376 GB, free: 7.098 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/8.564, allocations: 1.796 MB / 3.378 GB, free: 5.402 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004883/8.565, allocations: 226.9 kB / 3.378 GB, free: 5.176 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/8.565, allocations: 3.953 kB / 3.378 GB, free: 5.172 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006983/8.566, allocations: 51.3 kB / 3.378 GB, free: 5.133 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/8.566, allocations: 43.52 kB / 3.378 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/8.566, allocations: 18.25 kB / 3.378 GB, free: 5.094 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005646/8.567, allocations: 349.6 kB / 3.378 GB, free: 4.781 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.263e-06/8.567, allocations: 4 kB / 3.378 GB, free: 4.777 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004812/8.571, allocations: 1.075 MB / 3.379 GB, free: 3.73 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 38 * 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.008211/8.58, allocations: 1.629 MB / 3.381 GB, free: 2.402 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002404/8.582, allocations: 0.8557 MB / 3.382 GB, free: 1.625 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/8.582, allocations: 0 / 3.382 GB, free: 1.625 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001738/8.584, allocations: 0.6378 MB / 3.382 GB, free: 1.043 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/8.586, allocations: 264.3 kB / 3.383 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3099/8.896, allocations: 1.609 MB / 3.384 GB, free: 63.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008466/8.897, allocations: 1.099 MB / 3.385 GB, free: 63.05 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/8.897, allocations: 69.23 kB / 3.385 GB, free: 63.05 MB / 458.7 MB Notification: Performance of SimCode: time 2.778e-06/8.897, allocations: 1.188 kB / 3.385 GB, free: 63.05 MB / 458.7 MB Notification: Performance of Templates: time 0.05944/8.956, allocations: 39.37 MB / 3.424 GB, free: 61.22 MB / 458.7 MB