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.IndirectCooling.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.IndirectCooling,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.039/2.039, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003557, allocations: 8 kB / 264.1 MB, free: 2.516 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2969, allocations: 44.5 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007244/0.3042, allocations: 4.205 MB / 312.8 MB, free: 8.422 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003427/0.3076, allocations: 1.354 MB / 314.1 MB, free: 7.059 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005779/0.3083, allocations: 8 kB / 314.1 MB, free: 7.051 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004219/0.3087, allocations: 123 kB / 314.2 MB, free: 6.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.3099, allocations: 379 kB / 314.6 MB, free: 6.559 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006918/0.3106, allocations: 191.6 kB / 314.8 MB, free: 6.371 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00186/0.3125, allocations: 0.8748 MB / 315.7 MB, free: 5.496 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006552/0.3131, allocations: 323 kB / 316 MB, free: 5.168 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000714/0.3139, allocations: 414.7 kB / 316.4 MB, free: 4.762 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008753/0.3148, allocations: 478.1 kB / 316.9 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.315, allocations: 75.92 kB / 316.9 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.3153, allocations: 68 kB / 317 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002469/0.3155, allocations: 187.3 kB / 317.2 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003088/0.3159, allocations: 229.1 kB / 317.4 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.3172, allocations: 0.9474 MB / 318.4 MB, free: 2.789 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.3173, allocations: 0 / 318.4 MB, free: 2.789 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3173, allocations: 0 / 318.4 MB, free: 2.789 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.093e-05/0.3173, allocations: 0 / 318.4 MB, free: 2.789 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.003609/0.3209, allocations: 1.255 MB / 319.6 MB, free: 1.465 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.321, allocations: 8.031 kB / 319.6 MB, free: 1.457 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003668/0.3214, allocations: 124.4 kB / 319.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002968/0.3217, allocations: 126.6 kB / 319.9 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.3229, allocations: 0.5284 MB / 320.4 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003266/0.3233, allocations: 163 kB / 320.5 MB, free: 464 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.3235, allocations: 71.91 kB / 320.6 MB, free: 392 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/0.3258, allocations: 0.959 MB / 321.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.3259, allocations: 0 / 321.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.326, allocations: 28 kB / 321.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/0.3261, allocations: 19.95 kB / 321.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.3283, allocations: 0.6325 MB / 322.3 MB, free: 14.62 MB / 266.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.006265/0.3346, allocations: 2.542 MB / 324.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004882/0.3395, allocations: 0.9188 MB / 325.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.43e-05/0.3396, allocations: 16.55 kB / 325.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.3397, allocations: 51.06 kB / 325.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=70): time 3.857e-06/0.3397, allocations: 0 / 325.8 MB, free: 10.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=70): time 0.004504/0.3442, allocations: 1.432 MB / 327.2 MB, free: 9.352 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000531/0.3447, allocations: 0.9449 MB / 328.2 MB, free: 8.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.3461, allocations: 0.6884 MB / 328.9 MB, free: 7.484 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.3462, allocations: 45.7 kB / 328.9 MB, free: 7.434 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004833/0.3467, allocations: 400.6 kB / 329.3 MB, free: 7.035 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000317/0.347, allocations: 240.4 kB / 329.5 MB, free: 6.797 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/0.3471, allocations: 12 kB / 329.5 MB, free: 6.785 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3473, allocations: 337.9 kB / 329.9 MB, free: 6.449 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009918/0.3483, allocations: 269.8 kB / 330.1 MB, free: 6.188 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.3501, allocations: 0.5841 MB / 330.7 MB, free: 5.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.3517, allocations: 400 kB / 331.1 MB, free: 5.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.3517, allocations: 7.938 kB / 331.1 MB, free: 5.062 MB / 266.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003941/0.3557, allocations: 0.9587 MB / 332.1 MB, free: 4.062 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.3558, allocations: 85.11 kB / 332.2 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.3559, allocations: 3.953 kB / 332.2 MB, free: 3.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006938/0.3566, allocations: 140.2 kB / 332.3 MB, free: 3.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.3582, allocations: 147.8 kB / 332.4 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.369, allocations: 6.964 MB / 339.4 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/0.3713, allocations: 131.1 kB / 339.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.3714, allocations: 24 kB / 339.6 MB, free: 11.87 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (77): * Single equations (assignments): 69 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007804/0.3722, allocations: 229.7 kB / 339.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/0.3726, allocations: 94.97 kB / 339.9 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003609/0.3729, allocations: 100.3 kB / 340 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.373, allocations: 4 kB / 340 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/0.373, allocations: 4 kB / 340 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003353/0.3764, allocations: 0.9834 MB / 341 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006251/0.3827, allocations: 1.697 MB / 342.7 MB, free: 8.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.3827, allocations: 3.938 kB / 342.7 MB, free: 8.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001855/0.3846, allocations: 163.8 kB / 342.8 MB, free: 8.406 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001961/0.3848, allocations: 28.84 kB / 342.8 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.293e-05/0.3849, allocations: 12 kB / 342.9 MB, free: 8.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/0.387, allocations: 1.456 MB / 344.3 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3871, allocations: 0 / 344.3 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004939/0.392, allocations: 1.089 MB / 345.4 MB, free: 5.664 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004764/0.3925, allocations: 175.8 kB / 345.6 MB, free: 5.473 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003204/0.3929, allocations: 16 kB / 345.6 MB, free: 5.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/0.3946, allocations: 51.97 kB / 345.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/0.3948, allocations: 44.44 kB / 345.7 MB, free: 5.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.395, allocations: 23.98 kB / 345.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001269/0.3962, allocations: 487 kB / 346.2 MB, free: 4.871 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.3963, allocations: 0 / 346.2 MB, free: 4.871 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001771/0.398, allocations: 279.6 kB / 346.5 MB, free: 4.598 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (67): * Single equations (assignments): 66 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005229/0.4033, allocations: 1.673 MB / 348.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.004641/0.408, allocations: 1.4 MB / 349.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/0.408, allocations: 4 kB / 349.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.4098, allocations: 438 kB / 350 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.4121, allocations: 227.4 kB / 350.2 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00751/0.4196, allocations: 2.406 MB / 352.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009834/0.4206, allocations: 0.9906 MB / 353.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001246/0.4219, allocations: 106 kB / 353.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009806/0.4229, allocations: 339.3 kB / 354 MB, free: 12.8 MB / 298.7 MB Notification: Performance of SimCode: time 1.623e-06/0.4229, allocations: 0 / 354 MB, free: 12.8 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07491/0.4979, allocations: 21.73 MB / 375.7 MB, free: 7.07 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002897/0.4982, allocations: 218.7 kB / 376 MB, free: 6.828 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.525/4.023, allocations: 0 / 376 MB, free: 6.828 MB / 314.7 MB