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.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadModel(ModelicaTest): time 2.376/2.376, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004367/0.0004369, allocations: 12 kB / 314.3 MB, free: 9.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2797, allocations: 54.87 MB / 369.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4822/0.7619, allocations: 145.6 MB / 0.5027 GB, free: 12.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01425/0.7762, allocations: 9.162 MB / 0.5117 GB, free: 10.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008595/0.7771, allocations: 22.12 kB / 0.5117 GB, free: 10.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009259/0.778, allocations: 270.4 kB / 0.512 GB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006515/0.7845, allocations: 1.835 MB / 0.5138 GB, free: 10.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002921/0.7875, allocations: 0.7964 MB / 0.5145 GB, free: 9.879 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002071/0.7896, allocations: 1.034 MB / 0.5155 GB, free: 9.711 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006612/0.7903, allocations: 363.6 kB / 0.5159 GB, free: 9.582 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.792, allocations: 0.6827 MB / 0.5166 GB, free: 9.402 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006334/0.7927, allocations: 381 kB / 0.5169 GB, free: 9.281 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.455e-05/0.7928, allocations: 26.28 kB / 0.5169 GB, free: 9.281 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/0.7962, allocations: 1.244 MB / 0.5182 GB, free: 8.996 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002458/0.7965, allocations: 140.3 kB / 0.5183 GB, free: 8.941 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003061/0.7968, allocations: 159.3 kB / 0.5184 GB, free: 8.891 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002421/0.7993, allocations: 1.138 MB / 0.5196 GB, free: 8.387 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.038e-06/0.7993, allocations: 3.062 kB / 0.5196 GB, free: 8.387 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.271e-06/0.7993, allocations: 2.875 kB / 0.5196 GB, free: 8.387 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.7993, allocations: 0 / 0.5196 GB, free: 8.387 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002264/0.8016, allocations: 0.9749 MB / 0.5205 GB, free: 7.668 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.8017, allocations: 7.812 kB / 0.5205 GB, free: 7.668 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.8031, allocations: 156 kB / 0.5207 GB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009846/0.8041, allocations: 476.3 kB / 0.5211 GB, free: 7.281 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.8042, allocations: 39.55 kB / 0.5212 GB, free: 7.277 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.005e-05/0.8043, allocations: 41.88 kB / 0.5212 GB, free: 7.277 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.8057, allocations: 0.6288 MB / 0.5218 GB, free: 7.012 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.8058, allocations: 6.406 kB / 0.5218 GB, free: 7.008 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.434e-05/0.8059, allocations: 29.22 kB / 0.5219 GB, free: 7.004 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.8059, allocations: 10.25 kB / 0.5219 GB, free: 7.004 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.8071, allocations: 494.3 kB / 0.5223 GB, free: 6.918 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.003812/0.8109, allocations: 2.601 MB / 0.5249 GB, free: 4.914 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/0.8118, allocations: 314.9 kB / 0.5252 GB, free: 4.844 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004709/0.8123, allocations: 331.8 kB / 0.5255 GB, free: 4.539 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.8123, allocations: 36.62 kB / 0.5255 GB, free: 4.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.427e-06/0.8124, allocations: 0 / 0.5255 GB, free: 4.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.002043/0.8144, allocations: 0.6798 MB / 0.5262 GB, free: 4.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.8146, allocations: 159.1 kB / 0.5263 GB, free: 4.062 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006565/0.8152, allocations: 448.7 kB / 0.5268 GB, free: 3.875 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.541e-05/0.8153, allocations: 34.23 kB / 0.5268 GB, free: 3.844 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.8156, allocations: 366 kB / 0.5272 GB, free: 3.578 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.8158, allocations: 129.8 kB / 0.5273 GB, free: 3.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.8158, allocations: 12.62 kB / 0.5273 GB, free: 3.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.816, allocations: 333.2 kB / 0.5276 GB, free: 3.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.8164, allocations: 140.1 kB / 0.5277 GB, free: 3.137 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/0.8169, allocations: 371.9 kB / 0.5281 GB, free: 2.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.8174, allocations: 194.6 kB / 0.5283 GB, free: 2.816 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.502e-06/0.8174, allocations: 2.625 kB / 0.5283 GB, free: 2.816 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001321/0.8188, allocations: 0.5689 MB / 0.5288 GB, free: 2.664 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.8188, allocations: 12.72 kB / 0.5288 GB, free: 2.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.8188, allocations: 11.28 kB / 0.5289 GB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/0.8208, allocations: 289.3 kB / 0.5291 GB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005204/0.8213, allocations: 130.4 kB / 0.5293 GB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006299/0.822, allocations: 0.5979 MB / 0.5298 GB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/0.8225, allocations: 64.48 kB / 0.5299 GB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.8226, allocations: 56.33 kB / 0.53 GB, free: 1.953 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (60): * Single equations (assignments): 59 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003622/0.823, allocations: 203.6 kB / 0.5302 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.8232, allocations: 53.58 kB / 0.5302 GB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.8254, allocations: 0.7101 MB / 0.5309 GB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.8255, allocations: 6.766 kB / 0.5309 GB, free: 1.547 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8255, allocations: 2.5 kB / 0.5309 GB, free: 1.547 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.8255, allocations: 3.984 kB / 0.5309 GB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00278/0.8283, allocations: 1.555 MB / 0.5324 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.04e-06/0.8283, allocations: 4.141 kB / 0.5324 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/0.8287, allocations: 74.41 kB / 0.5325 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003792/0.8325, allocations: 0.5396 MB / 0.533 GB, free: 404 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.285e-05/0.8326, allocations: 16.78 kB / 0.533 GB, free: 404 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006681/0.8333, allocations: 0.5968 MB / 0.5336 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.166e-06/0.8333, allocations: 2.625 kB / 0.5336 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.8345, allocations: 0.6212 MB / 0.5342 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.8347, allocations: 139.9 kB / 0.5344 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.8348, allocations: 11.38 kB / 0.5344 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.8353, allocations: 24.33 kB / 0.5344 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.034e-05/0.8354, allocations: 43.91 kB / 0.5344 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/0.8354, allocations: 30.09 kB / 0.5345 GB, free: 15.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004918/0.8359, allocations: 315.6 kB / 0.5348 GB, free: 15.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.54e-07/0.836, allocations: 2.781 kB / 0.5348 GB, free: 15.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001223/0.8372, allocations: 336.2 kB / 0.5351 GB, free: 15.19 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (37): * Single equations (assignments): 36 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001245/0.8384, allocations: 479.6 kB / 0.5356 GB, free: 14.97 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.8395, allocations: 423.9 kB / 0.536 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.757e-06/0.8396, allocations: 0 / 0.536 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004904/0.8401, allocations: 209.2 kB / 0.5362 GB, free: 14.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.8417, allocations: 270.7 kB / 0.5364 GB, free: 14.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.844, allocations: 1.237 MB / 0.5376 GB, free: 13.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006268/0.8446, allocations: 0.8812 MB / 0.5385 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005117/0.8452, allocations: 106.1 kB / 0.5386 GB, free: 13.12 MB / 426.7 MB Notification: Performance of SimCode: time 1.608e-06/0.8452, allocations: 0 / 0.5386 GB, free: 13.12 MB / 426.7 MB Notification: Performance of Templates: time 0.02702/0.8722, allocations: 14.33 MB / 0.5526 GB, free: 15.04 MB / 442.7 MB