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.SimpleCooling.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.SimpleCooling,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.114/2.114, allocations: 194.9 MB / 211.1 MB, free: 8.551 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004874/0.0004876, allocations: 12 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2976, allocations: 44.5 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004608/0.3023, allocations: 2.661 MB / 311.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.3046, allocations: 0.878 MB / 312.1 MB, free: 9.199 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000326/0.305, allocations: 11.94 kB / 312.1 MB, free: 9.188 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.3053, allocations: 67.58 kB / 312.2 MB, free: 9.121 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005943/0.3059, allocations: 191.4 kB / 312.4 MB, free: 8.934 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.3062, allocations: 83.84 kB / 312.4 MB, free: 8.852 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009215/0.3072, allocations: 435.5 kB / 312.9 MB, free: 8.426 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003622/0.3076, allocations: 138.4 kB / 313 MB, free: 8.285 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000334/0.3079, allocations: 203.3 kB / 313.2 MB, free: 8.086 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000404/0.3083, allocations: 219.1 kB / 313.4 MB, free: 7.871 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.66e-05/0.3084, allocations: 35.94 kB / 313.5 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.3086, allocations: 36 kB / 313.5 MB, free: 7.801 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.3087, allocations: 83.66 kB / 313.6 MB, free: 7.719 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.3089, allocations: 125.5 kB / 313.7 MB, free: 7.59 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006378/0.3095, allocations: 447.7 kB / 314.1 MB, free: 7.152 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3095, allocations: 0 / 314.1 MB, free: 7.152 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3096, allocations: 0 / 314.1 MB, free: 7.152 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.3096, allocations: 0 / 314.1 MB, free: 7.152 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001853/0.3114, allocations: 0.7324 MB / 314.9 MB, free: 6.363 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.3115, allocations: 8.031 kB / 314.9 MB, free: 6.355 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001779/0.3117, allocations: 79.19 kB / 314.9 MB, free: 6.27 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.3119, allocations: 67.28 kB / 315 MB, free: 6.203 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000975/0.3129, allocations: 345.7 kB / 315.3 MB, free: 5.828 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001779/0.3131, allocations: 62.34 kB / 315.4 MB, free: 5.762 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.589e-05/0.3132, allocations: 28 kB / 315.4 MB, free: 5.734 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.3144, allocations: 460.9 kB / 315.9 MB, free: 5.227 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.3145, allocations: 0 / 315.9 MB, free: 5.227 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.597e-05/0.3146, allocations: 20 kB / 315.9 MB, free: 5.207 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.3146, allocations: 8 kB / 315.9 MB, free: 5.199 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009913/0.3156, allocations: 290.4 kB / 316.2 MB, free: 4.914 MB / 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.003341/0.3189, allocations: 1.26 MB / 317.5 MB, free: 3.562 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.3209, allocations: 448.4 kB / 317.9 MB, free: 3.098 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.127e-05/0.321, allocations: 7.953 kB / 317.9 MB, free: 3.09 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.3211, allocations: 46.55 kB / 317.9 MB, free: 3.035 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 3.326e-06/0.3211, allocations: 0 / 317.9 MB, free: 3.035 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.002121/0.3232, allocations: 0.5998 MB / 318.5 MB, free: 2.387 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002579/0.3235, allocations: 452.9 kB / 319 MB, free: 1.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007468/0.3243, allocations: 398 kB / 319.4 MB, free: 1.441 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.347e-05/0.3244, allocations: 33.7 kB / 319.4 MB, free: 1.402 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.3247, allocations: 228.4 kB / 319.6 MB, free: 1.176 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.3249, allocations: 118.3 kB / 319.7 MB, free: 1.059 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.3249, allocations: 4 kB / 319.8 MB, free: 1.055 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.3251, allocations: 354.8 kB / 320.1 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004521/0.3256, allocations: 108.6 kB / 320.2 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006003/0.3262, allocations: 252.2 kB / 320.5 MB, free: 300 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005229/0.3268, allocations: 155.9 kB / 320.6 MB, free: 140 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3268, allocations: 0 / 320.6 MB, free: 140 kB / 250.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001336/0.3281, allocations: 436.2 kB / 321 MB, free: 15.69 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.796e-05/0.3282, allocations: 29.7 kB / 321.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.3282, allocations: 4.094 kB / 321.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002435/0.3285, allocations: 49.64 kB / 321.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005914/0.3291, allocations: 75.92 kB / 321.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003511/0.3326, allocations: 2.764 MB / 324 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007692/0.3334, allocations: 55.62 kB / 324 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/0.3335, allocations: 15.98 kB / 324 MB, free: 12.42 MB / 266.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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000324/0.3338, allocations: 166 kB / 324.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.334, allocations: 51.44 kB / 324.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.3341, allocations: 44.53 kB / 324.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3341, allocations: 4 kB / 324.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3341, allocations: 4 kB / 324.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001101/0.3352, allocations: 0.6609 MB / 324.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.3374, allocations: 0.8796 MB / 325.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-06/0.3374, allocations: 3.938 kB / 325.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006531/0.3381, allocations: 67.95 kB / 325.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.3381, allocations: 7.938 kB / 325.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.3381, allocations: 4 kB / 325.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.3381, allocations: 3.984 kB / 325.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3382, allocations: 0 / 325.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.3397, allocations: 0.5311 MB / 326.4 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.3399, allocations: 120.6 kB / 326.6 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.34, allocations: 16.06 kB / 326.6 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005864/0.3406, allocations: 19.98 kB / 326.6 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.3407, allocations: 15.97 kB / 326.6 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.3408, allocations: 16 kB / 326.6 MB, free: 9.605 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004905/0.3413, allocations: 283.1 kB / 326.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3413, allocations: 0 / 326.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006738/0.342, allocations: 127.8 kB / 327 MB, free: 9.203 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (32): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001849/0.3438, allocations: 1.072 MB / 328.1 MB, free: 8.102 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.3454, allocations: 0.5747 MB / 328.7 MB, free: 7.488 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3454, allocations: 0 / 328.7 MB, free: 7.488 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004301/0.3458, allocations: 140.5 kB / 328.8 MB, free: 7.352 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009237/0.3468, allocations: 109.5 kB / 328.9 MB, free: 7.242 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/0.3498, allocations: 1.355 MB / 330.3 MB, free: 5.836 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.3503, allocations: 0.8275 MB / 331.1 MB, free: 4.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004373/0.3508, allocations: 47.25 kB / 331.1 MB, free: 4.934 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/0.3511, allocations: 151.4 kB / 331.3 MB, free: 4.785 MB / 266.7 MB Notification: Performance of SimCode: time 1.573e-06/0.3511, allocations: 0 / 331.3 MB, free: 4.785 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04745/0.3986, allocations: 10.56 MB / 341.9 MB, free: 10.25 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003081/0.399, allocations: 220.7 kB / 342.1 MB, free: 10 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.933/3.332, allocations: 0 / 342.1 MB, free: 10 MB / 282.7 MB