Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.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.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.311/2.311, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004423, allocations: 12 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3602, allocations: 54.85 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.311/1.671, allocations: 346.3 MB / 0.6989 GB, free: 117.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/1.671, allocations: 84.38 kB / 0.699 GB, free: 117.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423/3.094, allocations: 303.6 MB / 0.9954 GB, free: 31.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.435e-06/3.094, allocations: 0 / 0.9954 GB, free: 31.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001865/3.095, allocations: 47.92 kB / 0.9955 GB, free: 31.93 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.009874/3.105, allocations: 2.29 MB / 0.9977 GB, free: 29.58 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/3.105, allocations: 8.031 kB / 0.9977 GB, free: 29.57 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000879/3.106, allocations: 185.2 kB / 0.9979 GB, free: 29.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009668/3.106, allocations: 201.7 kB / 0.9981 GB, free: 29.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005171/3.112, allocations: 1.274 MB / 0.9994 GB, free: 27.85 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/3.112, allocations: 183.2 kB / 0.9995 GB, free: 27.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008261/3.113, allocations: 115.9 kB / 0.9996 GB, free: 27.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006098/3.119, allocations: 1.962 MB / 1.002 GB, free: 25.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.506e-05/3.119, allocations: 0 / 1.002 GB, free: 25.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002951/3.119, allocations: 55.97 kB / 1.002 GB, free: 25.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002445/3.12, allocations: 114.2 kB / 1.002 GB, free: 25.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005037/3.125, allocations: 1.949 MB / 1.004 GB, free: 23.36 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.01771/3.143, allocations: 7.03 MB / 1.01 GB, free: 16.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003114/3.146, allocations: 1.349 MB / 1.012 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008818/3.155, allocations: 4.45 MB / 1.016 GB, free: 9.781 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/3.155, allocations: 55.56 kB / 1.016 GB, free: 9.719 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001494/3.156, allocations: 210.6 kB / 1.016 GB, free: 9.512 MB / 490.7 MB Notification: Performance of pre-optimization done (n=117): time 5.099e-06/3.156, allocations: 0 / 1.016 GB, free: 9.512 MB / 490.7 MB Notification: Performance of matching and sorting (n=132): time 0.03206/3.188, allocations: 6.393 MB / 1.023 GB, free: 3.055 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.041e-05/3.188, allocations: 222.9 kB / 1.023 GB, free: 2.789 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002456/3.191, allocations: 1.208 MB / 1.024 GB, free: 1.574 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005363/3.191, allocations: 53.7 kB / 1.024 GB, free: 1.516 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004977/3.192, allocations: 0.6116 MB / 1.025 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006358/3.193, allocations: 453.4 kB / 1.025 GB, free: 460 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/3.193, allocations: 32 kB / 1.025 GB, free: 428 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/3.193, allocations: 370.8 kB / 1.026 GB, free: 48 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3913/3.584, allocations: 0.7663 MB / 1.026 GB, free: 69.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003474/3.588, allocations: 1.095 MB / 1.027 GB, free: 69.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003095/3.591, allocations: 0.8842 MB / 1.028 GB, free: 69.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-05/3.591, allocations: 2.625 kB / 1.028 GB, free: 69.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.008341/3.599, allocations: 2.362 MB / 1.03 GB, free: 69.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007417/3.6, allocations: 2.969 MB / 1.033 GB, free: 66.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.455e-05/3.6, allocations: 12.58 kB / 1.033 GB, free: 66.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01369/3.614, allocations: 1.503 MB / 1.035 GB, free: 66.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002898/3.617, allocations: 329.8 kB / 1.035 GB, free: 66.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004655/3.622, allocations: 1.697 MB / 1.037 GB, free: 65.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003036/3.625, allocations: 106.1 kB / 1.037 GB, free: 65.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004617/3.625, allocations: 81.91 kB / 1.037 GB, free: 65.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/3.625, allocations: 3.312 kB / 1.037 GB, free: 65.76 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006341/3.632, allocations: 2.041 MB / 1.039 GB, free: 65.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.612e-05/3.632, allocations: 10.56 kB / 1.039 GB, free: 65.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009381/3.641, allocations: 0.9173 MB / 1.04 GB, free: 65.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00284/3.644, allocations: 351.2 kB / 1.04 GB, free: 65.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002732/3.647, allocations: 1.258 MB / 1.041 GB, free: 65.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/3.649, allocations: 97.72 kB / 1.042 GB, free: 65.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/3.649, allocations: 72.83 kB / 1.042 GB, free: 65.19 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 {10 23} Notification: Performance of prepare postOptimizeDAE: time 0.001491/3.651, allocations: 496.2 kB / 1.042 GB, free: 65 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005812/3.651, allocations: 161.8 kB / 1.042 GB, free: 65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008092/3.659, allocations: 2.524 MB / 1.045 GB, free: 64.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.927e-05/3.66, allocations: 12.97 kB / 1.045 GB, free: 64.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/3.66, allocations: 5.266 kB / 1.045 GB, free: 64.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.994e-05/3.66, allocations: 10.41 kB / 1.045 GB, free: 64.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/3.671, allocations: 4.084 MB / 1.049 GB, free: 64.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/3.672, allocations: 0 / 1.049 GB, free: 64.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002301/3.674, allocations: 235.7 kB / 1.049 GB, free: 64.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00815/3.682, allocations: 1.23 MB / 1.05 GB, free: 64.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004186/3.683, allocations: 39.05 kB / 1.05 GB, free: 64.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003682/3.686, allocations: 1.758 MB / 1.052 GB, free: 63.99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/3.686, allocations: 3.469 kB / 1.052 GB, free: 63.99 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008595/3.695, allocations: 3.354 MB / 1.055 GB, free: 63.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/3.696, allocations: 459.4 kB / 1.056 GB, free: 63.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004285/3.697, allocations: 28.06 kB / 1.056 GB, free: 63.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/3.699, allocations: 119.2 kB / 1.056 GB, free: 63.56 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003574/3.699, allocations: 115.8 kB / 1.056 GB, free: 63.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000208/3.7, allocations: 57.19 kB / 1.056 GB, free: 63.56 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001844/3.701, allocations: 0.9155 MB / 1.057 GB, free: 63.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.21e-07/3.702, allocations: 0 / 1.057 GB, free: 63.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006017/3.708, allocations: 1.429 MB / 1.058 GB, free: 63.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level,tank3.medium.T,tank3.level,valveDelayed.filter.x[1],valveDelayed.filter.x[2]) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {10 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.01308/3.721, allocations: 5.045 MB / 1.063 GB, free: 62.63 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01078/3.732, allocations: 3.074 MB / 1.066 GB, free: 62.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/3.732, allocations: 3.719 kB / 1.066 GB, free: 62.53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003555/3.735, allocations: 1.013 MB / 1.067 GB, free: 62.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005947/3.741, allocations: 0.6884 MB / 1.068 GB, free: 62.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/3.758, allocations: 10.64 MB / 1.078 GB, free: 55.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/3.759, allocations: 1.404 MB / 1.08 GB, free: 54.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/3.761, allocations: 0.6519 MB / 1.08 GB, free: 54.55 MB / 490.7 MB Notification: Performance of SimCode: time 1.152e-06/3.761, allocations: 2.438 kB / 1.08 GB, free: 54.55 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.763/7.524, allocations: 47.78 MB / 1.127 GB, free: 51.54 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat