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.51/2.51, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.303e-05/4.32e-05, allocations: 4 kB / 309.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4231, allocations: 54.85 MB / 364.6 MB, free: 5.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8777/1.301, allocations: 346.2 MB / 0.6942 GB, free: 2.691 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/1.301, allocations: 82.88 kB / 0.6942 GB, free: 2.648 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.871/3.172, allocations: 302.6 MB / 0.9898 GB, free: 82.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.557e-06/3.172, allocations: 0 / 0.9898 GB, free: 82.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003314/3.172, allocations: 57.03 kB / 0.9898 GB, free: 82.61 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.01096/3.183, allocations: 2.057 MB / 0.9918 GB, free: 81.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/3.183, allocations: 6.938 kB / 0.9919 GB, free: 81.47 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007382/3.184, allocations: 179 kB / 0.992 GB, free: 81.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/3.185, allocations: 203 kB / 0.9922 GB, free: 81.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004891/3.19, allocations: 1.268 MB / 0.9935 GB, free: 80.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/3.191, allocations: 183.6 kB / 0.9936 GB, free: 80.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004982/3.191, allocations: 114 kB / 0.9937 GB, free: 80.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005038/3.196, allocations: 1.923 MB / 0.9956 GB, free: 80.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.706e-05/3.196, allocations: 3.844 kB / 0.9956 GB, free: 80.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002699/3.197, allocations: 49.06 kB / 0.9957 GB, free: 80.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002586/3.197, allocations: 118.7 kB / 0.9958 GB, free: 80.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005084/3.202, allocations: 1.893 MB / 0.9976 GB, free: 79.46 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.0222/3.224, allocations: 7.025 MB / 1.004 GB, free: 75.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003637/3.228, allocations: 1.315 MB / 1.006 GB, free: 74.97 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002275/3.23, allocations: 0.7853 MB / 1.007 GB, free: 74.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01214/3.242, allocations: 4.517 MB / 1.011 GB, free: 71.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/3.242, allocations: 49.84 kB / 1.011 GB, free: 71.39 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001978/3.244, allocations: 221.1 kB / 1.011 GB, free: 71.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=117): time 8.135e-06/3.244, allocations: 0 / 1.011 GB, free: 71.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=132): time 0.01801/3.263, allocations: 4.373 MB / 1.015 GB, free: 69.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.467e-05/3.263, allocations: 224.2 kB / 1.016 GB, free: 69.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002934/3.266, allocations: 1.186 MB / 1.017 GB, free: 68.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005895/3.266, allocations: 52.86 kB / 1.017 GB, free: 68.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006609/3.267, allocations: 0.6219 MB / 1.018 GB, free: 68.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000955/3.268, allocations: 449.8 kB / 1.018 GB, free: 67.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/3.268, allocations: 34.66 kB / 1.018 GB, free: 67.87 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/3.268, allocations: 372.7 kB / 1.018 GB, free: 67.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002407/3.271, allocations: 0.7326 MB / 1.019 GB, free: 67.26 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002868/3.274, allocations: 1.067 MB / 1.02 GB, free: 66.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002755/3.277, allocations: 0.8607 MB / 1.021 GB, free: 66.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.955e-05/3.277, allocations: 3.906 kB / 1.021 GB, free: 66.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.007426/3.284, allocations: 2.296 MB / 1.023 GB, free: 64.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006964/3.285, allocations: 2.968 MB / 1.026 GB, free: 61.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.591e-05/3.285, allocations: 8 kB / 1.026 GB, free: 61.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01392/3.299, allocations: 1.47 MB / 1.028 GB, free: 60.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002933/3.302, allocations: 330.7 kB / 1.028 GB, free: 60.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004694/3.307, allocations: 1.697 MB / 1.029 GB, free: 58.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003333/3.31, allocations: 103.4 kB / 1.03 GB, free: 58.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006557/3.311, allocations: 74.97 kB / 1.03 GB, free: 58.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/3.311, allocations: 4 kB / 1.03 GB, free: 58.64 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006251/3.317, allocations: 1.981 MB / 1.032 GB, free: 56.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-05/3.317, allocations: 11.94 kB / 1.032 GB, free: 56.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0097/3.327, allocations: 0.9173 MB / 1.033 GB, free: 56.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003069/3.33, allocations: 343.8 kB / 1.033 GB, free: 56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/3.333, allocations: 1.253 MB / 1.034 GB, free: 54.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/3.335, allocations: 103 kB / 1.034 GB, free: 54.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004333/3.336, allocations: 74.5 kB / 1.034 GB, free: 54.7 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 () * 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.0007482/3.336, allocations: 201.9 kB / 1.034 GB, free: 54.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000649/3.337, allocations: 165.9 kB / 1.035 GB, free: 54.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008903/3.346, allocations: 2.469 MB / 1.037 GB, free: 52.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.664e-05/3.346, allocations: 16 kB / 1.037 GB, free: 52.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/3.346, allocations: 3.953 kB / 1.037 GB, free: 52.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.069e-05/3.346, allocations: 7.969 kB / 1.037 GB, free: 52.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/3.359, allocations: 4.022 MB / 1.041 GB, free: 48.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/3.359, allocations: 0 / 1.041 GB, free: 48.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/3.361, allocations: 238.2 kB / 1.041 GB, free: 47.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008378/3.37, allocations: 1.201 MB / 1.042 GB, free: 46.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004941/3.37, allocations: 51.91 kB / 1.042 GB, free: 46.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003886/3.374, allocations: 1.746 MB / 1.044 GB, free: 44.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/3.374, allocations: 0 / 1.044 GB, free: 44.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009037/3.383, allocations: 3.269 MB / 1.047 GB, free: 41.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/3.385, allocations: 462.6 kB / 1.048 GB, free: 41.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007012/3.386, allocations: 31.94 kB / 1.048 GB, free: 41.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002864/3.389, allocations: 109.5 kB / 1.048 GB, free: 41.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005496/3.389, allocations: 113.1 kB / 1.048 GB, free: 40.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003213/3.39, allocations: 59.95 kB / 1.048 GB, free: 40.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002124/3.392, allocations: 0.9005 MB / 1.049 GB, free: 40 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.222e-06/3.392, allocations: 0 / 1.049 GB, free: 40 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006956/3.399, allocations: 1.427 MB / 1.05 GB, free: 38.58 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 () * 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.01432/3.413, allocations: 4.959 MB / 1.055 GB, free: 33.74 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01133/3.425, allocations: 2.985 MB / 1.058 GB, free: 30.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/3.425, allocations: 0 / 1.058 GB, free: 30.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00406/3.429, allocations: 0.9893 MB / 1.059 GB, free: 29.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006474/3.435, allocations: 0.6767 MB / 1.06 GB, free: 29.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/3.449, allocations: 3.631 MB / 1.063 GB, free: 25.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/3.451, allocations: 1.41 MB / 1.065 GB, free: 24.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001691/3.452, allocations: 0.6516 MB / 1.065 GB, free: 23.37 MB / 490.7 MB Notification: Performance of SimCode: time 1.673e-06/3.452, allocations: 0 / 1.065 GB, free: 23.37 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.22/7.673, allocations: 48.48 MB / 1.113 GB, free: 72.78 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