Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.978/3.978, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.15e-05, allocations: 5.188 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2022, allocations: 98.73 MB / 0.6289 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.219/0.4212, allocations: 124.1 MB / 0.7501 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.4215, allocations: 71.95 kB / 0.7502 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006179/0.4277, allocations: 1.468 MB / 0.7516 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4278, allocations: 0 / 0.7516 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.4278, allocations: 0 / 0.7516 GB, free: 11.34 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003387/0.4282, allocations: 338.5 kB / 0.7519 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4282, allocations: 8.031 kB / 0.7519 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002595/0.4285, allocations: 19.94 kB / 0.7519 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.4286, allocations: 159.1 kB / 0.7521 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.4286, allocations: 0 / 0.7521 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.4287, allocations: 4 kB / 0.7521 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.554e-05/0.4288, allocations: 19.97 kB / 0.7521 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.584e-05/0.4289, allocations: 49.62 kB / 0.7522 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.4289, allocations: 0 / 0.7522 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.4289, allocations: 0 / 0.7522 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4289, allocations: 0 / 0.7522 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.4291, allocations: 138.1 kB / 0.7523 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/0.4321, allocations: 266.5 kB / 0.7525 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.4322, allocations: 16.86 kB / 0.7526 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.4322, allocations: 4 kB / 0.7526 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.4323, allocations: 34.56 kB / 0.7526 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 3.697e-06/0.4323, allocations: 4 kB / 0.7526 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001703/0.4325, allocations: 49.72 kB / 0.7526 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.4325, allocations: 51.41 kB / 0.7527 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.041e-05/0.4326, allocations: 89 kB / 0.7528 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.4326, allocations: 25.7 kB / 0.7528 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.4326, allocations: 80.14 kB / 0.7529 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.4327, allocations: 19.73 kB / 0.7529 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.4327, allocations: 0 / 0.7529 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4328, allocations: 322.9 kB / 0.7532 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.938e-05/0.4329, allocations: 8 kB / 0.7532 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.4329, allocations: 4 kB / 0.7532 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.595e-05/0.4329, allocations: 8 kB / 0.7532 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.433, allocations: 0 / 0.7532 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001118/0.4331, allocations: 53.69 kB / 0.7533 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.4331, allocations: 5.719 kB / 0.7533 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4331, allocations: 3.938 kB / 0.7533 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.4331, allocations: 3.938 kB / 0.7533 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.96e-05/0.4332, allocations: 8 kB / 0.7533 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.4333, allocations: 4 kB / 0.7533 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.4333, allocations: 3.984 kB / 0.7533 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.4333, allocations: 0 / 0.7533 GB, free: 9.379 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.894e-05/0.4334, allocations: 106.3 kB / 0.7534 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.874e-05/0.4335, allocations: 53.59 kB / 0.7535 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.4335, allocations: 0 / 0.7535 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.4336, allocations: 12.12 kB / 0.7535 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4336, allocations: 0 / 0.7535 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4336, allocations: 0 / 0.7535 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4336, allocations: 240 / 0.7535 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.4338, allocations: 146.1 kB / 0.7536 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4338, allocations: 0 / 0.7536 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.379e-05/0.4339, allocations: 11.94 kB / 0.7536 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.4339, allocations: 7.984 kB / 0.7536 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.4339, allocations: 0 / 0.7536 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4339, allocations: 0 / 0.7536 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4339, allocations: 0 / 0.7536 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.4341, allocations: 77.08 kB / 0.7537 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.292e-05/0.4342, allocations: 85.09 kB / 0.7538 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.4342, allocations: 0 / 0.7538 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.4343, allocations: 4 kB / 0.7538 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.4343, allocations: 0 / 0.7538 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.4343, allocations: 0 / 0.7538 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.816e-05/0.4344, allocations: 79.28 kB / 0.7539 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4344, allocations: 0 / 0.7539 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002584/0.4346, allocations: 4 kB / 0.7539 GB, free: 8.719 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004062/0.435, allocations: 0.6241 MB / 0.7545 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.4352, allocations: 20 kB / 0.7545 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4352, allocations: 0 / 0.7545 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.625e-05/0.4352, allocations: 12 kB / 0.7545 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.4355, allocations: 11.92 kB / 0.7545 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.4359, allocations: 93.66 kB / 0.7546 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.4361, allocations: 0.6768 MB / 0.7553 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.979e-05/0.4362, allocations: 8 kB / 0.7553 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.4363, allocations: 11.38 kB / 0.7553 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/0.4363, allocations: 0 / 0.7553 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03527/0.4715, allocations: 0.7946 MB / 0.7561 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003276/0.4719, allocations: 160.2 kB / 0.7562 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.14/2.612, allocations: 0 / 0.7562 GB, free: 6.184 MB / 0.6355 GB