Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") Notification: Performance of loadModel(ModelicaTest): time 1.891/1.891, allocations: 209.3 MB / 224.8 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007662/0.0007665, allocations: 8 kB / 282.5 MB, free: 9.629 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3031, allocations: 48.71 MB / 331.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4872/0.7904, allocations: 146.6 MB / 477.8 MB, free: 2.945 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007238/0.7977, allocations: 4.266 MB / 482.1 MB, free: 2.898 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006162/0.7984, allocations: 22.69 kB / 482.1 MB, free: 2.898 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008239/0.7992, allocations: 233.1 kB / 482.3 MB, free: 2.898 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003854/0.8031, allocations: 1.122 MB / 483.5 MB, free: 2.867 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.8051, allocations: 0.5288 MB / 484 MB, free: 2.859 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001691/0.8068, allocations: 0.8752 MB / 484.9 MB, free: 2.859 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006053/0.8075, allocations: 347.8 kB / 485.2 MB, free: 2.82 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.8085, allocations: 493.6 kB / 485.7 MB, free: 2.82 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004777/0.809, allocations: 304.8 kB / 486 MB, free: 2.82 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.545e-05/0.8091, allocations: 27.94 kB / 486 MB, free: 2.816 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.8116, allocations: 0.8017 MB / 486.8 MB, free: 2.816 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.8118, allocations: 118.1 kB / 486.9 MB, free: 2.816 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.8121, allocations: 147.9 kB / 487.1 MB, free: 2.781 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.8138, allocations: 0.88 MB / 488 MB, free: 2.715 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.892e-06/0.8138, allocations: 0.9688 kB / 488 MB, free: 2.715 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.8138, allocations: 0 / 488 MB, free: 2.715 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.8139, allocations: 1.859 kB / 488 MB, free: 2.715 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002079/0.816, allocations: 0.8835 MB / 488.8 MB, free: 18.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.816, allocations: 10.47 kB / 488.9 MB, free: 18.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.8173, allocations: 145.8 kB / 489 MB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008403/0.8181, allocations: 446 kB / 489.4 MB, free: 17.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.8182, allocations: 29.16 kB / 489.5 MB, free: 17.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.134e-05/0.8183, allocations: 41.81 kB / 489.5 MB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.8196, allocations: 0.5488 MB / 490.1 MB, free: 17.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.8196, allocations: 0.5625 kB / 490.1 MB, free: 17.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.923e-05/0.8197, allocations: 20.97 kB / 490.1 MB, free: 17.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.8197, allocations: 9.844 kB / 490.1 MB, free: 17.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.8209, allocations: 416.1 kB / 490.5 MB, free: 17.71 MB / 410.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.003413/0.8243, allocations: 2.517 MB / 493 MB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007096/0.825, allocations: 289 kB / 493.3 MB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005728/0.8256, allocations: 334.2 kB / 493.6 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.8257, allocations: 43.53 kB / 493.7 MB, free: 15.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.676e-06/0.8257, allocations: 0 / 493.7 MB, free: 15.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.002402/0.8281, allocations: 0.6625 MB / 494.3 MB, free: 15.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.962e-05/0.8282, allocations: 137.5 kB / 494.5 MB, free: 15.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005157/0.8288, allocations: 383.3 kB / 494.8 MB, free: 15.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.435e-05/0.8288, allocations: 32.17 kB / 494.9 MB, free: 15.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.8291, allocations: 342.3 kB / 495.2 MB, free: 14.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.684e-05/0.8292, allocations: 94.47 kB / 495.3 MB, free: 14.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.8292, allocations: 9.344 kB / 495.3 MB, free: 14.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.8294, allocations: 330.2 kB / 495.6 MB, free: 14.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.8298, allocations: 141.6 kB / 495.8 MB, free: 14.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/0.8302, allocations: 314.6 kB / 496.1 MB, free: 14.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004736/0.8307, allocations: 193.7 kB / 496.3 MB, free: 14.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.319e-06/0.8307, allocations: 2.438 kB / 496.3 MB, free: 14.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001239/0.832, allocations: 0.519 MB / 496.8 MB, free: 14.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.832, allocations: 9.516 kB / 496.8 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.8321, allocations: 9.344 kB / 496.8 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002493/0.8346, allocations: 333.6 kB / 497.1 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000485/0.8351, allocations: 114.8 kB / 497.2 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008422/0.8359, allocations: 0.5896 MB / 497.8 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005697/0.8365, allocations: 74.42 kB / 497.9 MB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.625e-05/0.8366, allocations: 48.5 kB / 497.9 MB, free: 13.63 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * 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 prepare postOptimizeDAE: time 0.0003368/0.837, allocations: 186.4 kB / 498.1 MB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.8371, allocations: 41.44 kB / 498.2 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/0.8393, allocations: 0.6832 MB / 498.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.8393, allocations: 5.781 kB / 498.9 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.009e-06/0.8393, allocations: 3.953 kB / 498.9 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.317e-06/0.8393, allocations: 6.281 kB / 498.9 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.8415, allocations: 1.123 MB / 500 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.505e-06/0.8415, allocations: 7.062 kB / 500 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.8418, allocations: 63.23 kB / 0.4883 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002068/0.8439, allocations: 292.1 kB / 0.4886 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.844, allocations: 14.52 kB / 0.4886 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005988/0.8446, allocations: 0.5703 MB / 0.4892 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.735e-06/0.8446, allocations: 7.078 kB / 0.4892 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.8457, allocations: 0.502 MB / 0.4897 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.8459, allocations: 140.4 kB / 0.4898 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.846, allocations: 8.219 kB / 0.4898 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004319/0.8465, allocations: 30.56 kB / 0.4898 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.8466, allocations: 32.97 kB / 0.4899 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.8466, allocations: 17.14 kB / 0.4899 GB, free: 11.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004362/0.8471, allocations: 300.2 kB / 0.4902 GB, free: 11.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.6e-07/0.8471, allocations: 0 / 0.4902 GB, free: 11.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001051/0.8481, allocations: 273.9 kB / 0.4904 GB, free: 11.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * 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 (27): * Single equations (assignments): 26 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009543/0.8491, allocations: 363.5 kB / 0.4908 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.8504, allocations: 381.2 kB / 0.4912 GB, free: 11.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.302e-06/0.8504, allocations: 6.812 kB / 0.4912 GB, free: 11.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004579/0.8509, allocations: 164.4 kB / 0.4913 GB, free: 11.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.8522, allocations: 225.1 kB / 0.4915 GB, free: 11.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.8539, allocations: 1.093 MB / 0.4926 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/0.8545, allocations: 0.8687 MB / 0.4934 GB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004366/0.8549, allocations: 88.53 kB / 0.4935 GB, free: 10.28 MB / 410.7 MB Notification: Performance of SimCode: time 1.467e-06/0.8549, allocations: 0 / 0.4935 GB, free: 10.28 MB / 410.7 MB Notification: Performance of Templates: time 0.02091/0.8759, allocations: 12.25 MB / 0.5055 GB, free: 5.297 MB / 410.7 MB