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.Incompressible.Glycol47.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.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadModel(ModelicaTest): time 2.368/2.368, allocations: 235.1 MB / 243 MB, free: 9.508 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.971e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2748, allocations: 54.85 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6089/0.8838, allocations: 236.5 MB / 0.5806 GB, free: 5.129 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.8841, allocations: 95.08 kB / 0.5807 GB, free: 5.078 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.388/2.272, allocations: 271.7 MB / 0.846 GB, free: 98.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.162e-06/2.272, allocations: 0 / 0.846 GB, free: 98.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.479e-05/2.272, allocations: 15.25 kB / 0.8461 GB, free: 98.59 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.004298/2.277, allocations: 1.51 MB / 0.8475 GB, free: 98.08 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/2.277, allocations: 15.48 kB / 0.8475 GB, free: 98.07 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/2.278, allocations: 137.4 kB / 0.8477 GB, free: 98.04 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/2.279, allocations: 0.5621 MB / 0.8482 GB, free: 97.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-05/2.279, allocations: 80.88 kB / 0.8483 GB, free: 97.74 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/2.28, allocations: 36.14 kB / 0.8483 GB, free: 97.74 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001109/2.281, allocations: 499.9 kB / 0.8488 GB, free: 97.73 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/2.282, allocations: 0.7285 MB / 0.8495 GB, free: 97.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/2.282, allocations: 10.88 kB / 0.8495 GB, free: 97.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.456e-05/2.282, allocations: 3.969 kB / 0.8495 GB, free: 97.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.384e-05/2.282, allocations: 34.33 kB / 0.8496 GB, free: 97.48 MB / 474.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.005429/2.288, allocations: 4.316 MB / 0.8538 GB, free: 94.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005885/2.288, allocations: 285.3 kB / 0.8541 GB, free: 94.43 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/2.289, allocations: 120.5 kB / 0.8542 GB, free: 94.42 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002554/2.289, allocations: 338.4 kB / 0.8545 GB, free: 94.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/2.289, allocations: 41.33 kB / 0.8545 GB, free: 94 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 3.839e-06/2.289, allocations: 3.656 kB / 0.8545 GB, free: 94 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.004402/2.293, allocations: 1.21 MB / 0.8557 GB, free: 93.62 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/2.293, allocations: 134.4 kB / 0.8558 GB, free: 93.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006894/2.294, allocations: 474.2 kB / 0.8563 GB, free: 93.34 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.1e-05/2.294, allocations: 25.7 kB / 0.8563 GB, free: 93.31 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/2.294, allocations: 447.9 kB / 0.8568 GB, free: 93.04 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/2.295, allocations: 128 kB / 0.8569 GB, free: 92.98 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/2.295, allocations: 0 / 0.8569 GB, free: 92.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.916e-05/2.295, allocations: 344.2 kB / 0.8572 GB, free: 92.67 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/2.295, allocations: 176.3 kB / 0.8574 GB, free: 92.67 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/2.296, allocations: 0.496 MB / 0.8579 GB, free: 92.26 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/2.297, allocations: 358.5 kB / 0.8582 GB, free: 92.25 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/2.297, allocations: 3.625 kB / 0.8582 GB, free: 92.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002361/2.299, allocations: 0.8019 MB / 0.859 GB, free: 92.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/2.299, allocations: 12.66 kB / 0.859 GB, free: 92.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/2.299, allocations: 10.5 kB / 0.859 GB, free: 92.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009425/2.3, allocations: 221.8 kB / 0.8592 GB, free: 92.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/2.301, allocations: 132.2 kB / 0.8593 GB, free: 92.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/2.302, allocations: 1.398 MB / 0.8607 GB, free: 91.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000842/2.303, allocations: 28.03 kB / 0.8607 GB, free: 91.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.831e-05/2.303, allocations: 48.69 kB / 0.8608 GB, free: 91.12 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002024/2.304, allocations: 127.3 kB / 0.8609 GB, free: 91.01 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/2.304, allocations: 70.58 kB / 0.861 GB, free: 90.98 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/2.306, allocations: 0.6715 MB / 0.8616 GB, free: 90.89 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/2.306, allocations: 7.141 kB / 0.8616 GB, free: 90.89 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.526e-06/2.306, allocations: 0 / 0.8616 GB, free: 90.89 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.412e-06/2.306, allocations: 3.938 kB / 0.8616 GB, free: 90.89 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/2.309, allocations: 1.147 MB / 0.8628 GB, free: 90.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.007e-06/2.309, allocations: 0 / 0.8628 GB, free: 90.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/2.309, allocations: 51.64 kB / 0.8628 GB, free: 90.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006897/2.31, allocations: 147.8 kB / 0.8629 GB, free: 90.56 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/2.31, allocations: 13.89 kB / 0.863 GB, free: 90.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/2.311, allocations: 1.323 MB / 0.8643 GB, free: 89.52 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.027e-06/2.311, allocations: 0 / 0.8643 GB, free: 89.52 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/2.313, allocations: 0.7988 MB / 0.865 GB, free: 89.27 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003807/2.314, allocations: 191.6 kB / 0.8652 GB, free: 89.15 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/2.314, allocations: 0 / 0.8652 GB, free: 89.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005901/2.315, allocations: 21.45 kB / 0.8652 GB, free: 89.15 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.841e-05/2.315, allocations: 22.12 kB / 0.8653 GB, free: 89.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.129e-05/2.315, allocations: 18.73 kB / 0.8653 GB, free: 89.15 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005316/2.315, allocations: 345.9 kB / 0.8656 GB, free: 89.06 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.6e-07/2.315, allocations: 5.984 kB / 0.8656 GB, free: 89.06 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001629/2.317, allocations: 345.9 kB / 0.8659 GB, free: 89.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001166/2.318, allocations: 441.7 kB / 0.8664 GB, free: 88.88 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001225/2.319, allocations: 490 kB / 0.8668 GB, free: 88.88 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.174e-06/2.319, allocations: 0 / 0.8668 GB, free: 88.88 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005352/2.32, allocations: 199.9 kB / 0.867 GB, free: 88.87 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/2.321, allocations: 240.4 kB / 0.8673 GB, free: 88.86 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/2.324, allocations: 0.9718 MB / 0.8682 GB, free: 88.58 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/2.324, allocations: 0.9401 MB / 0.8691 GB, free: 87.88 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/2.325, allocations: 70.45 kB / 0.8692 GB, free: 87.87 MB / 474.7 MB Notification: Performance of SimCode: time 1.678e-06/2.325, allocations: 0 / 0.8692 GB, free: 87.87 MB / 474.7 MB Notification: Performance of Templates: time 0.02632/2.351, allocations: 17.54 MB / 0.8863 GB, free: 87.5 MB / 474.7 MB