Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01086/0.01087, allocations: 106 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001296/0.001296, allocations: 170.3 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 2.03/2.03, allocations: 170.9 MB / 187.6 MB, free: 0.8555 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2621/0.2621, allocations: 38.08 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007396/0.0007398, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1088, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.05128/0.1602, allocations: 30.38 MB / 402.7 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02763/0.1879, allocations: 14.2 MB / 416.9 MB, free: 152 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.189, allocations: 27.81 kB / 416.9 MB, free: 124 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.1908, allocations: 358.5 kB / 417.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01344/0.2043, allocations: 3.101 MB / 420.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01111/0.2154, allocations: 2.505 MB / 422.9 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002622/0.2181, allocations: 1.04 MB / 423.9 MB, free: 9.105 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.2194, allocations: 446.3 kB / 424.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002184/0.2216, allocations: 0.6269 MB / 425 MB, free: 8.035 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.2228, allocations: 406.5 kB / 425.4 MB, free: 7.637 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002417/0.2231, allocations: 39.94 kB / 425.4 MB, free: 7.598 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02102/0.2441, allocations: 7.109 MB / 432.5 MB, free: 492 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006184/0.2448, allocations: 187.5 kB / 432.7 MB, free: 304 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.2453, allocations: 169.3 kB / 432.9 MB, free: 128 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2964/0.5417, allocations: 3.358 MB / 436.2 MB, free: 18.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5418, allocations: 2.812 kB / 436.2 MB, free: 18.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.5418, allocations: 0 / 436.2 MB, free: 18.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.546e-05/0.5418, allocations: 0 / 436.2 MB, free: 18.16 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.008295/0.5501, allocations: 1.448 MB / 437.7 MB, free: 17.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.5502, allocations: 9.156 kB / 437.7 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003368/0.5506, allocations: 106.2 kB / 437.8 MB, free: 17.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004314/0.5549, allocations: 354.9 kB / 438.1 MB, free: 17.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.5566, allocations: 0.526 MB / 438.7 MB, free: 17.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.5567, allocations: 112.6 kB / 438.8 MB, free: 16.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.5569, allocations: 56.84 kB / 438.8 MB, free: 16.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004615/0.5615, allocations: 1.151 MB / 440 MB, free: 16.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/0.5616, allocations: 6.969 kB / 440 MB, free: 16.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/0.5618, allocations: 24.42 kB / 440 MB, free: 16.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.116e-05/0.5619, allocations: 35.72 kB / 440 MB, free: 16.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005456/0.5674, allocations: 1.085 MB / 441.1 MB, free: 16.81 MB / 330.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.01084/0.5783, allocations: 4.953 MB / 446.1 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00406/0.5824, allocations: 0.8518 MB / 446.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1175/0.6999, allocations: 33.24 MB / 480.2 MB, free: 7.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.744e-05/0.7001, allocations: 46.95 kB / 480.2 MB, free: 7.117 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 2.926e-06/0.7001, allocations: 0 / 480.2 MB, free: 7.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=59): time 0.0388/0.7389, allocations: 4.272 MB / 484.5 MB, free: 3.867 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.858e-05/0.739, allocations: 114.2 kB / 484.6 MB, free: 3.734 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.7401, allocations: 0.5461 MB / 485.1 MB, free: 3.297 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002252/0.7403, allocations: 36.62 kB / 485.2 MB, free: 3.262 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/0.7407, allocations: 354.9 kB / 485.5 MB, free: 3.004 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/0.741, allocations: 197.4 kB / 485.7 MB, free: 2.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.443e-05/0.7412, allocations: 16.94 kB / 485.7 MB, free: 2.836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.7414, allocations: 373.3 kB / 486.1 MB, free: 2.488 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002059/0.7434, allocations: 487.2 kB / 486.6 MB, free: 2.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00227/0.7458, allocations: 0.7144 MB / 487.3 MB, free: 1.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002216/0.748, allocations: 0.514 MB / 487.8 MB, free: 1.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.7481, allocations: 0 / 487.8 MB, free: 1.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.006757/0.7548, allocations: 1.633 MB / 489.4 MB, free: 8 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001196/0.7561, allocations: 2.703 MB / 492.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.861e-05/0.7561, allocations: 8 kB / 492.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004718/0.7608, allocations: 1.191 MB / 493.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.762, allocations: 153.8 kB / 493.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007631/0.7697, allocations: 2.822 MB / 496.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/0.772, allocations: 117.1 kB / 496.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002282/0.7722, allocations: 41.73 kB / 496.5 MB, free: 9.371 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.7723, allocations: 4 kB / 496.5 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006157/0.7784, allocations: 1.445 MB / 497.9 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.7785, allocations: 8 kB / 497.9 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003793/0.7823, allocations: 1.034 MB / 499 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.7837, allocations: 163.8 kB / 499.1 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009692/0.7934, allocations: 5.08 MB / 0.4924 GB, free: 2.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/0.7956, allocations: 104.3 kB / 0.4925 GB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/0.7959, allocations: 42.72 kB / 0.4925 GB, free: 2.324 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 71 * 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: 0 * Non-linear torn systems: 3 {2 7,2 1,3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008986/0.7968, allocations: 333.5 kB / 0.4928 GB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/0.7971, allocations: 67.25 kB / 0.4929 GB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/0.8085, allocations: 4.534 MB / 0.4973 GB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.993e-05/0.8087, allocations: 53.05 kB / 0.4974 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.8087, allocations: 3.953 kB / 0.4974 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.272e-05/0.8087, allocations: 3.984 kB / 0.4974 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01651/0.8252, allocations: 6.512 MB / 0.5037 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.8253, allocations: 2.078 kB / 0.5037 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007149/0.826, allocations: 91.12 kB / 0.5038 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007193/0.8332, allocations: 2.287 MB / 0.5061 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001954/0.8335, allocations: 19.75 kB / 0.5061 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009379/0.8429, allocations: 4.105 MB / 0.5101 GB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.8429, allocations: 4.031 kB / 0.5101 GB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008887/0.8518, allocations: 3.399 MB / 0.5134 GB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.8529, allocations: 378.3 kB / 0.5138 GB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/0.8532, allocations: 13.62 kB / 0.5138 GB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002002/0.8552, allocations: 110.1 kB / 0.5139 GB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000312/0.8556, allocations: 69.92 kB / 0.514 GB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.8557, allocations: 32.88 kB / 0.514 GB, free: 2.637 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009386/0.8566, allocations: 468.9 kB / 0.5144 GB, free: 2.289 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.352e-06/0.8567, allocations: 0 / 0.5144 GB, free: 2.289 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008219/0.8649, allocations: 1.374 MB / 0.5158 GB, free: 0.9961 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 29 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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: 0 * Non-linear torn systems: 3 {2 8,2 1,3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.02095/0.8859, allocations: 4.786 MB / 0.5205 GB, free: 12.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.017/0.9029, allocations: 2.872 MB / 0.5233 GB, free: 9.801 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.903, allocations: 2.516 kB / 0.5233 GB, free: 9.801 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007953/0.911, allocations: 1.413 MB / 0.5246 GB, free: 8.391 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002861/0.9139, allocations: 282.7 kB / 0.5249 GB, free: 8.121 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03072/0.9446, allocations: 12.07 MB / 0.5367 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001605/0.9463, allocations: 1.221 MB / 0.5379 GB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003322/0.9497, allocations: 0.7345 MB / 0.5386 GB, free: 9.973 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/0.9508, allocations: 419.3 kB / 0.539 GB, free: 9.562 MB / 410.7 MB Notification: Performance of SimCode: time 1.233e-06/0.9508, allocations: 0 / 0.539 GB, free: 9.562 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4811/1.432, allocations: 67 MB / 0.6044 GB, free: 181.8 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000293/1.432, allocations: 263.6 kB / 0.6047 GB, free: 181.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/9.084, allocations: 3.938 kB / 0.6047 GB, free: 181.5 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat