Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.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.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.984/1.984, allocations: 194.9 MB / 211.1 MB, free: 8.547 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004779, allocations: 8 kB / 264 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2918, allocations: 44.51 MB / 308.5 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006156/0.2981, allocations: 3.675 MB / 312.2 MB, free: 9.062 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.3008, allocations: 1.504 MB / 313.7 MB, free: 7.559 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.301, allocations: 4 kB / 313.7 MB, free: 7.555 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002726/0.3013, allocations: 39.86 kB / 313.8 MB, free: 7.516 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.3017, allocations: 99.7 kB / 313.9 MB, free: 7.418 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009644/0.3026, allocations: 223.5 kB / 314.1 MB, free: 7.199 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.303, allocations: 175.7 kB / 314.3 MB, free: 7.027 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.919e-05/0.3031, allocations: 9.125 kB / 314.3 MB, free: 7.016 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003317/0.3034, allocations: 119.7 kB / 314.4 MB, free: 6.898 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.3036, allocations: 63.77 kB / 314.4 MB, free: 6.836 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.3036, allocations: 8 kB / 314.5 MB, free: 6.828 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003626/0.304, allocations: 83.95 kB / 314.5 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.597e-05/0.3041, allocations: 35.89 kB / 314.6 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.734e-05/0.3042, allocations: 49.64 kB / 314.6 MB, free: 6.656 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.3045, allocations: 148.6 kB / 314.8 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.3046, allocations: 0 / 314.8 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3046, allocations: 0 / 314.8 MB, free: 6.512 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.3046, allocations: 0 / 314.8 MB, free: 6.512 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001207/0.3058, allocations: 455.2 kB / 315.2 MB, free: 6.02 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3059, allocations: 11.97 kB / 315.2 MB, free: 6.008 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.025e-05/0.3059, allocations: 50.55 kB / 315.3 MB, free: 5.949 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.3062, allocations: 27.75 kB / 315.3 MB, free: 5.922 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.3065, allocations: 202.8 kB / 315.5 MB, free: 5.684 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.3065, allocations: 16.28 kB / 315.5 MB, free: 5.668 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.209e-05/0.3066, allocations: 15.98 kB / 315.5 MB, free: 5.652 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006141/0.3072, allocations: 212.6 kB / 315.7 MB, free: 5.422 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.3073, allocations: 3.938 kB / 315.7 MB, free: 5.418 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.3073, allocations: 8 kB / 315.7 MB, free: 5.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.3073, allocations: 4 kB / 315.7 MB, free: 5.406 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005956/0.308, allocations: 155.7 kB / 315.9 MB, free: 5.254 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.3099, allocations: 0.9517 MB / 316.9 MB, free: 4.227 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006994/0.3106, allocations: 146.8 kB / 317 MB, free: 4.074 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007624/0.3114, allocations: 0.5112 MB / 317.5 MB, free: 3.5 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.3115, allocations: 34.56 kB / 317.5 MB, free: 3.457 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 2.555e-06/0.3115, allocations: 0 / 317.5 MB, free: 3.457 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.004221/0.3157, allocations: 0.7557 MB / 318.3 MB, free: 2.648 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.3158, allocations: 51.41 kB / 318.3 MB, free: 2.586 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.316, allocations: 157.6 kB / 318.5 MB, free: 2.426 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.3161, allocations: 33.7 kB / 318.5 MB, free: 2.387 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.3162, allocations: 143.9 kB / 318.7 MB, free: 2.242 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.9e-05/0.3163, allocations: 67 kB / 318.7 MB, free: 2.176 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.3163, allocations: 7.938 kB / 318.7 MB, free: 2.168 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3165, allocations: 326.8 kB / 319.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004323/0.3169, allocations: 87.94 kB / 319.2 MB, free: 1.754 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.3174, allocations: 184.7 kB / 319.3 MB, free: 1.527 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004819/0.3179, allocations: 104.8 kB / 319.4 MB, free: 1.426 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.3179, allocations: 3.953 kB / 319.4 MB, free: 1.422 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001216/0.3192, allocations: 318.1 kB / 319.7 MB, free: 1.105 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.3192, allocations: 4.469 kB / 319.8 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3192, allocations: 8 kB / 319.8 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.3193, allocations: 8 kB / 319.8 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006889/0.32, allocations: 83.83 kB / 319.9 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.32, allocations: 7.984 kB / 319.9 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.3204, allocations: 19.94 kB / 319.9 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/0.3205, allocations: 15.98 kB / 319.9 MB, free: 0.9609 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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 prepare postOptimizeDAE: time 0.0001783/0.3207, allocations: 133.8 kB / 320 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.3207, allocations: 19.77 kB / 320 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.3219, allocations: 244.8 kB / 320.3 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.3219, allocations: 4 kB / 320.3 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.3219, allocations: 4 kB / 320.3 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3219, allocations: 3.938 kB / 320.3 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.3241, allocations: 0.5952 MB / 320.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.3241, allocations: 4 kB / 320.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.3246, allocations: 51.91 kB / 320.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.3247, allocations: 4 kB / 320.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.3247, allocations: 3.984 kB / 321 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/0.3247, allocations: 4 kB / 321 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3247, allocations: 0 / 321 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.3261, allocations: 413.1 kB / 321.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.707e-05/0.3262, allocations: 89 kB / 321.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/0.3263, allocations: 11.98 kB / 321.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.3267, allocations: 11.89 kB / 321.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.3268, allocations: 15.98 kB / 321.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.3268, allocations: 8 kB / 321.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.327, allocations: 115.3 kB / 321.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.327, allocations: 0 / 321.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005215/0.3275, allocations: 64 kB / 321.7 MB, free: 15.06 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.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 (20): * Single equations (assignments): 20 * 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.001863/0.3294, allocations: 0.9553 MB / 322.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.3304, allocations: 219.9 kB / 322.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.3304, allocations: 8.125 kB / 322.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004648/0.3309, allocations: 87.88 kB / 322.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.3314, allocations: 39.92 kB / 323 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/0.3351, allocations: 1.255 MB / 324.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3355, allocations: 0.7284 MB / 325 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004877/0.336, allocations: 45.88 kB / 325 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.3362, allocations: 47.48 kB / 325 MB, free: 11.52 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3362, allocations: 0 / 325 MB, free: 11.52 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.3611, allocations: 4.075 MB / 329.1 MB, free: 7.477 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/0.3614, allocations: 166.5 kB / 329.3 MB, free: 7.238 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/2.836, allocations: 0 / 329.3 MB, free: 7.238 MB / 266.7 MB