Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.872/1.872, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004445/0.0004444, allocations: 12 kB / 282.7 MB, free: 9.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3555, allocations: 48.7 MB / 331.4 MB, free: 6.418 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.669/2.025, allocations: 0.6015 GB / 0.9251 GB, free: 49.09 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/2.025, allocations: 96 kB / 0.9252 GB, free: 49.03 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.073/3.098, allocations: 231.4 MB / 1.151 GB, free: 3.676 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.994e-06/3.098, allocations: 0 / 1.151 GB, free: 3.676 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.439e-05/3.098, allocations: 19.98 kB / 1.151 GB, free: 3.656 MB / 442.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.002956/3.101, allocations: 1.01 MB / 1.152 GB, free: 2.598 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/3.101, allocations: 8.031 kB / 1.152 GB, free: 2.59 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002647/3.101, allocations: 86.52 kB / 1.152 GB, free: 2.496 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/3.103, allocations: 139.2 kB / 1.152 GB, free: 2.359 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/3.104, allocations: 0.5443 MB / 1.153 GB, free: 1.773 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/3.104, allocations: 29 kB / 1.153 GB, free: 1.746 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/3.105, allocations: 43.98 kB / 1.153 GB, free: 1.703 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/3.106, allocations: 0.5884 MB / 1.154 GB, free: 1.074 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/3.106, allocations: 3.938 kB / 1.154 GB, free: 1.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.946e-05/3.106, allocations: 23.98 kB / 1.154 GB, free: 1.047 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/3.106, allocations: 12 kB / 1.154 GB, free: 1.035 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/3.108, allocations: 491.6 kB / 1.154 GB, free: 0.5547 MB / 442.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.3175/3.426, allocations: 2.602 MB / 1.157 GB, free: 78.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/3.427, allocations: 313 kB / 1.157 GB, free: 78.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004867/3.427, allocations: 330.9 kB / 1.157 GB, free: 78.35 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/3.427, allocations: 38.12 kB / 1.157 GB, free: 78.31 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 4.509e-06/3.427, allocations: 0 / 1.157 GB, free: 78.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002752/3.43, allocations: 0.695 MB / 1.158 GB, free: 78.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/3.43, allocations: 132.2 kB / 1.158 GB, free: 78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007547/3.431, allocations: 394.2 kB / 1.158 GB, free: 77.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.333e-05/3.431, allocations: 30.58 kB / 1.158 GB, free: 77.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/3.431, allocations: 334.6 kB / 1.159 GB, free: 77.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/3.432, allocations: 124.6 kB / 1.159 GB, free: 77.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/3.432, allocations: 13.72 kB / 1.159 GB, free: 77.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.161e-05/3.432, allocations: 335.7 kB / 1.159 GB, free: 77.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005771/3.432, allocations: 189.1 kB / 1.159 GB, free: 77.28 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006874/3.433, allocations: 356.8 kB / 1.16 GB, free: 77.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007057/3.434, allocations: 234.1 kB / 1.16 GB, free: 77.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/3.434, allocations: 4.781 kB / 1.16 GB, free: 77.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001956/3.436, allocations: 0.6451 MB / 1.161 GB, free: 77.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/3.436, allocations: 7.531 kB / 1.161 GB, free: 77.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/3.436, allocations: 7.25 kB / 1.161 GB, free: 77.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002308/3.438, allocations: 240.5 kB / 1.161 GB, free: 77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/3.439, allocations: 157.9 kB / 1.161 GB, free: 77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009957/3.449, allocations: 28.72 MB / 1.189 GB, free: 47.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008865/3.45, allocations: 71.11 kB / 1.189 GB, free: 47.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/3.45, allocations: 52.31 kB / 1.189 GB, free: 47.43 MB / 442.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 (63): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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.00051/3.451, allocations: 191.7 kB / 1.189 GB, free: 47.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/3.451, allocations: 52.02 kB / 1.189 GB, free: 47.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00274/3.454, allocations: 0.673 MB / 1.19 GB, free: 47.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/3.454, allocations: 6.078 kB / 1.19 GB, free: 47.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/3.454, allocations: 2.953 kB / 1.19 GB, free: 47.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/3.454, allocations: 5.578 kB / 1.19 GB, free: 47.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003104/3.457, allocations: 1.175 MB / 1.191 GB, free: 46.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.168e-06/3.457, allocations: 2.312 kB / 1.191 GB, free: 46.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/3.458, allocations: 57.06 kB / 1.191 GB, free: 46.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002217/3.46, allocations: 231.7 kB / 1.191 GB, free: 46.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.604e-05/3.46, allocations: 13.47 kB / 1.191 GB, free: 46.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000565/3.461, allocations: 0.5944 MB / 1.192 GB, free: 46.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/3.461, allocations: 6.094 kB / 1.192 GB, free: 46.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/3.462, allocations: 0.5909 MB / 1.193 GB, free: 45.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/3.462, allocations: 148.5 kB / 1.193 GB, free: 45.72 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/3.462, allocations: 11.61 kB / 1.193 GB, free: 45.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005747/3.463, allocations: 36.53 kB / 1.193 GB, free: 45.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/3.463, allocations: 26.19 kB / 1.193 GB, free: 45.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.258e-05/3.463, allocations: 14 kB / 1.193 GB, free: 45.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006266/3.464, allocations: 333.6 kB / 1.193 GB, free: 45.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/3.464, allocations: 0 / 1.193 GB, free: 45.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002664/3.467, allocations: 428.7 kB / 1.194 GB, free: 45.62 MB / 442.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 (28): * Single equations (assignments): 27 * 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 Backend phase and start with SimCode phase: time 0.004721/3.471, allocations: 2.683 MB / 1.196 GB, free: 44.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002167/3.474, allocations: 440.3 kB / 1.197 GB, free: 44.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/3.474, allocations: 1.25 kB / 1.197 GB, free: 44.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007733/3.474, allocations: 172.1 kB / 1.197 GB, free: 44.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/3.477, allocations: 228.5 kB / 1.197 GB, free: 44.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/3.495, allocations: 6.925 MB / 1.204 GB, free: 39.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/3.496, allocations: 0.868 MB / 1.205 GB, free: 39.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009588/3.497, allocations: 232.4 kB / 1.205 GB, free: 39.23 MB / 442.7 MB Notification: Performance of SimCode: time 1.272e-06/3.497, allocations: 0 / 1.205 GB, free: 39.23 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.379/6.876, allocations: 30.08 MB / 1.234 GB, free: 38.33 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat