Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.942/1.942, allocations: 194.9 MB / 211.1 MB, free: 8.57 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003611, allocations: 12 kB / 264 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3103, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006388/0.3167, allocations: 3.828 MB / 312.4 MB, free: 8.922 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003155/0.3199, allocations: 1.241 MB / 313.6 MB, free: 7.676 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004694/0.3204, allocations: 7.938 kB / 313.6 MB, free: 7.668 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003477/0.3208, allocations: 99.27 kB / 313.7 MB, free: 7.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009668/0.3218, allocations: 335 kB / 314.1 MB, free: 7.242 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005999/0.3224, allocations: 159.8 kB / 314.2 MB, free: 7.086 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.3239, allocations: 0.7575 MB / 315 MB, free: 6.328 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005529/0.3245, allocations: 254.6 kB / 315.2 MB, free: 6.062 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005885/0.3251, allocations: 370.8 kB / 315.6 MB, free: 5.699 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007267/0.3258, allocations: 430.3 kB / 316 MB, free: 5.277 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.326, allocations: 60 kB / 316.1 MB, free: 5.219 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.3263, allocations: 60 kB / 316.1 MB, free: 5.16 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.3265, allocations: 163.4 kB / 316.3 MB, free: 5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002819/0.3268, allocations: 197.3 kB / 316.5 MB, free: 4.801 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.328, allocations: 0.8189 MB / 317.3 MB, free: 3.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.328, allocations: 0 / 317.3 MB, free: 3.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.328, allocations: 4 kB / 317.3 MB, free: 3.977 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.328, allocations: 0 / 317.3 MB, free: 3.977 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00331/0.3313, allocations: 1.158 MB / 318.5 MB, free: 2.75 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.3314, allocations: 12.02 kB / 318.5 MB, free: 2.738 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002934/0.3317, allocations: 119.6 kB / 318.6 MB, free: 2.613 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002622/0.332, allocations: 114.8 kB / 318.7 MB, free: 2.5 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.3333, allocations: 0.5037 MB / 319.2 MB, free: 1.953 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004975/0.3338, allocations: 178.4 kB / 319.4 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.3339, allocations: 63.98 kB / 319.4 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/0.3365, allocations: 0.8705 MB / 320.3 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.3366, allocations: 0 / 320.3 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.3367, allocations: 28 kB / 320.3 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.3367, allocations: 20 kB / 320.4 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002714/0.3394, allocations: 0.6608 MB / 321 MB, free: 16 kB / 250.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.005142/0.3446, allocations: 2.003 MB / 323 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002438/0.3471, allocations: 0.8889 MB / 323.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.341e-05/0.3472, allocations: 12.66 kB / 323.9 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/0.3473, allocations: 51.17 kB / 324 MB, free: 12.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.547e-06/0.3473, allocations: 0 / 324 MB, free: 12.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.009728/0.357, allocations: 1.998 MB / 326 MB, free: 10.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004258/0.3575, allocations: 0.8272 MB / 326.8 MB, free: 9.766 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.3585, allocations: 0.5432 MB / 327.3 MB, free: 9.211 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001613/0.3587, allocations: 45.7 kB / 327.4 MB, free: 9.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003895/0.3591, allocations: 333 kB / 327.7 MB, free: 8.832 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/0.3594, allocations: 248.2 kB / 327.9 MB, free: 8.586 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/0.3595, allocations: 19.94 kB / 328 MB, free: 8.566 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.3597, allocations: 386.8 kB / 328.3 MB, free: 8.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.361, allocations: 301.8 kB / 328.6 MB, free: 7.887 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.3626, allocations: 0.5721 MB / 329.2 MB, free: 7.219 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.3641, allocations: 412.2 kB / 329.6 MB, free: 6.797 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3641, allocations: 4 kB / 329.6 MB, free: 6.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.004898/0.369, allocations: 1.164 MB / 330.8 MB, free: 5.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.087e-05/0.3691, allocations: 85.11 kB / 330.9 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.3692, allocations: 7.984 kB / 330.9 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.3703, allocations: 247.2 kB / 331.1 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.3716, allocations: 147.8 kB / 331.3 MB, free: 5.082 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01641/0.388, allocations: 6.573 MB / 337.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/0.3902, allocations: 127.5 kB / 338 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/0.3904, allocations: 24 kB / 338 MB, free: 13.83 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007898/0.3912, allocations: 213.7 kB / 338.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003534/0.3916, allocations: 87.02 kB / 338.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003532/0.3919, allocations: 91 kB / 338.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.392, allocations: 8 kB / 338.4 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.392, allocations: 0 / 338.4 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006482/0.3985, allocations: 1.327 MB / 339.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009595/0.4082, allocations: 1.956 MB / 341.7 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.4082, allocations: 0 / 341.7 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/0.41, allocations: 155.8 kB / 341.8 MB, free: 9.801 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001465/0.4115, allocations: 214.7 kB / 342 MB, free: 9.582 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/0.4116, allocations: 15.98 kB / 342 MB, free: 9.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01326/0.4249, allocations: 5.115 MB / 347.1 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.425, allocations: 128 / 347.1 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00616/0.4312, allocations: 1.511 MB / 348.7 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/0.4315, allocations: 156.1 kB / 348.8 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/0.4317, allocations: 19.95 kB / 348.8 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.433, allocations: 71.84 kB / 348.9 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002701/0.4333, allocations: 68.44 kB / 349 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.819e-05/0.4334, allocations: 23.98 kB / 349 MB, free: 2.168 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007145/0.4341, allocations: 395.1 kB / 349.4 MB, free: 1.781 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4341, allocations: 0 / 349.4 MB, free: 1.781 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001251/0.4354, allocations: 271.7 kB / 349.6 MB, free: 1.516 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 57 * 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 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0065/0.4419, allocations: 2.079 MB / 351.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003824/0.4458, allocations: 1.389 MB / 353.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.4458, allocations: 0 / 353.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002553/0.4484, allocations: 0.8043 MB / 353.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.4499, allocations: 203 kB / 354.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005836/0.4558, allocations: 2.351 MB / 356.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000794/0.4566, allocations: 0.9512 MB / 357.4 MB, free: 9.496 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000734/0.4574, allocations: 81.33 kB / 357.5 MB, free: 9.414 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005883/0.458, allocations: 287.3 kB / 357.8 MB, free: 9.133 MB / 298.7 MB Notification: Performance of SimCode: time 1.482e-06/0.458, allocations: 0 / 357.8 MB, free: 9.133 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06757/0.5255, allocations: 21.41 MB / 379.2 MB, free: 3.73 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003121/0.5259, allocations: 214.1 kB / 379.4 MB, free: 3.48 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.564/4.09, allocations: 0 / 379.4 MB, free: 3.48 MB / 314.7 MB