Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.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.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") Notification: Performance of loadModel(ModelicaTest): time 2.213/2.213, allocations: 234.9 MB / 250.5 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004296/0.0004299, allocations: 12 kB / 314.3 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2778, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4799/0.7577, allocations: 146.7 MB / 0.5038 GB, free: 12.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007239/0.765, allocations: 4.274 MB / 0.5079 GB, free: 11.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007834/0.7658, allocations: 28.44 kB / 0.508 GB, free: 11.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008863/0.7667, allocations: 236.2 kB / 0.5082 GB, free: 11.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004121/0.7709, allocations: 1.114 MB / 0.5093 GB, free: 10.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.773, allocations: 0.5425 MB / 0.5098 GB, free: 10.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001676/0.7747, allocations: 0.8746 MB / 0.5107 GB, free: 10.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00063/0.7753, allocations: 343 kB / 0.511 GB, free: 10.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.7764, allocations: 496.5 kB / 0.5115 GB, free: 10.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004702/0.7769, allocations: 301.9 kB / 0.5118 GB, free: 10.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.364e-05/0.777, allocations: 27.94 kB / 0.5118 GB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/0.7793, allocations: 0.8005 MB / 0.5126 GB, free: 10.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.7795, allocations: 117 kB / 0.5127 GB, free: 10.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.7798, allocations: 142.1 kB / 0.5128 GB, free: 9.965 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.7816, allocations: 0.8875 MB / 0.5137 GB, free: 9.543 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.582e-06/0.7816, allocations: 0 / 0.5137 GB, free: 9.543 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.349e-06/0.7816, allocations: 0 / 0.5137 GB, free: 9.543 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.7817, allocations: 0 / 0.5137 GB, free: 9.543 MB / 410.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.002053/0.7837, allocations: 0.8795 MB / 0.5145 GB, free: 8.883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.7838, allocations: 14.44 kB / 0.5146 GB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.7851, allocations: 136.5 kB / 0.5147 GB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000926/0.786, allocations: 451.8 kB / 0.5151 GB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/0.7861, allocations: 35.31 kB / 0.5151 GB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.392e-05/0.7862, allocations: 36.81 kB / 0.5152 GB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.7875, allocations: 0.5462 MB / 0.5157 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.7875, allocations: 0 / 0.5157 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-05/0.7876, allocations: 21.09 kB / 0.5157 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.7876, allocations: 10.28 kB / 0.5157 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.7887, allocations: 407.4 kB / 0.5161 GB, free: 8.195 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.003685/0.7924, allocations: 2.537 MB / 0.5186 GB, free: 6.117 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007667/0.7932, allocations: 282.7 kB / 0.5189 GB, free: 6.051 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005702/0.7938, allocations: 333.4 kB / 0.5192 GB, free: 5.742 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.7939, allocations: 36.34 kB / 0.5192 GB, free: 5.703 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.543e-06/0.7939, allocations: 0 / 0.5192 GB, free: 5.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.002452/0.7963, allocations: 0.6713 MB / 0.5199 GB, free: 5.434 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.888e-05/0.7965, allocations: 141.8 kB / 0.52 GB, free: 5.273 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/0.797, allocations: 379.1 kB / 0.5204 GB, free: 5.109 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.201e-05/0.7971, allocations: 35.17 kB / 0.5204 GB, free: 5.078 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.7974, allocations: 333.3 kB / 0.5207 GB, free: 4.828 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.7975, allocations: 101.3 kB / 0.5208 GB, free: 4.754 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.7976, allocations: 9.906 kB / 0.5208 GB, free: 4.754 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.7977, allocations: 323.3 kB / 0.5212 GB, free: 4.438 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/0.7982, allocations: 151.1 kB / 0.5213 GB, free: 4.402 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005413/0.7987, allocations: 312.3 kB / 0.5216 GB, free: 4.164 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004621/0.7992, allocations: 188.8 kB / 0.5218 GB, free: 4.133 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.443e-06/0.7992, allocations: 3.188 kB / 0.5218 GB, free: 4.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001316/0.8005, allocations: 0.5222 MB / 0.5223 GB, free: 3.977 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.8006, allocations: 7.469 kB / 0.5223 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.8006, allocations: 2.812 kB / 0.5223 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002581/0.8032, allocations: 338 kB / 0.5226 GB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005377/0.8038, allocations: 116.6 kB / 0.5227 GB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009013/0.8047, allocations: 0.596 MB / 0.5233 GB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005633/0.8053, allocations: 59.97 kB / 0.5234 GB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.553e-05/0.8054, allocations: 52.39 kB / 0.5234 GB, free: 3.242 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.0003559/0.8058, allocations: 182 kB / 0.5236 GB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.8059, allocations: 50.83 kB / 0.5236 GB, free: 3.086 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.8082, allocations: 0.6765 MB / 0.5243 GB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.105e-06/0.8083, allocations: 2.812 kB / 0.5243 GB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.413e-06/0.8083, allocations: 0 / 0.5243 GB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.583e-06/0.8083, allocations: 7.094 kB / 0.5243 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.8106, allocations: 1.121 MB / 0.5254 GB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.287e-06/0.8107, allocations: 2.875 kB / 0.5254 GB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.811, allocations: 61.91 kB / 0.5255 GB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002039/0.813, allocations: 293.9 kB / 0.5257 GB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/0.8131, allocations: 19.62 kB / 0.5258 GB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006215/0.8137, allocations: 0.5728 MB / 0.5263 GB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.833e-06/0.8138, allocations: 5.875 kB / 0.5263 GB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.8149, allocations: 0.5113 MB / 0.5268 GB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.8152, allocations: 145 kB / 0.527 GB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.8153, allocations: 7.25 kB / 0.527 GB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/0.8157, allocations: 36.84 kB / 0.527 GB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/0.8158, allocations: 27.66 kB / 0.527 GB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-05/0.8159, allocations: 16.38 kB / 0.5271 GB, free: 1.035 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004734/0.8164, allocations: 300.5 kB / 0.5273 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.66e-07/0.8164, allocations: 0 / 0.5273 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001062/0.8174, allocations: 270.4 kB / 0.5276 GB, free: 0.8594 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.0009776/0.8184, allocations: 365 kB / 0.5279 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.8198, allocations: 376.1 kB / 0.5283 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.475e-06/0.8198, allocations: 2.781 kB / 0.5283 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000479/0.8203, allocations: 166.8 kB / 0.5285 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.8217, allocations: 231.5 kB / 0.5287 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.8238, allocations: 1.095 MB / 0.5298 GB, free: 15.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006211/0.8245, allocations: 0.8606 MB / 0.5306 GB, free: 14.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004676/0.825, allocations: 94.3 kB / 0.5307 GB, free: 14.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.743e-06/0.825, allocations: 4 kB / 0.5307 GB, free: 14.96 MB / 426.7 MB Notification: Performance of Templates: time 0.0229/0.8479, allocations: 12.25 MB / 0.5427 GB, free: 5.547 MB / 426.7 MB