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.327/2.327, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004375/0.0004374, allocations: 12 kB / 314.5 MB, free: 9.441 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3431, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.75/2.093, allocations: 0.6093 GB / 0.97 GB, free: 49.82 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/2.094, allocations: 95.28 kB / 0.9701 GB, free: 49.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.556/3.649, allocations: 270.1 MB / 1.234 GB, free: 88.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.014e-06/3.649, allocations: 6.281 kB / 1.234 GB, free: 88.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.139e-05/3.649, allocations: 16.91 kB / 1.234 GB, free: 88.18 MB / 490.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.003801/3.653, allocations: 1.284 MB / 1.235 GB, free: 87.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/3.653, allocations: 6.906 kB / 1.235 GB, free: 87.69 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002224/3.654, allocations: 93.7 kB / 1.235 GB, free: 87.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/3.655, allocations: 156.6 kB / 1.235 GB, free: 87.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/3.657, allocations: 0.5224 MB / 1.236 GB, free: 87.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/3.657, allocations: 34.47 kB / 1.236 GB, free: 87.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/3.657, allocations: 56.56 kB / 1.236 GB, free: 87.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/3.658, allocations: 0.6298 MB / 1.237 GB, free: 87.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/3.658, allocations: 3.375 kB / 1.237 GB, free: 87.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-05/3.659, allocations: 23.44 kB / 1.237 GB, free: 87.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/3.659, allocations: 11.41 kB / 1.237 GB, free: 87.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/3.66, allocations: 0.5029 MB / 1.237 GB, free: 87.23 MB / 490.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.003647/3.664, allocations: 2.565 MB / 1.24 GB, free: 85.58 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009181/3.664, allocations: 306.3 kB / 1.24 GB, free: 85.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000455/3.665, allocations: 322.8 kB / 1.24 GB, free: 85.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/3.665, allocations: 40.17 kB / 1.24 GB, free: 85.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 3.727e-06/3.665, allocations: 0 / 1.24 GB, free: 85.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.002296/3.667, allocations: 0.6829 MB / 1.241 GB, free: 85.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/3.667, allocations: 163.2 kB / 1.241 GB, free: 84.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006262/3.668, allocations: 399.5 kB / 1.241 GB, free: 84.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.877e-05/3.668, allocations: 29.27 kB / 1.241 GB, free: 84.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/3.668, allocations: 363.7 kB / 1.242 GB, free: 84.51 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/3.668, allocations: 128.1 kB / 1.242 GB, free: 84.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/3.669, allocations: 12.09 kB / 1.242 GB, free: 84.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.216e-05/3.669, allocations: 331.8 kB / 1.242 GB, free: 84.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/3.669, allocations: 139.6 kB / 1.242 GB, free: 84.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005049/3.67, allocations: 371.4 kB / 1.243 GB, free: 83.87 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/3.67, allocations: 193.2 kB / 1.243 GB, free: 83.87 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/3.67, allocations: 3.531 kB / 1.243 GB, free: 83.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001448/3.672, allocations: 0.5768 MB / 1.243 GB, free: 83.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/3.672, allocations: 13.5 kB / 1.244 GB, free: 83.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/3.672, allocations: 7.625 kB / 1.244 GB, free: 83.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002179/3.674, allocations: 238.2 kB / 1.244 GB, free: 83.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007021/3.675, allocations: 136.4 kB / 1.244 GB, free: 83.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004994/3.675, allocations: 0.5833 MB / 1.244 GB, free: 83.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007093/3.676, allocations: 66.73 kB / 1.245 GB, free: 83.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/3.676, allocations: 54.28 kB / 1.245 GB, free: 83.26 MB / 490.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.0003784/3.676, allocations: 200.9 kB / 1.245 GB, free: 83.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/3.676, allocations: 54.84 kB / 1.245 GB, free: 83.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/3.679, allocations: 0.6741 MB / 1.245 GB, free: 83.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/3.679, allocations: 3.906 kB / 1.245 GB, free: 83.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/3.679, allocations: 2.562 kB / 1.245 GB, free: 83.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/3.679, allocations: 3.469 kB / 1.245 GB, free: 83.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002855/3.682, allocations: 1.531 MB / 1.247 GB, free: 82.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/3.682, allocations: 0 / 1.247 GB, free: 82.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004233/3.682, allocations: 79.88 kB / 1.247 GB, free: 82.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002069/3.684, allocations: 232.3 kB / 1.247 GB, free: 82.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-05/3.684, allocations: 18 kB / 1.247 GB, free: 82.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004794/3.685, allocations: 0.5801 MB / 1.248 GB, free: 81.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/3.685, allocations: 3.953 kB / 1.248 GB, free: 81.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/3.686, allocations: 0.6965 MB / 1.249 GB, free: 81.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/3.686, allocations: 143.2 kB / 1.249 GB, free: 81.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/3.687, allocations: 5.188 kB / 1.249 GB, free: 81.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004937/3.687, allocations: 27.84 kB / 1.249 GB, free: 81.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/3.687, allocations: 40.56 kB / 1.249 GB, free: 81.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.528e-05/3.687, allocations: 28.31 kB / 1.249 GB, free: 81.28 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004788/3.688, allocations: 315 kB / 1.249 GB, free: 81.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.51e-07/3.688, allocations: 0 / 1.249 GB, free: 81.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002029/3.69, allocations: 445.4 kB / 1.249 GB, free: 81.14 MB / 490.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 (35): * Single equations (assignments): 34 * 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.004382/3.694, allocations: 3.113 MB / 1.253 GB, free: 79.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001415/3.696, allocations: 412.9 kB / 1.253 GB, free: 79.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/3.696, allocations: 0 / 1.253 GB, free: 79.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005527/3.696, allocations: 203.1 kB / 1.253 GB, free: 79.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/3.699, allocations: 273.7 kB / 1.253 GB, free: 79.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/3.714, allocations: 8.821 MB / 1.262 GB, free: 73.85 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/3.714, allocations: 0.8812 MB / 1.263 GB, free: 73.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007515/3.715, allocations: 245.1 kB / 1.263 GB, free: 73.14 MB / 490.7 MB Notification: Performance of SimCode: time 9.62e-07/3.715, allocations: 1.125 kB / 1.263 GB, free: 73.14 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.994/6.709, allocations: 21.01 MB / 1.284 GB, free: 72.21 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat does not exist to compare? outputFormat=mat