Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.185/2.185, allocations: 209.2 MB / 224.8 MB, free: 296 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00043/0.0004302, allocations: 12 kB / 282.6 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3595, allocations: 48.71 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5918/0.9513, allocations: 145.6 MB / 476.9 MB, free: 3.027 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01703/0.9684, allocations: 9.14 MB / 486 MB, free: 2.938 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009079/0.9694, allocations: 22.12 kB / 486 MB, free: 2.938 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.9705, allocations: 270.5 kB / 486.3 MB, free: 2.938 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007969/0.9785, allocations: 1.845 MB / 488.1 MB, free: 2.891 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003525/0.9821, allocations: 0.7813 MB / 488.9 MB, free: 2.871 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003008/0.9851, allocations: 1.036 MB / 490 MB, free: 2.871 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009684/0.9861, allocations: 366.3 kB / 490.3 MB, free: 2.84 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/0.9886, allocations: 0.6823 MB / 491 MB, free: 2.836 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.9897, allocations: 383.2 kB / 491.4 MB, free: 2.836 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.9899, allocations: 25.06 kB / 491.4 MB, free: 2.836 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004561/0.9945, allocations: 1.246 MB / 492.6 MB, free: 2.836 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003632/0.9949, allocations: 135.1 kB / 492.8 MB, free: 2.836 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004506/0.9954, allocations: 160.7 kB / 492.9 MB, free: 2.801 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00319/0.9986, allocations: 1.144 MB / 494.1 MB, free: 2.719 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.9986, allocations: 0 / 494.1 MB, free: 2.719 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.9987, allocations: 0 / 494.1 MB, free: 2.719 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.9987, allocations: 0 / 494.1 MB, free: 2.719 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0027/1.001, allocations: 0.979 MB / 495.1 MB, free: 18.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/1.001, allocations: 14.81 kB / 495.1 MB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002055/1.002, allocations: 83.44 kB / 495.2 MB, free: 18.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/1.003, allocations: 153.4 kB / 495.3 MB, free: 18.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/1.004, allocations: 489.2 kB / 495.8 MB, free: 17.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/1.004, allocations: 32.53 kB / 495.8 MB, free: 17.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/1.004, allocations: 45.78 kB / 495.9 MB, free: 17.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/1.006, allocations: 0.6317 MB / 496.5 MB, free: 17.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/1.006, allocations: 10 kB / 496.5 MB, free: 17.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.917e-05/1.006, allocations: 24.56 kB / 496.5 MB, free: 17.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/1.006, allocations: 11.34 kB / 496.5 MB, free: 17.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/1.008, allocations: 497.4 kB / 497 MB, free: 17.6 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.004183/1.012, allocations: 2.597 MB / 499.6 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009479/1.013, allocations: 315.2 kB / 499.9 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005534/1.013, allocations: 331 kB / 0.4885 GB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/1.013, allocations: 41.84 kB / 0.4886 GB, free: 15.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.815e-06/1.013, allocations: 0 / 0.4886 GB, free: 15.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.002245/1.016, allocations: 0.6797 MB / 0.4892 GB, free: 15.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.016, allocations: 162.2 kB / 0.4894 GB, free: 15.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006651/1.017, allocations: 449.3 kB / 0.4898 GB, free: 15.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.871e-05/1.017, allocations: 31.83 kB / 0.4898 GB, free: 15.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/1.017, allocations: 364.6 kB / 0.4902 GB, free: 14.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/1.017, allocations: 124.7 kB / 0.4903 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/1.017, allocations: 12.06 kB / 0.4903 GB, free: 14.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/1.017, allocations: 331.3 kB / 0.4906 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004099/1.018, allocations: 142.8 kB / 0.4908 GB, free: 14.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005462/1.018, allocations: 370.3 kB / 0.4911 GB, free: 14.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/1.019, allocations: 205.8 kB / 0.4913 GB, free: 14.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.019, allocations: 2.812 kB / 0.4913 GB, free: 14.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001467/1.02, allocations: 0.5764 MB / 0.4919 GB, free: 14.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/1.02, allocations: 9.641 kB / 0.4919 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.02, allocations: 6.156 kB / 0.4919 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/1.023, allocations: 293.3 kB / 0.4922 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007226/1.024, allocations: 133.6 kB / 0.4923 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006107/1.024, allocations: 0.5839 MB / 0.4929 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006525/1.025, allocations: 69.48 kB / 0.4929 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/1.025, allocations: 55.31 kB / 0.493 GB, free: 13.48 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.0003867/1.025, allocations: 199.9 kB / 0.4932 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/1.026, allocations: 55 kB / 0.4932 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00253/1.028, allocations: 0.7227 MB / 0.4939 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/1.028, allocations: 4.844 kB / 0.4939 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/1.028, allocations: 0 / 0.4939 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/1.028, allocations: 7.047 kB / 0.494 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002944/1.031, allocations: 1.544 MB / 0.4955 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.031, allocations: 3.156 kB / 0.4955 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/1.032, allocations: 79.59 kB / 0.4955 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005735/1.037, allocations: 0.5358 MB / 0.4961 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.106e-05/1.038, allocations: 19.08 kB / 0.4961 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005916/1.038, allocations: 0.6049 MB / 0.4967 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.038, allocations: 2.906 kB / 0.4967 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/1.039, allocations: 0.6015 MB / 0.4973 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003353/1.04, allocations: 183.7 kB / 0.4974 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/1.04, allocations: 18.09 kB / 0.4975 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004932/1.04, allocations: 18.06 kB / 0.4975 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/1.041, allocations: 46.92 kB / 0.4975 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-05/1.041, allocations: 29.45 kB / 0.4975 GB, free: 11.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005226/1.041, allocations: 314 kB / 0.4978 GB, free: 11.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.041, allocations: 0 / 0.4978 GB, free: 11.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001403/1.043, allocations: 343.8 kB / 0.4982 GB, free: 11.39 MB / 410.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.002942/1.046, allocations: 1.504 MB / 0.4996 GB, free: 10.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001273/1.047, allocations: 423.3 kB / 0.5 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/1.047, allocations: 3.219 kB / 0.5 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005511/1.047, allocations: 208.4 kB / 0.5002 GB, free: 10.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/1.05, allocations: 289.2 kB / 0.5005 GB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006705/1.057, allocations: 3.169 MB / 0.5036 GB, free: 9.109 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/1.057, allocations: 0.8826 MB / 0.5045 GB, free: 8.398 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007655/1.058, allocations: 250.7 kB / 0.5047 GB, free: 8.383 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/1.058, allocations: 0 / 0.5047 GB, free: 8.383 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.283/4.341, allocations: 16.8 MB / 0.5211 GB, free: 13.95 MB / 426.7 MB