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.TestInitialization.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.TestInitialization,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.0155/0.01551, allocations: 104.1 kB / 15.05 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.001879/0.001879, allocations: 171.8 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 1.757/1.757, allocations: 170.9 MB / 187.6 MB, free: 0.9492 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.2525/0.2525, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.0004743, allocations: 16 kB / 323.6 MB, free: 29.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1286, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.5419/0.6706, allocations: 129.1 MB / 0.4896 GB, free: 5.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02109/0.6918, allocations: 9.139 MB / 0.4986 GB, free: 12.99 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.6932, allocations: 35.69 kB / 0.4986 GB, free: 12.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.6953, allocations: 354.1 kB / 0.4989 GB, free: 12.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005538/0.7008, allocations: 1.18 MB / 0.5001 GB, free: 11.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009596/0.7105, allocations: 2.117 MB / 0.5022 GB, free: 9.301 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003903/0.7144, allocations: 1.491 MB / 0.5036 GB, free: 7.805 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001642/0.7161, allocations: 0.6257 MB / 0.5042 GB, free: 7.168 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002775/0.7189, allocations: 0.818 MB / 0.505 GB, free: 6.348 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002449/0.7214, allocations: 0.7672 MB / 0.5058 GB, free: 5.578 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004597/0.722, allocations: 52 kB / 0.5058 GB, free: 5.527 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006089/0.7281, allocations: 1.833 MB / 0.5076 GB, free: 3.691 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009035/0.729, allocations: 331.1 kB / 0.5079 GB, free: 3.367 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00054/0.7296, allocations: 213.2 kB / 0.5081 GB, free: 3.152 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006087/0.7357, allocations: 1.829 MB / 0.5099 GB, free: 1.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7358, allocations: 0 / 0.5099 GB, free: 1.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.7358, allocations: 0 / 0.5099 GB, free: 1.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.202e-05/0.7359, allocations: 0 / 0.5099 GB, free: 1.32 MB / 362.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.006885/0.7427, allocations: 1.375 MB / 0.5113 GB, free: 15.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.197e-05/0.7428, allocations: 12.03 kB / 0.5113 GB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005991/0.7435, allocations: 122.5 kB / 0.5114 GB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.7445, allocations: 122.7 kB / 0.5115 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/0.7475, allocations: 0.7062 MB / 0.5122 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002726/0.7479, allocations: 116.7 kB / 0.5123 GB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003949/0.7483, allocations: 67.97 kB / 0.5124 GB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00494/0.7532, allocations: 1.188 MB / 0.5135 GB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-05/0.7533, allocations: 7.922 kB / 0.5135 GB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002222/0.7536, allocations: 27.98 kB / 0.5136 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002375/0.7538, allocations: 73.95 kB / 0.5136 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00516/0.759, allocations: 1.195 MB / 0.5148 GB, free: 12.16 MB / 378.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.02074/0.7798, allocations: 5.029 MB / 0.5197 GB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003161/0.783, allocations: 0.6611 MB / 0.5204 GB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007546/0.7906, allocations: 2.494 MB / 0.5228 GB, free: 3.445 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.944e-05/0.7907, allocations: 39 kB / 0.5228 GB, free: 3.398 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 9.258e-06/0.7908, allocations: 3.938 kB / 0.5228 GB, free: 3.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=56): time 0.01757/0.8084, allocations: 2.93 MB / 0.5257 GB, free: 356 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.8086, allocations: 166.8 kB / 0.5259 GB, free: 152 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00267/0.8113, allocations: 0.8836 MB / 0.5267 GB, free: 15.26 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002747/0.8116, allocations: 37.7 kB / 0.5268 GB, free: 15.21 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007197/0.8123, allocations: 486.6 kB / 0.5272 GB, free: 14.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005088/0.8129, allocations: 205.1 kB / 0.5274 GB, free: 14.53 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.813, allocations: 20 kB / 0.5274 GB, free: 14.51 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003545/0.8134, allocations: 402.7 kB / 0.5278 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001936/0.8154, allocations: 429.7 kB / 0.5282 GB, free: 13.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00237/0.8178, allocations: 0.7426 MB / 0.529 GB, free: 12.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.8196, allocations: 0.5106 MB / 0.5295 GB, free: 12.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.8196, allocations: 7.938 kB / 0.5295 GB, free: 12.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.005153/0.8248, allocations: 1.523 MB / 0.5309 GB, free: 10.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001719/0.8266, allocations: 3.748 MB / 0.5346 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.531e-05/0.8267, allocations: 8 kB / 0.5346 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002974/0.8296, allocations: 0.5177 MB / 0.5351 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.8313, allocations: 195.7 kB / 0.5353 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004509/0.8359, allocations: 2.923 MB / 0.5382 GB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.8377, allocations: 55.88 kB / 0.5382 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002526/0.838, allocations: 51.97 kB / 0.5383 GB, free: 2.738 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.838, allocations: 4 kB / 0.5383 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004469/0.8425, allocations: 1.319 MB / 0.5396 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-05/0.8426, allocations: 8 kB / 0.5396 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001643/0.8442, allocations: 338.5 kB / 0.5399 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.8459, allocations: 203.7 kB / 0.5401 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003294/0.8493, allocations: 2.698 MB / 0.5427 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.8508, allocations: 56.09 kB / 0.5428 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/0.851, allocations: 47.98 kB / 0.5428 GB, free: 13.86 MB / 410.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.000917/0.8519, allocations: 381.7 kB / 0.5432 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003237/0.8523, allocations: 90.88 kB / 0.5433 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004456/0.8568, allocations: 1.357 MB / 0.5446 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-05/0.8568, allocations: 4 kB / 0.5446 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.8569, allocations: 0 / 0.5446 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-05/0.8569, allocations: 7.984 kB / 0.5446 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006539/0.8634, allocations: 2.318 MB / 0.5469 GB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.8635, allocations: 4 kB / 0.5469 GB, free: 9.559 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009524/0.8645, allocations: 83.88 kB / 0.547 GB, free: 9.477 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002805/0.8673, allocations: 0.5215 MB / 0.5475 GB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/0.8675, allocations: 20 kB / 0.5475 GB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004158/0.8717, allocations: 2.915 MB / 0.5503 GB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.8718, allocations: 64 / 0.5503 GB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005064/0.8768, allocations: 1.765 MB / 0.5521 GB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009573/0.8778, allocations: 291.8 kB / 0.5523 GB, free: 3.688 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.8781, allocations: 12 kB / 0.5523 GB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.8794, allocations: 43.97 kB / 0.5524 GB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002734/0.8797, allocations: 56.47 kB / 0.5524 GB, free: 3.578 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.8798, allocations: 23.98 kB / 0.5525 GB, free: 3.555 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001501/0.8813, allocations: 0.5927 MB / 0.553 GB, free: 2.969 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.8814, allocations: 0 / 0.553 GB, free: 2.969 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003739/0.8851, allocations: 0.7809 MB / 0.5538 GB, free: 2.188 MB / 410.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.008124/0.8933, allocations: 2.97 MB / 0.5567 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006654/0.9, allocations: 1.852 MB / 0.5585 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.9001, allocations: 4 kB / 0.5585 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002488/0.9026, allocations: 0.5758 MB / 0.5591 GB, free: 12.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003046/0.9057, allocations: 346.8 kB / 0.5594 GB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.9191, allocations: 9.603 MB / 0.5688 GB, free: 2.516 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.9201, allocations: 1.082 MB / 0.5698 GB, free: 1.398 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002481/0.9227, allocations: 423.4 kB / 0.5702 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009429/0.9236, allocations: 355.2 kB / 0.5706 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.9237, allocations: 0 / 0.5706 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4594/1.383, allocations: 33.76 MB / 0.6036 GB, free: 163 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/1.383, allocations: 277.9 kB / 0.6038 GB, free: 162.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.018/5.401, allocations: 0 / 0.6038 GB, free: 162.6 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat does not exist to compare? outputFormat=mat