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.Orifices.ThickEdgedOrifice.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.Orifices.ThickEdgedOrifice,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.Orifices.ThickEdgedOrifice") Notification: Performance of loadModel(ModelicaTest): time 2.248/2.248, allocations: 234.9 MB / 250.5 MB, free: 10.45 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004378, allocations: 12 kB / 314.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.279, allocations: 54.87 MB / 369.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.483/0.7621, allocations: 146.8 MB / 0.5039 GB, free: 12.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.7725, allocations: 6.671 MB / 0.5105 GB, free: 10.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007071/0.7732, allocations: 28.31 kB / 0.5105 GB, free: 10.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009335/0.7742, allocations: 248.6 kB / 0.5107 GB, free: 10.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00465/0.7788, allocations: 1.281 MB / 0.512 GB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002452/0.7813, allocations: 0.5995 MB / 0.5126 GB, free: 10.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002148/0.7835, allocations: 0.9373 MB / 0.5135 GB, free: 10.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007665/0.7843, allocations: 349.1 kB / 0.5138 GB, free: 10.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.7856, allocations: 0.5002 MB / 0.5143 GB, free: 9.902 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005452/0.7861, allocations: 328.5 kB / 0.5146 GB, free: 9.789 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.698e-05/0.7863, allocations: 26.25 kB / 0.5146 GB, free: 9.789 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003128/0.7894, allocations: 1.177 MB / 0.5158 GB, free: 9.512 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.7897, allocations: 129 kB / 0.5159 GB, free: 9.461 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.79, allocations: 146.6 kB / 0.516 GB, free: 9.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002224/0.7922, allocations: 1.066 MB / 0.5171 GB, free: 8.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.284e-06/0.7922, allocations: 0 / 0.5171 GB, free: 8.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.347e-06/0.7922, allocations: 0 / 0.5171 GB, free: 8.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.7923, allocations: 4 kB / 0.5171 GB, free: 8.926 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002075/0.7944, allocations: 0.9362 MB / 0.518 GB, free: 8.227 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.7944, allocations: 10.25 kB / 0.518 GB, free: 8.227 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.7957, allocations: 148.1 kB / 0.5182 GB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009249/0.7966, allocations: 476.2 kB / 0.5186 GB, free: 7.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/0.7967, allocations: 34.47 kB / 0.5186 GB, free: 7.836 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.02e-05/0.7968, allocations: 38.75 kB / 0.5187 GB, free: 7.836 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.7982, allocations: 0.5903 MB / 0.5193 GB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.7982, allocations: 6.688 kB / 0.5193 GB, free: 7.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-05/0.7983, allocations: 24.8 kB / 0.5193 GB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.7983, allocations: 10.78 kB / 0.5193 GB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.7995, allocations: 479.9 kB / 0.5198 GB, free: 7.5 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.003884/0.8034, allocations: 2.643 MB / 0.5223 GB, free: 5.391 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.8046, allocations: 329.2 kB / 0.5226 GB, free: 5.324 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004553/0.805, allocations: 331.9 kB / 0.523 GB, free: 5.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.8051, allocations: 36.03 kB / 0.523 GB, free: 4.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 4.042e-06/0.8051, allocations: 7.875 kB / 0.523 GB, free: 4.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002468/0.8076, allocations: 0.7169 MB / 0.5237 GB, free: 4.715 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.51e-05/0.8077, allocations: 133.5 kB / 0.5238 GB, free: 4.559 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006359/0.8084, allocations: 425.4 kB / 0.5242 GB, free: 4.391 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.47e-05/0.8085, allocations: 34.55 kB / 0.5243 GB, free: 4.359 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.8087, allocations: 338.1 kB / 0.5246 GB, free: 4.109 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.8089, allocations: 125.3 kB / 0.5247 GB, free: 4.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.8089, allocations: 8.438 kB / 0.5247 GB, free: 4.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.8091, allocations: 327.5 kB / 0.525 GB, free: 3.703 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/0.8095, allocations: 153.8 kB / 0.5252 GB, free: 3.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005421/0.8101, allocations: 333.7 kB / 0.5255 GB, free: 3.434 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000465/0.8106, allocations: 200.6 kB / 0.5257 GB, free: 3.402 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.073e-06/0.8106, allocations: 2.844 kB / 0.5257 GB, free: 3.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001327/0.8119, allocations: 0.5488 MB / 0.5262 GB, free: 3.254 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.812, allocations: 8.438 kB / 0.5262 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.812, allocations: 6.734 kB / 0.5262 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001904/0.8139, allocations: 292.9 kB / 0.5265 GB, free: 3.148 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.8144, allocations: 123.5 kB / 0.5266 GB, free: 3.121 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000667/0.8151, allocations: 0.6054 MB / 0.5272 GB, free: 2.574 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005042/0.8156, allocations: 59.8 kB / 0.5273 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-05/0.8157, allocations: 51.8 kB / 0.5273 GB, free: 2.543 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 (51): * Single equations (assignments): 50 * 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.0003465/0.8161, allocations: 183.4 kB / 0.5275 GB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.8162, allocations: 54.45 kB / 0.5276 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/0.8185, allocations: 0.7341 MB / 0.5283 GB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.8186, allocations: 5.469 kB / 0.5283 GB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.803e-06/0.8186, allocations: 0 / 0.5283 GB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.565e-06/0.8186, allocations: 0 / 0.5283 GB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.8211, allocations: 1.23 MB / 0.5295 GB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.959e-06/0.8211, allocations: 2.938 kB / 0.5295 GB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.8214, allocations: 66 kB / 0.5296 GB, free: 1.406 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003865/0.8253, allocations: 0.541 MB / 0.5301 GB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.865e-05/0.8254, allocations: 13.12 kB / 0.5301 GB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006644/0.8261, allocations: 0.6071 MB / 0.5307 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.802e-06/0.8261, allocations: 1.969 kB / 0.5307 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.8273, allocations: 0.5645 MB / 0.5312 GB, free: 396 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.8275, allocations: 143.4 kB / 0.5314 GB, free: 256 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.8276, allocations: 12.02 kB / 0.5314 GB, free: 252 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.828, allocations: 32.61 kB / 0.5314 GB, free: 244 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.152e-05/0.8281, allocations: 33.45 kB / 0.5314 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.872e-05/0.8282, allocations: 16.91 kB / 0.5315 GB, free: 228 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005324/0.8287, allocations: 326.8 kB / 0.5318 GB, free: 92 kB / 410.7 MB Notification: Performance of sort global known variables: time 9.4e-07/0.8288, allocations: 2.625 kB / 0.5318 GB, free: 92 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.00119/0.83, allocations: 328.1 kB / 0.5321 GB, free: 28 kB / 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 (30): * Single equations (assignments): 29 * 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.001249/0.8312, allocations: 445.6 kB / 0.5325 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.8324, allocations: 408.6 kB / 0.5329 GB, free: 15.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.586e-06/0.8324, allocations: 1.312 kB / 0.5329 GB, free: 15.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005147/0.8329, allocations: 192.6 kB / 0.5331 GB, free: 15.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.8344, allocations: 240.5 kB / 0.5333 GB, free: 15.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.8366, allocations: 1.138 MB / 0.5344 GB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006528/0.8373, allocations: 0.8749 MB / 0.5353 GB, free: 14.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004821/0.8378, allocations: 97.28 kB / 0.5354 GB, free: 14.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.867e-06/0.8378, allocations: 3.938 kB / 0.5354 GB, free: 14.06 MB / 426.7 MB Notification: Performance of Templates: time 0.02636/0.8641, allocations: 13.84 MB / 0.5489 GB, free: 1.398 MB / 426.7 MB