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.Incompressible.Glycol47.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadModel(ModelicaTest): time 2.039/2.039, allocations: 209.3 MB / 224.8 MB, free: 208 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004466/0.0004468, allocations: 19.98 kB / 282.5 MB, free: 9.617 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3364, allocations: 48.7 MB / 331.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.02661/0.363, allocations: 17.14 MB / 348.3 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01212/0.3752, allocations: 5.768 MB / 354.1 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.3764, allocations: 26.62 kB / 354.1 MB, free: 5.484 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.3775, allocations: 253.1 kB / 354.4 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005269/0.3827, allocations: 1.422 MB / 355.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004296/0.3871, allocations: 1.199 MB / 357 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002385/0.3895, allocations: 1.177 MB / 358.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007872/0.3903, allocations: 399.1 kB / 358.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005972/0.3963, allocations: 2.598 MB / 361.2 MB, free: 496 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002331/0.3987, allocations: 1.041 MB / 362.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.3989, allocations: 28 kB / 362.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003305/0.4022, allocations: 1.174 MB / 363.4 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004272/0.4027, allocations: 227.4 kB / 363.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003426/0.403, allocations: 161.3 kB / 363.8 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002282/0.4053, allocations: 1.002 MB / 364.8 MB, free: 12.85 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4053, allocations: 0 / 364.8 MB, free: 12.85 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.371e-06/0.4054, allocations: 0 / 364.8 MB, free: 12.85 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.4054, allocations: 4 kB / 364.8 MB, free: 12.84 MB / 298.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.002431/0.4078, allocations: 0.9971 MB / 365.8 MB, free: 11.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.4079, allocations: 8.031 kB / 365.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.4091, allocations: 139 kB / 365.9 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.4103, allocations: 0.4966 MB / 366.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.4104, allocations: 104.4 kB / 366.5 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.4106, allocations: 48 kB / 366.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.4126, allocations: 0.8394 MB / 367.4 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.4126, allocations: 4 kB / 367.4 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.4128, allocations: 27.95 kB / 367.5 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.178e-05/0.4128, allocations: 40.92 kB / 367.5 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.4146, allocations: 0.6009 MB / 368.1 MB, free: 9.359 MB / 298.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.007254/0.4219, allocations: 4.621 MB / 372.7 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.4229, allocations: 313 kB / 373 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003949/0.4233, allocations: 348.6 kB / 373.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.4234, allocations: 30.56 kB / 373.4 MB, free: 3.609 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 4.189e-06/0.4234, allocations: 0 / 373.4 MB, free: 3.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.00559/0.429, allocations: 1.498 MB / 374.9 MB, free: 2.031 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.506e-05/0.4291, allocations: 132.5 kB / 375 MB, free: 1.871 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.4303, allocations: 0.6406 MB / 375.7 MB, free: 1.219 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.844e-05/0.4304, allocations: 37.7 kB / 375.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003902/0.4308, allocations: 440.6 kB / 376.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.4309, allocations: 126.2 kB / 376.3 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.431, allocations: 16 kB / 376.3 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.4312, allocations: 342.8 kB / 376.6 MB, free: 264 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005193/0.4317, allocations: 201.9 kB / 376.8 MB, free: 64 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008403/0.4326, allocations: 0.5348 MB / 377.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007008/0.4333, allocations: 289.7 kB / 377.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.4333, allocations: 4 kB / 377.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002129/0.4355, allocations: 0.8588 MB / 378.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.4355, allocations: 12 kB / 378.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.4356, allocations: 12 kB / 378.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/0.4374, allocations: 289.4 kB / 378.8 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005663/0.438, allocations: 135.8 kB / 378.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.4398, allocations: 1.375 MB / 380.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008088/0.4406, allocations: 36.03 kB / 380.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.4408, allocations: 55.98 kB / 380.4 MB, free: 12.25 MB / 314.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 () * Number of clocked 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.0004934/0.4413, allocations: 241.5 kB / 380.6 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.4415, allocations: 71.23 kB / 380.7 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.4435, allocations: 0.6205 MB / 381.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.4436, allocations: 7.984 kB / 381.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.231e-06/0.4436, allocations: 0 / 381.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.419e-06/0.4436, allocations: 0 / 381.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/0.4465, allocations: 1.196 MB / 382.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.777e-06/0.4465, allocations: 0 / 382.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.4468, allocations: 39.92 kB / 382.6 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/0.448, allocations: 209.5 kB / 382.8 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.968e-05/0.4481, allocations: 11.95 kB / 382.8 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/0.4497, allocations: 1.304 MB / 384.1 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.561e-06/0.4498, allocations: 96 / 384.1 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.4518, allocations: 0.7827 MB / 384.9 MB, free: 7.594 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004816/0.4524, allocations: 192.2 kB / 385 MB, free: 7.387 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.4525, allocations: 15.95 kB / 385.1 MB, free: 7.371 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005143/0.453, allocations: 19.98 kB / 385.1 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/0.4531, allocations: 23.97 kB / 385.1 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.06e-05/0.4532, allocations: 28.05 kB / 385.1 MB, free: 7.301 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008559/0.4541, allocations: 439 kB / 385.6 MB, free: 6.875 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.63e-07/0.4541, allocations: 3.938 kB / 385.6 MB, free: 6.871 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001287/0.4554, allocations: 275.9 kB / 385.8 MB, free: 6.602 MB / 314.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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.001003/0.4564, allocations: 338.6 kB / 386.2 MB, free: 6.262 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.458, allocations: 0.5054 MB / 386.7 MB, free: 5.758 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.905e-06/0.458, allocations: 0 / 386.7 MB, free: 5.758 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006943/0.4587, allocations: 220 kB / 386.9 MB, free: 5.539 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/0.4605, allocations: 290.2 kB / 387.2 MB, free: 5.262 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.4637, allocations: 1.53 MB / 388.7 MB, free: 3.695 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007687/0.4645, allocations: 0.938 MB / 389.6 MB, free: 2.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/0.4648, allocations: 75.41 kB / 389.7 MB, free: 2.656 MB / 314.7 MB Notification: Performance of SimCode: time 1.635e-06/0.4649, allocations: 0 / 389.7 MB, free: 2.656 MB / 314.7 MB Notification: Performance of Templates: time 0.03188/0.4967, allocations: 17.07 MB / 406.8 MB, free: 1.613 MB / 330.7 MB