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.TestVolume.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.TestVolume,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.0114/0.0114, allocations: 110.7 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.2.mo): time 0.001942/0.001942, allocations: 181.9 kB / 15.95 MB, free: 5.52 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.036/2.036, allocations: 194.6 MB / 211.3 MB, free: 11 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.2747/0.2747, allocations: 40.04 MB / 296.5 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004856, allocations: 15.98 kB / 361.2 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1477, allocations: 54.88 MB / 416 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.0724/0.2202, allocations: 30.6 MB / 446.6 MB, free: 3.863 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3281/0.5484, allocations: 14.33 MB / 461 MB, free: 32.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009992/0.5495, allocations: 24.72 kB / 461 MB, free: 32.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.5511, allocations: 366.5 kB / 461.3 MB, free: 32.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0128/0.5639, allocations: 3.111 MB / 464.5 MB, free: 32.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01076/0.5747, allocations: 2.548 MB / 467 MB, free: 32.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002612/0.5774, allocations: 1.067 MB / 468.1 MB, free: 32.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.5786, allocations: 459.1 kB / 468.5 MB, free: 32.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/0.5808, allocations: 0.6253 MB / 469.1 MB, free: 32.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.5821, allocations: 414.1 kB / 469.5 MB, free: 32.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002026/0.5823, allocations: 34.84 kB / 469.6 MB, free: 32.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01928/0.6016, allocations: 7.219 MB / 476.8 MB, free: 32.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005745/0.6023, allocations: 190.2 kB / 477 MB, free: 32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004003/0.6027, allocations: 167 kB / 477.2 MB, free: 31.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009161/0.6119, allocations: 3.404 MB / 480.6 MB, free: 31.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.6119, allocations: 3.938 kB / 480.6 MB, free: 31.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.6119, allocations: 0 / 480.6 MB, free: 31.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.721e-05/0.612, allocations: 2.781 kB / 480.6 MB, free: 31.79 MB / 378.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.006544/0.6185, allocations: 1.474 MB / 482 MB, free: 30.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.6186, allocations: 8.844 kB / 482 MB, free: 30.96 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003392/0.619, allocations: 107.6 kB / 482.1 MB, free: 30.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004469/0.6234, allocations: 379.1 kB / 482.5 MB, free: 30.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.6254, allocations: 0.5256 MB / 483 MB, free: 30.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.6256, allocations: 110 kB / 483.2 MB, free: 30.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002612/0.6259, allocations: 57.69 kB / 483.2 MB, free: 30.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005986/0.6319, allocations: 1.141 MB / 484.3 MB, free: 30.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.632, allocations: 8.938 kB / 484.4 MB, free: 30.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.6322, allocations: 25.94 kB / 484.4 MB, free: 30.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.79e-05/0.6322, allocations: 35.36 kB / 484.4 MB, free: 30.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00475/0.637, allocations: 1.083 MB / 485.5 MB, free: 30.35 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.01102/0.6481, allocations: 4.965 MB / 490.5 MB, free: 27.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004247/0.6524, allocations: 0.8438 MB / 491.3 MB, free: 27.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1158/0.7682, allocations: 33.27 MB / 0.5123 GB, free: 19.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.366e-05/0.7683, allocations: 40.12 kB / 0.5123 GB, free: 19.33 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 4.598e-06/0.7684, allocations: 0 / 0.5123 GB, free: 19.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=59): time 0.0381/0.8065, allocations: 4.283 MB / 0.5165 GB, free: 16.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.8066, allocations: 111.4 kB / 0.5166 GB, free: 15.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009203/0.8075, allocations: 0.5416 MB / 0.5171 GB, free: 15.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001993/0.8077, allocations: 41.7 kB / 0.5172 GB, free: 15.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.808, allocations: 350.2 kB / 0.5175 GB, free: 15.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.8083, allocations: 204.4 kB / 0.5177 GB, free: 14.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.561e-05/0.8084, allocations: 16 kB / 0.5177 GB, free: 14.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.8086, allocations: 374.7 kB / 0.5181 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/0.8105, allocations: 489.7 kB / 0.5186 GB, free: 13.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/0.8124, allocations: 0.7064 MB / 0.5192 GB, free: 13.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001918/0.8144, allocations: 0.5185 MB / 0.5197 GB, free: 12.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.8144, allocations: 4 kB / 0.5198 GB, free: 12.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00593/0.8204, allocations: 1.621 MB / 0.5213 GB, free: 10.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001028/0.8214, allocations: 2.712 MB / 0.524 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.8215, allocations: 8 kB / 0.524 GB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004398/0.8259, allocations: 1.187 MB / 0.5251 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.827, allocations: 155.7 kB / 0.5253 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008147/0.8352, allocations: 2.824 MB / 0.5281 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/0.8374, allocations: 119.8 kB / 0.5282 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/0.8377, allocations: 43.98 kB / 0.5282 GB, free: 3.648 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.8377, allocations: 4 kB / 0.5282 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005734/0.8434, allocations: 1.445 MB / 0.5296 GB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.8435, allocations: 8 kB / 0.5296 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003767/0.8473, allocations: 1.024 MB / 0.5306 GB, free: 1.141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.8486, allocations: 171.7 kB / 0.5308 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009933/0.8586, allocations: 5.077 MB / 0.5358 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.8606, allocations: 103.9 kB / 0.5359 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/0.8609, allocations: 43.98 kB / 0.5359 GB, free: 11.44 MB / 410.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.0008237/0.8617, allocations: 328.8 kB / 0.5362 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.862, allocations: 67.16 kB / 0.5363 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/0.8737, allocations: 4.538 MB / 0.5407 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001047/0.8739, allocations: 43.92 kB / 0.5407 GB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.8739, allocations: 8 kB / 0.5408 GB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.01e-05/0.8739, allocations: 7.938 kB / 0.5408 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/0.8912, allocations: 6.506 MB / 0.5471 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/0.8913, allocations: 0 / 0.5471 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007156/0.892, allocations: 91.88 kB / 0.5472 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007294/0.8993, allocations: 2.288 MB / 0.5494 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002131/0.8996, allocations: 19.98 kB / 0.5495 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009727/0.9093, allocations: 4.11 MB / 0.5535 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.9094, allocations: 0 / 0.5535 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009361/0.9187, allocations: 3.409 MB / 0.5568 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.9198, allocations: 374.6 kB / 0.5572 GB, free: 5.348 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.9201, allocations: 12 kB / 0.5572 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/0.922, allocations: 111.8 kB / 0.5573 GB, free: 5.227 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002946/0.9223, allocations: 68.55 kB / 0.5573 GB, free: 5.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.9224, allocations: 23.98 kB / 0.5574 GB, free: 5.137 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009704/0.9234, allocations: 479 kB / 0.5578 GB, free: 4.672 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.9235, allocations: 0 / 0.5578 GB, free: 4.672 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006686/0.9301, allocations: 1.378 MB / 0.5592 GB, free: 3.293 MB / 426.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.01842/0.9486, allocations: 4.78 MB / 0.5638 GB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01739/0.9661, allocations: 2.884 MB / 0.5667 GB, free: 11.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.9661, allocations: 0 / 0.5667 GB, free: 11.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007915/0.974, allocations: 1.415 MB / 0.568 GB, free: 10.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/0.9769, allocations: 296.2 kB / 0.5683 GB, free: 9.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02539/1.002, allocations: 12.06 MB / 0.5801 GB, free: 13.74 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/1.003, allocations: 1.221 MB / 0.5813 GB, free: 12.49 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002341/1.006, allocations: 0.7388 MB / 0.582 GB, free: 11.76 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007769/1.007, allocations: 419.3 kB / 0.5824 GB, free: 11.35 MB / 458.7 MB Notification: Performance of SimCode: time 8.62e-07/1.007, allocations: 3.938 kB / 0.5824 GB, free: 11.34 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5081/1.515, allocations: 67.32 MB / 0.6482 GB, free: 159.7 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002785/1.515, allocations: 253.4 kB / 0.6484 GB, free: 159.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.239/8.754, allocations: 1.25 kB / 0.6484 GB, free: 159.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat