Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.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.Sensors.TestFlowRate,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestFlowRate",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.01053/0.01053, allocations: 107.4 kB / 15.06 MB, free: 5.949 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.001194/0.001194, allocations: 185.5 kB / 15.95 MB, free: 5.902 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 1.903/1.903, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.2611/0.2611, allocations: 40.05 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005079/0.000508, allocations: 12 kB / 361.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1115, allocations: 54.87 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate): time 0.3559/0.4674, allocations: 35.66 MB / 451.7 MB, free: 32.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0218/0.4893, allocations: 13.4 MB / 465.1 MB, free: 32.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007921/0.4901, allocations: 20.84 kB / 465.1 MB, free: 32.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.4912, allocations: 243 kB / 465.4 MB, free: 32.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01498/0.5062, allocations: 3.623 MB / 469 MB, free: 32.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007111/0.5133, allocations: 1.728 MB / 470.7 MB, free: 32.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.515, allocations: 0.7008 MB / 471.4 MB, free: 32.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006315/0.5157, allocations: 291.2 kB / 471.7 MB, free: 32.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.5171, allocations: 490.9 kB / 472.2 MB, free: 32.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005864/0.5177, allocations: 272.1 kB / 472.4 MB, free: 32.01 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.478e-05/0.5179, allocations: 19.88 kB / 472.5 MB, free: 32.01 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01846/0.5363, allocations: 7.177 MB / 479.6 MB, free: 31.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.5366, allocations: 95.73 kB / 479.7 MB, free: 31.92 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002734/0.5369, allocations: 129.8 kB / 479.8 MB, free: 31.87 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009041/0.546, allocations: 3.095 MB / 482.9 MB, free: 31.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.546, allocations: 0 / 482.9 MB, free: 31.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.5461, allocations: 4 kB / 482.9 MB, free: 31.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.5461, allocations: 0 / 482.9 MB, free: 31.72 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.005505/0.5516, allocations: 1.269 MB / 484.2 MB, free: 30.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.5517, allocations: 11.91 kB / 484.2 MB, free: 30.95 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002379/0.5519, allocations: 77.77 kB / 484.3 MB, free: 30.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003134/0.5551, allocations: 282.2 kB / 484.6 MB, free: 30.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.5562, allocations: 417.9 kB / 485 MB, free: 30.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/0.5562, allocations: 36.88 kB / 485 MB, free: 30.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.934e-05/0.5563, allocations: 39.31 kB / 485.1 MB, free: 30.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/0.5589, allocations: 0.6884 MB / 485.8 MB, free: 30.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.559, allocations: 7.125 kB / 485.8 MB, free: 30.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.607e-05/0.5591, allocations: 17.7 kB / 485.8 MB, free: 30.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.5591, allocations: 10.64 kB / 485.8 MB, free: 30.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002746/0.5619, allocations: 0.6139 MB / 486.4 MB, free: 30.36 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.00471/0.5666, allocations: 2.872 MB / 489.3 MB, free: 28.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/0.569, allocations: 469.5 kB / 489.7 MB, free: 27.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3271/0.8961, allocations: 82.74 MB / 0.5591 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.8962, allocations: 38.5 kB / 0.5591 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 2.845e-06/0.8962, allocations: 0 / 0.5591 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.004619/0.9009, allocations: 0.9086 MB / 0.56 GB, free: 15.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.901, allocations: 102.8 kB / 0.5601 GB, free: 15.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005718/0.9016, allocations: 357.5 kB / 0.5604 GB, free: 15.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.9016, allocations: 29.7 kB / 0.5604 GB, free: 15.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.9019, allocations: 274.9 kB / 0.5607 GB, free: 15.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.902, allocations: 98.5 kB / 0.5608 GB, free: 15.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.9021, allocations: 15.94 kB / 0.5608 GB, free: 15.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.9022, allocations: 346.8 kB / 0.5611 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005813/0.9028, allocations: 128.8 kB / 0.5613 GB, free: 14.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006904/0.9035, allocations: 292.5 kB / 0.5616 GB, free: 14.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006844/0.9042, allocations: 171.8 kB / 0.5617 GB, free: 14.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.9042, allocations: 0 / 0.5617 GB, free: 14.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001767/0.906, allocations: 497.9 kB / 0.5622 GB, free: 13.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006565/0.9067, allocations: 1.747 MB / 0.5639 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.9067, allocations: 4 kB / 0.5639 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004055/0.9108, allocations: 231.7 kB / 0.5641 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007636/0.9116, allocations: 99.81 kB / 0.5642 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007497/0.9124, allocations: 0.5875 MB / 0.5648 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006309/0.913, allocations: 59.64 kB / 0.5648 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/0.9131, allocations: 23.98 kB / 0.5649 GB, free: 10.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.9131, allocations: 4 kB / 0.5649 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00149/0.9146, allocations: 413.3 kB / 0.5653 GB, free: 10.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.9147, allocations: 4 kB / 0.5653 GB, free: 10.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.9147, allocations: 8 kB / 0.5653 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007556/0.9154, allocations: 115.8 kB / 0.5654 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.9155, allocations: 7.984 kB / 0.5654 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005939/0.9161, allocations: 52.7 kB / 0.5654 GB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/0.9162, allocations: 27.98 kB / 0.5655 GB, free: 10.03 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004126/0.9166, allocations: 248 kB / 0.5657 GB, free: 9.781 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.9167, allocations: 43.48 kB / 0.5658 GB, free: 9.738 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003956/0.9207, allocations: 1.99 MB / 0.5677 GB, free: 7.754 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.66e-05/0.9208, allocations: 27.95 kB / 0.5677 GB, free: 7.727 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.9208, allocations: 7.875 kB / 0.5677 GB, free: 7.719 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.9208, allocations: 7.609 kB / 0.5677 GB, free: 7.715 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.9226, allocations: 0.9872 MB / 0.5687 GB, free: 6.688 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.9226, allocations: 0 / 0.5687 GB, free: 6.688 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005692/0.9232, allocations: 71.94 kB / 0.5688 GB, free: 6.617 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002149/0.9253, allocations: 0.5763 MB / 0.5693 GB, free: 6.035 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/0.9254, allocations: 11.98 kB / 0.5693 GB, free: 6.023 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.9266, allocations: 0.9949 MB / 0.5703 GB, free: 5.004 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.9266, allocations: 0 / 0.5703 GB, free: 5.004 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002602/0.9292, allocations: 1.302 MB / 0.5716 GB, free: 3.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004501/0.9297, allocations: 243.4 kB / 0.5718 GB, free: 3.422 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.9298, allocations: 8 kB / 0.5718 GB, free: 3.414 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/0.9303, allocations: 31.97 kB / 0.5719 GB, free: 3.383 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.9305, allocations: 35.92 kB / 0.5719 GB, free: 3.348 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.9305, allocations: 16 kB / 0.5719 GB, free: 3.332 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005404/0.9311, allocations: 306.9 kB / 0.5722 GB, free: 3.031 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.9311, allocations: 0 / 0.5722 GB, free: 3.031 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005133/0.9362, allocations: 1.147 MB / 0.5733 GB, free: 1.883 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01147/0.9478, allocations: 2.772 MB / 0.576 GB, free: 15.19 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002766/0.9506, allocations: 0.7924 MB / 0.5768 GB, free: 14.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.9506, allocations: 0 / 0.5768 GB, free: 14.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.9517, allocations: 473.8 kB / 0.5773 GB, free: 13.94 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.9537, allocations: 202.2 kB / 0.5774 GB, free: 13.75 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.966, allocations: 6.806 MB / 0.5841 GB, free: 6.859 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000669/0.9667, allocations: 1.003 MB / 0.5851 GB, free: 5.828 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001535/0.9683, allocations: 0.5179 MB / 0.5856 GB, free: 5.316 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005258/0.9688, allocations: 287.3 kB / 0.5859 GB, free: 5.035 MB / 458.7 MB Notification: Performance of SimCode: time 1.212e-06/0.9689, allocations: 0 / 0.5859 GB, free: 5.035 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.405/1.374, allocations: 47.92 MB / 0.6327 GB, free: 166.8 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002655/1.374, allocations: 259.6 kB / 0.6329 GB, free: 166.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.821/7.196, allocations: 3.469 kB / 0.6329 GB, free: 166.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate_res.mat does not exist to compare? outputFormat=mat