Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.255/2.255, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004213, allocations: 8 kB / 314.4 MB, free: 9.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3612, allocations: 54.87 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5656/0.9269, allocations: 145.6 MB / 0.5028 GB, free: 12.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01661/0.9435, allocations: 9.174 MB / 0.5118 GB, free: 10.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009127/0.9445, allocations: 24.91 kB / 0.5118 GB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.9458, allocations: 267.9 kB / 0.5121 GB, free: 10.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007893/0.9537, allocations: 1.832 MB / 0.5139 GB, free: 10.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003383/0.9571, allocations: 0.7905 MB / 0.5146 GB, free: 9.871 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002593/0.9597, allocations: 1.036 MB / 0.5156 GB, free: 9.703 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008286/0.9606, allocations: 366.8 kB / 0.516 GB, free: 9.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002362/0.963, allocations: 0.6746 MB / 0.5166 GB, free: 9.398 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.9641, allocations: 378.4 kB / 0.517 GB, free: 9.277 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.9643, allocations: 23.44 kB / 0.517 GB, free: 9.277 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00416/0.9684, allocations: 1.257 MB / 0.5183 GB, free: 8.988 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003287/0.9688, allocations: 133.5 kB / 0.5184 GB, free: 8.938 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003819/0.9692, allocations: 157.1 kB / 0.5185 GB, free: 8.887 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003101/0.9723, allocations: 1.141 MB / 0.5196 GB, free: 8.383 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.9723, allocations: 0 / 0.5196 GB, free: 8.383 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.529e-06/0.9724, allocations: 3.984 kB / 0.5196 GB, free: 8.379 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.9724, allocations: 2.906 kB / 0.5197 GB, free: 8.379 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.002679/0.9751, allocations: 0.9723 MB / 0.5206 GB, free: 7.664 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.9751, allocations: 7.656 kB / 0.5206 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001936/0.9753, allocations: 90.78 kB / 0.5207 GB, free: 7.613 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.9769, allocations: 154.5 kB / 0.5208 GB, free: 7.555 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.978, allocations: 481.7 kB / 0.5213 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.9781, allocations: 32.25 kB / 0.5213 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.9782, allocations: 41.91 kB / 0.5214 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.9799, allocations: 0.6392 MB / 0.522 GB, free: 6.949 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.9799, allocations: 0 / 0.522 GB, free: 6.949 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-05/0.9801, allocations: 32.48 kB / 0.522 GB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.9801, allocations: 10.78 kB / 0.522 GB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.9814, allocations: 493.7 kB / 0.5225 GB, free: 6.859 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.004488/0.986, allocations: 2.602 MB / 0.525 GB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009989/0.987, allocations: 314 kB / 0.5253 GB, free: 4.777 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005083/0.9875, allocations: 325.8 kB / 0.5257 GB, free: 4.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.9876, allocations: 36.34 kB / 0.5257 GB, free: 4.441 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.404e-06/0.9876, allocations: 0 / 0.5257 GB, free: 4.441 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.002321/0.9899, allocations: 0.685 MB / 0.5264 GB, free: 4.191 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.9901, allocations: 161.2 kB / 0.5265 GB, free: 4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007393/0.9908, allocations: 452.8 kB / 0.5269 GB, free: 3.809 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.719e-05/0.9909, allocations: 38.86 kB / 0.527 GB, free: 3.773 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.9912, allocations: 360.1 kB / 0.5273 GB, free: 3.508 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.9913, allocations: 127.2 kB / 0.5275 GB, free: 3.418 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.9914, allocations: 13.56 kB / 0.5275 GB, free: 3.414 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.9916, allocations: 326.6 kB / 0.5278 GB, free: 3.098 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004173/0.992, allocations: 144.7 kB / 0.5279 GB, free: 3.074 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006156/0.9926, allocations: 373.4 kB / 0.5283 GB, free: 2.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005238/0.9932, allocations: 194.4 kB / 0.5285 GB, free: 2.746 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.9932, allocations: 2.875 kB / 0.5285 GB, free: 2.746 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001513/0.9947, allocations: 0.5734 MB / 0.529 GB, free: 2.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.9947, allocations: 12.69 kB / 0.529 GB, free: 2.586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.9948, allocations: 7.25 kB / 0.529 GB, free: 2.586 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002625/0.9974, allocations: 285.3 kB / 0.5293 GB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007964/0.9982, allocations: 137.3 kB / 0.5294 GB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006347/0.9989, allocations: 0.5892 MB / 0.53 GB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006798/0.9996, allocations: 63.73 kB / 0.5301 GB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.9997, allocations: 64.91 kB / 0.5301 GB, free: 1.883 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.0003995/1, allocations: 194 kB / 0.5303 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/1, allocations: 55.67 kB / 0.5304 GB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/1.003, allocations: 0.7162 MB / 0.5311 GB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/1.003, allocations: 8.844 kB / 0.5311 GB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.003, allocations: 0 / 0.5311 GB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.003, allocations: 0 / 0.5311 GB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003186/1.006, allocations: 1.556 MB / 0.5326 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/1.006, allocations: 2.375 kB / 0.5326 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004659/1.007, allocations: 78.67 kB / 0.5327 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005889/1.013, allocations: 0.5318 MB / 0.5332 GB, free: 336 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.881e-05/1.013, allocations: 20.45 kB / 0.5332 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006662/1.013, allocations: 0.5953 MB / 0.5338 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/1.013, allocations: 2.781 kB / 0.5338 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/1.015, allocations: 0.6164 MB / 0.5344 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/1.015, allocations: 142.2 kB / 0.5345 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/1.015, allocations: 14.41 kB / 0.5346 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004786/1.016, allocations: 26.86 kB / 0.5346 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/1.016, allocations: 43.88 kB / 0.5346 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.411e-05/1.016, allocations: 33.98 kB / 0.5347 GB, free: 15.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005143/1.016, allocations: 311.8 kB / 0.535 GB, free: 15.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.016, allocations: 0 / 0.535 GB, free: 15.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001362/1.018, allocations: 344.4 kB / 0.5353 GB, free: 15.11 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.00304/1.021, allocations: 1.494 MB / 0.5367 GB, free: 14.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001303/1.022, allocations: 432.8 kB / 0.5372 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.022, allocations: 2.531 kB / 0.5372 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005625/1.023, allocations: 204.2 kB / 0.5373 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/1.025, allocations: 295 kB / 0.5376 GB, free: 13.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00706/1.032, allocations: 3.151 MB / 0.5407 GB, free: 11.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006148/1.033, allocations: 0.8852 MB / 0.5416 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008089/1.034, allocations: 252.7 kB / 0.5418 GB, free: 10.54 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/1.034, allocations: 0 / 0.5418 GB, free: 10.54 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.148/4.182, allocations: 16.8 MB / 0.5582 GB, free: 9.879 MB / 442.7 MB