Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01086/0.01086, allocations: 106.6 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001185/0.001185, allocations: 181.1 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.157/2.157, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3042/0.3042, allocations: 40.04 MB / 296.5 MB, free: 6.305 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.000464, allocations: 8 kB / 361.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1372, allocations: 54.87 MB / 416 MB, free: 9.016 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.525/0.6623, allocations: 129.1 MB / 0.5324 GB, free: 5.395 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01946/0.6818, allocations: 9.145 MB / 0.5413 GB, free: 12.24 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001471/0.6833, allocations: 35.69 kB / 0.5413 GB, free: 12.2 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002271/0.6856, allocations: 354.2 kB / 0.5417 GB, free: 11.86 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008145/0.6938, allocations: 1.18 MB / 0.5428 GB, free: 10.67 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01067/0.7046, allocations: 2.101 MB / 0.5449 GB, free: 8.566 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003749/0.7083, allocations: 1.503 MB / 0.5463 GB, free: 7.062 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/0.71, allocations: 0.6202 MB / 0.547 GB, free: 6.434 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.7128, allocations: 0.8179 MB / 0.5478 GB, free: 5.613 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/0.7151, allocations: 0.7711 MB / 0.5485 GB, free: 4.84 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003434/0.7155, allocations: 52 kB / 0.5486 GB, free: 4.789 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005719/0.7212, allocations: 1.837 MB / 0.5503 GB, free: 2.949 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008335/0.7221, allocations: 319.1 kB / 0.5507 GB, free: 2.637 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005454/0.7226, allocations: 217.2 kB / 0.5509 GB, free: 2.418 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00513/0.7278, allocations: 1.832 MB / 0.5527 GB, free: 0.582 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.7278, allocations: 0 / 0.5527 GB, free: 0.582 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.7279, allocations: 0 / 0.5527 GB, free: 0.582 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.203e-05/0.7279, allocations: 0 / 0.5527 GB, free: 0.582 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.005366/0.7333, allocations: 1.375 MB / 0.554 GB, free: 15.15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.7333, allocations: 8.031 kB / 0.554 GB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004134/0.7338, allocations: 126.5 kB / 0.5541 GB, free: 15.01 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005991/0.7344, allocations: 110.8 kB / 0.5542 GB, free: 14.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.7365, allocations: 0.7064 MB / 0.5549 GB, free: 14.15 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.7367, allocations: 116.7 kB / 0.555 GB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002283/0.7369, allocations: 71.89 kB / 0.5551 GB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003278/0.7402, allocations: 1.184 MB / 0.5563 GB, free: 12.74 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.898e-05/0.7403, allocations: 11.72 kB / 0.5563 GB, free: 12.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.7405, allocations: 35.97 kB / 0.5563 GB, free: 12.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001818/0.7407, allocations: 77.94 kB / 0.5564 GB, free: 12.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003458/0.7442, allocations: 1.191 MB / 0.5575 GB, free: 11.43 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.01469/0.7589, allocations: 5.037 MB / 0.5625 GB, free: 6.082 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.7612, allocations: 0.6529 MB / 0.5631 GB, free: 5.422 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005646/0.7669, allocations: 2.49 MB / 0.5655 GB, free: 2.703 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.767, allocations: 39 kB / 0.5656 GB, free: 2.656 MB / 442.7 MB Notification: Performance of pre-optimization done (n=51): time 5.731e-06/0.767, allocations: 7.938 kB / 0.5656 GB, free: 2.648 MB / 442.7 MB Notification: Performance of matching and sorting (n=56): time 0.01304/0.7801, allocations: 2.929 MB / 0.5684 GB, free: 15.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.7802, allocations: 162.8 kB / 0.5686 GB, free: 15.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/0.7821, allocations: 0.8798 MB / 0.5694 GB, free: 14.52 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002413/0.7824, allocations: 37.7 kB / 0.5695 GB, free: 14.48 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005236/0.783, allocations: 490.6 kB / 0.5699 GB, free: 13.99 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000333/0.7833, allocations: 209.1 kB / 0.5701 GB, free: 13.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.7834, allocations: 20 kB / 0.5702 GB, free: 13.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002382/0.7837, allocations: 402.7 kB / 0.5705 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.785, allocations: 433.7 kB / 0.571 GB, free: 12.94 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.7867, allocations: 0.7348 MB / 0.5717 GB, free: 12.06 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.7884, allocations: 0.5067 MB / 0.5722 GB, free: 11.55 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.7884, allocations: 8 kB / 0.5722 GB, free: 11.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.004768/0.7932, allocations: 1.527 MB / 0.5737 GB, free: 9.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001664/0.7949, allocations: 3.739 MB / 0.5773 GB, free: 5.945 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.533e-05/0.795, allocations: 8 kB / 0.5773 GB, free: 5.938 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002972/0.798, allocations: 0.5138 MB / 0.5778 GB, free: 5.414 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/0.7996, allocations: 199.6 kB / 0.578 GB, free: 5.219 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004114/0.8038, allocations: 2.915 MB / 0.5809 GB, free: 2.117 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.8056, allocations: 64.12 kB / 0.5809 GB, free: 2.055 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.8059, allocations: 61.89 kB / 0.581 GB, free: 1.996 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.8059, allocations: 7.953 kB / 0.581 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004398/0.8103, allocations: 1.315 MB / 0.5823 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.277e-05/0.8104, allocations: 8 kB / 0.5823 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/0.8121, allocations: 334.6 kB / 0.5826 GB, free: 308 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.8138, allocations: 199.6 kB / 0.5828 GB, free: 108 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003216/0.817, allocations: 2.71 MB / 0.5854 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.8185, allocations: 51.88 kB / 0.5855 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.8186, allocations: 47.98 kB / 0.5855 GB, free: 13.12 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0008666/0.8195, allocations: 383.7 kB / 0.5859 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/0.8198, allocations: 86.97 kB / 0.586 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004197/0.824, allocations: 1.371 MB / 0.5873 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.8241, allocations: 4 kB / 0.5873 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.8241, allocations: 0 / 0.5873 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.8241, allocations: 11.92 kB / 0.5873 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00622/0.8304, allocations: 2.314 MB / 0.5896 GB, free: 8.809 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.8304, allocations: 4 kB / 0.5896 GB, free: 8.805 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000925/0.8314, allocations: 87.88 kB / 0.5897 GB, free: 8.719 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002626/0.834, allocations: 0.506 MB / 0.5902 GB, free: 8.203 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/0.8342, allocations: 19.98 kB / 0.5902 GB, free: 8.184 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00376/0.838, allocations: 2.919 MB / 0.5931 GB, free: 5.082 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.838, allocations: 3.938 kB / 0.5931 GB, free: 5.078 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004722/0.8428, allocations: 1.757 MB / 0.5948 GB, free: 3.258 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008398/0.8437, allocations: 291.8 kB / 0.5951 GB, free: 2.953 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/0.8439, allocations: 15.95 kB / 0.5951 GB, free: 2.938 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.845, allocations: 43.91 kB / 0.5951 GB, free: 2.895 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/0.8453, allocations: 56.53 kB / 0.5952 GB, free: 2.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.8454, allocations: 27.98 kB / 0.5952 GB, free: 2.812 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001249/0.8467, allocations: 0.5927 MB / 0.5958 GB, free: 2.227 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8467, allocations: 0 / 0.5958 GB, free: 2.227 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003272/0.85, allocations: 0.777 MB / 0.5965 GB, free: 1.449 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.3125/1.163, allocations: 2.954 MB / 0.5994 GB, free: 166.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006539/1.169, allocations: 1.849 MB / 0.6012 GB, free: 166.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/1.169, allocations: 1.25 kB / 0.6012 GB, free: 166.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002401/1.172, allocations: 0.5774 MB / 0.6018 GB, free: 166.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002814/1.174, allocations: 339.7 kB / 0.6021 GB, free: 166.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/1.185, allocations: 9.608 MB / 0.6115 GB, free: 158.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009439/1.186, allocations: 1.081 MB / 0.6126 GB, free: 157.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002582/1.189, allocations: 425.8 kB / 0.613 GB, free: 157.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009361/1.19, allocations: 353.6 kB / 0.6133 GB, free: 157.3 MB / 474.7 MB Notification: Performance of SimCode: time 8.61e-07/1.19, allocations: 0 / 0.6133 GB, free: 157.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/1.29, allocations: 33.78 MB / 0.6463 GB, free: 136.9 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/1.29, allocations: 286 kB / 0.6466 GB, free: 136.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.15/5.44, allocations: 3.938 kB / 0.6466 GB, free: 136.6 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat does not exist to compare? outputFormat=mat