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.ConstantPropertyLiquidWater.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,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.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(ModelicaTest): time 2.132/2.132, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004455/0.0004456, allocations: 12 kB / 314.3 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2712, allocations: 54.86 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.02019/0.2914, allocations: 14.01 MB / 383.2 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008602/0.3001, allocations: 4.761 MB / 388 MB, free: 7.879 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007536/0.3009, allocations: 27.75 kB / 388 MB, free: 7.852 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008773/0.3018, allocations: 266.6 kB / 388.3 MB, free: 7.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.3039, allocations: 0.6777 MB / 388.9 MB, free: 6.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002795/0.3067, allocations: 0.8028 MB / 389.7 MB, free: 6.105 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00177/0.3085, allocations: 1.141 MB / 390.9 MB, free: 4.961 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006778/0.3092, allocations: 381.3 kB / 391.2 MB, free: 4.582 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.3103, allocations: 0.5569 MB / 391.8 MB, free: 4.023 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006964/0.311, allocations: 402.6 kB / 392.2 MB, free: 3.629 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.3112, allocations: 32 kB / 392.2 MB, free: 3.598 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008426/0.312, allocations: 243.7 kB / 392.5 MB, free: 3.359 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003101/0.3124, allocations: 207.4 kB / 392.7 MB, free: 3.156 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.3126, allocations: 169.3 kB / 392.8 MB, free: 2.984 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.3139, allocations: 0.78 MB / 393.6 MB, free: 2.203 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.909e-06/0.3139, allocations: 0 / 393.6 MB, free: 2.203 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.371e-06/0.3139, allocations: 0 / 393.6 MB, free: 2.203 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.3139, allocations: 4 kB / 393.6 MB, free: 2.199 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002079/0.316, allocations: 0.9075 MB / 394.5 MB, free: 1.242 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3161, allocations: 12.03 kB / 394.5 MB, free: 1.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004389/0.3165, allocations: 87.14 kB / 394.6 MB, free: 1.145 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.3175, allocations: 0.4927 MB / 395.1 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.3177, allocations: 104.4 kB / 395.2 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.3178, allocations: 51.95 kB / 395.3 MB, free: 456 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.3195, allocations: 0.8304 MB / 396.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.3196, allocations: 0 / 396.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.3197, allocations: 27.98 kB / 396.1 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-05/0.3198, allocations: 44.97 kB / 396.2 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.3213, allocations: 0.6399 MB / 396.8 MB, free: 14.83 MB / 330.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.006187/0.3275, allocations: 4.336 MB / 401.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008344/0.3284, allocations: 335.4 kB / 401.5 MB, free: 9.848 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002749/0.3311, allocations: 1.804 MB / 403.3 MB, free: 7.797 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.539e-05/0.3312, allocations: 42.56 kB / 403.3 MB, free: 7.746 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 2.806e-06/0.3312, allocations: 0 / 403.3 MB, free: 7.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.003834/0.3351, allocations: 1.219 MB / 404.5 MB, free: 6.473 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.298e-05/0.3352, allocations: 136.5 kB / 404.7 MB, free: 6.309 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.3362, allocations: 0.625 MB / 405.3 MB, free: 5.672 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.3363, allocations: 33.7 kB / 405.3 MB, free: 5.633 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.3367, allocations: 448.3 kB / 405.8 MB, free: 5.191 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.3368, allocations: 126.4 kB / 405.9 MB, free: 5.066 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.3369, allocations: 19.94 kB / 405.9 MB, free: 5.047 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.3371, allocations: 342.8 kB / 406.2 MB, free: 4.703 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.3375, allocations: 173.9 kB / 406.4 MB, free: 4.535 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007796/0.3383, allocations: 0.5811 MB / 407 MB, free: 3.758 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006138/0.3389, allocations: 299.7 kB / 407.3 MB, free: 3.465 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.286e-06/0.3389, allocations: 4 kB / 407.3 MB, free: 3.461 MB / 330.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001638/0.3406, allocations: 0.7427 MB / 408 MB, free: 2.711 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.3406, allocations: 13 kB / 408 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.3407, allocations: 15.98 kB / 408.1 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.987e-05/0.3407, allocations: 27.95 kB / 408.1 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.3418, allocations: 207.7 kB / 408.3 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.509e-05/0.3419, allocations: 31.86 kB / 408.3 MB, free: 2.422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006743/0.3426, allocations: 39.98 kB / 408.4 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.35e-05/0.3427, allocations: 44 kB / 408.4 MB, free: 2.34 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 95 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004438/0.3431, allocations: 261.4 kB / 408.7 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.3433, allocations: 71.09 kB / 408.7 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.3443, allocations: 434.9 kB / 409.2 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.3444, allocations: 7.953 kB / 409.2 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.3444, allocations: 7.984 kB / 409.2 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.25e-06/0.3444, allocations: 0 / 409.2 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.3467, allocations: 1.237 MB / 410.4 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.223e-06/0.3467, allocations: 0 / 410.4 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/0.3471, allocations: 71.91 kB / 410.5 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002688/0.3474, allocations: 45.23 kB / 410.5 MB, free: 80 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.738e-05/0.3474, allocations: 8 kB / 410.5 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005649/0.348, allocations: 0.5679 MB / 411.1 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.3481, allocations: 4 kB / 411.1 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.3493, allocations: 0.6898 MB / 411.8 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/0.3496, allocations: 184.5 kB / 412 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.3498, allocations: 15.98 kB / 412 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005039/0.3503, allocations: 28.05 kB / 412 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.3504, allocations: 31.86 kB / 412 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-05/0.3504, allocations: 23.98 kB / 412.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007107/0.3512, allocations: 427 kB / 412.5 MB, free: 14.01 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.86e-07/0.3512, allocations: 0 / 412.5 MB, free: 14.01 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001056/0.3523, allocations: 199.9 kB / 412.7 MB, free: 13.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005314/0.3528, allocations: 232.2 kB / 412.9 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.3538, allocations: 470.4 kB / 413.4 MB, free: 13.13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.09e-06/0.3538, allocations: 0 / 413.4 MB, free: 13.13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004817/0.3543, allocations: 167.8 kB / 413.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.3559, allocations: 274.4 kB / 413.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.3585, allocations: 1.549 MB / 415.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007707/0.3593, allocations: 0.9453 MB / 416.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.3596, allocations: 59.42 kB / 416.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.622e-06/0.3596, allocations: 0 / 416.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of Templates: time 0.0219/0.3815, allocations: 11.85 MB / 428.2 MB, free: 14.23 MB / 362.7 MB