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.Valves.TestDelayedValve.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.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.999/1.999, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006356/0.0006356, allocations: 12 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1127, allocations: 48.7 MB / 331.4 MB, free: 8.75 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.385/1.498, allocations: 340 MB / 0.6557 GB, free: 103.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/1.498, allocations: 87.86 kB / 0.6558 GB, free: 103.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.398/2.896, allocations: 303.6 MB / 0.9522 GB, free: 4.223 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.366e-06/2.896, allocations: 4 kB / 0.9522 GB, free: 4.219 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000249/2.896, allocations: 48.11 kB / 0.9523 GB, free: 4.172 MB / 426.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.01077/2.907, allocations: 2.278 MB / 0.9545 GB, free: 1.836 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/2.907, allocations: 19.97 kB / 0.9545 GB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001063/2.908, allocations: 185.2 kB / 0.9547 GB, free: 1.625 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/2.909, allocations: 201.8 kB / 0.9549 GB, free: 1.426 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005282/2.914, allocations: 1.27 MB / 0.9561 GB, free: 100 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3795/3.294, allocations: 179.6 kB / 0.9563 GB, free: 37.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008938/3.295, allocations: 117.8 kB / 0.9564 GB, free: 37.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007172/3.302, allocations: 1.959 MB / 0.9583 GB, free: 37.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.879e-05/3.302, allocations: 4.359 kB / 0.9583 GB, free: 37.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003282/3.303, allocations: 49.41 kB / 0.9584 GB, free: 37.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002958/3.303, allocations: 111.2 kB / 0.9585 GB, free: 37.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007162/3.31, allocations: 1.954 MB / 0.9604 GB, free: 37.36 MB / 426.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.02342/3.333, allocations: 7.038 MB / 0.9673 GB, free: 35.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004034/3.338, allocations: 1.354 MB / 0.9686 GB, free: 35.22 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01177/3.349, allocations: 4.45 MB / 0.9729 GB, free: 32.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.997e-05/3.35, allocations: 50.62 kB / 0.973 GB, free: 32.88 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002587/3.352, allocations: 220.1 kB / 0.9732 GB, free: 32.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=117): time 1.876e-05/3.352, allocations: 0 / 0.9732 GB, free: 32.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.03775/3.39, allocations: 6.386 MB / 0.9794 GB, free: 32.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/3.39, allocations: 223.8 kB / 0.9796 GB, free: 31.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002882/3.393, allocations: 1.208 MB / 0.9808 GB, free: 31.74 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005637/3.394, allocations: 53.58 kB / 0.9809 GB, free: 31.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005505/3.394, allocations: 0.6141 MB / 0.9815 GB, free: 31.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007726/3.395, allocations: 452.6 kB / 0.9819 GB, free: 31.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/3.395, allocations: 31.25 kB / 0.9819 GB, free: 31.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/3.395, allocations: 374.1 kB / 0.9823 GB, free: 30.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002412/3.398, allocations: 0.7678 MB / 0.983 GB, free: 30.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002845/3.401, allocations: 1.094 MB / 0.9841 GB, free: 30.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002806/3.403, allocations: 0.8891 MB / 0.985 GB, free: 30.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.594e-05/3.404, allocations: 3.969 kB / 0.985 GB, free: 30.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.008844/3.412, allocations: 2.354 MB / 0.9873 GB, free: 30.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007432/3.413, allocations: 2.969 MB / 0.9902 GB, free: 27.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.686e-05/3.413, allocations: 11.5 kB / 0.9902 GB, free: 27.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01414/3.427, allocations: 1.502 MB / 0.9917 GB, free: 27.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002785/3.43, allocations: 326.4 kB / 0.992 GB, free: 27.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004438/3.435, allocations: 1.705 MB / 0.9936 GB, free: 26.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0031/3.438, allocations: 104.1 kB / 0.9937 GB, free: 26.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004987/3.438, allocations: 76.47 kB / 0.9938 GB, free: 26.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/3.438, allocations: 3.156 kB / 0.9938 GB, free: 26.8 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005972/3.444, allocations: 2.04 MB / 0.9958 GB, free: 26.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.177e-05/3.445, allocations: 6.875 kB / 0.9958 GB, free: 26.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009628/3.454, allocations: 0.9193 MB / 0.9967 GB, free: 26.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002932/3.457, allocations: 350.9 kB / 0.997 GB, free: 26.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00269/3.46, allocations: 1.263 MB / 0.9983 GB, free: 26.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/3.462, allocations: 104 kB / 0.9984 GB, free: 26.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002813/3.462, allocations: 70.55 kB / 0.9984 GB, free: 26.21 MB / 426.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.001498/3.464, allocations: 485.3 kB / 0.9989 GB, free: 26.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006223/3.465, allocations: 166.9 kB / 0.9991 GB, free: 25.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007705/3.472, allocations: 2.525 MB / 1.002 GB, free: 25.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/3.472, allocations: 19.89 kB / 1.002 GB, free: 25.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/3.472, allocations: 0 / 1.002 GB, free: 25.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.253e-05/3.472, allocations: 7.547 kB / 1.002 GB, free: 25.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/3.483, allocations: 4.087 MB / 1.006 GB, free: 25.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/3.483, allocations: 0 / 1.006 GB, free: 25.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002063/3.485, allocations: 237.7 kB / 1.006 GB, free: 25.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007844/3.493, allocations: 1.226 MB / 1.007 GB, free: 25.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004307/3.494, allocations: 44.12 kB / 1.007 GB, free: 25.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003725/3.498, allocations: 1.759 MB / 1.009 GB, free: 24.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/3.498, allocations: 3.812 kB / 1.009 GB, free: 24.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008779/3.506, allocations: 3.36 MB / 1.012 GB, free: 24.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/3.508, allocations: 457.5 kB / 1.012 GB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004316/3.508, allocations: 29.81 kB / 1.012 GB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002297/3.511, allocations: 111.2 kB / 1.013 GB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003713/3.511, allocations: 112.5 kB / 1.013 GB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002073/3.511, allocations: 59.77 kB / 1.013 GB, free: 24.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001909/3.513, allocations: 0.9203 MB / 1.014 GB, free: 24.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.52e-07/3.513, allocations: 0 / 1.014 GB, free: 24.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006353/3.52, allocations: 1.427 MB / 1.015 GB, free: 24.29 MB / 426.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.01297/3.533, allocations: 5.028 MB / 1.02 GB, free: 23.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01082/3.544, allocations: 3.082 MB / 1.023 GB, free: 23.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/3.544, allocations: 9.906 kB / 1.023 GB, free: 23.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003585/3.547, allocations: 1.013 MB / 1.024 GB, free: 23.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006281/3.554, allocations: 0.6921 MB / 1.025 GB, free: 23.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/3.572, allocations: 10.62 MB / 1.035 GB, free: 32.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/3.574, allocations: 1.406 MB / 1.036 GB, free: 31.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/3.576, allocations: 0.6558 MB / 1.037 GB, free: 31.37 MB / 442.7 MB Notification: Performance of SimCode: time 1.202e-06/3.576, allocations: 0 / 1.037 GB, free: 31.37 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.967/7.542, allocations: 47.8 MB / 1.084 GB, free: 26.67 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat