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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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) 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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01174/0.01174, allocations: 108.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001266/0.001266, allocations: 181.3 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.193/2.193, allocations: 194.6 MB / 211.3 MB, free: 11 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.562/2.562, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000676/0.0006762, allocations: 12 kB / 0.587 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8022/0.803, allocations: 98.72 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002225/0.8052, allocations: 0.962 MB / 0.6844 GB, free: 16.06 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0008494/0.8062, allocations: 255.7 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.8062, allocations: 1.312 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.093e-05/0.8063, allocations: 0.9844 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.217e-05/0.8064, allocations: 12.77 kB / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.8068, allocations: 47.52 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.061e-05/0.8068, allocations: 12.48 kB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.916e-05/0.8069, allocations: 1.375 kB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.569e-05/0.807, allocations: 8.188 kB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.546e-05/0.8071, allocations: 4.516 kB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.8071, allocations: 0 / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002615/0.8074, allocations: 55.27 kB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.8074, allocations: 13.47 kB / 0.6848 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.8075, allocations: 28.56 kB / 0.6848 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.8077, allocations: 34.66 kB / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.8077, allocations: 0 / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8077, allocations: 1.125 kB / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.8077, allocations: 0 / 0.6848 GB, free: 15.79 MB / 0.5261 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.0004511/0.8082, allocations: 333.2 kB / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/0.8083, allocations: 8.938 kB / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.8083, allocations: 33.33 kB / 0.6852 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003851/0.8087, allocations: 16.5 kB / 0.6852 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.8088, allocations: 169.1 kB / 0.6854 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.8089, allocations: 3.938 kB / 0.6854 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.8089, allocations: 6.5 kB / 0.6854 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.8091, allocations: 45.45 kB / 0.6854 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.8091, allocations: 0 / 0.6854 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.8092, allocations: 0 / 0.6854 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.8092, allocations: 1.031 kB / 0.6854 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.8093, allocations: 15.34 kB / 0.6854 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.8095, allocations: 157 kB / 0.6856 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004158/0.8137, allocations: 277.6 kB / 0.6859 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.8137, allocations: 5.125 kB / 0.6859 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.8138, allocations: 36.42 kB / 0.6859 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 3.266e-06/0.8138, allocations: 0 / 0.6859 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0002716/0.8141, allocations: 63.8 kB / 0.686 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.8141, allocations: 53.36 kB / 0.686 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.306e-05/0.8142, allocations: 91.98 kB / 0.6861 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.8142, allocations: 25.7 kB / 0.6861 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.086e-05/0.8143, allocations: 82.33 kB / 0.6862 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.8143, allocations: 18.55 kB / 0.6862 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.8143, allocations: 0 / 0.6862 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.289e-05/0.8144, allocations: 316.8 kB / 0.6865 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.394e-05/0.8145, allocations: 9.062 kB / 0.6865 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.264e-05/0.8145, allocations: 14.06 kB / 0.6865 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.248e-05/0.8146, allocations: 13.25 kB / 0.6866 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.8146, allocations: 0.9688 kB / 0.6866 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001545/0.8148, allocations: 55.77 kB / 0.6866 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.8148, allocations: 5.656 kB / 0.6866 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.8148, allocations: 4.656 kB / 0.6866 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.8149, allocations: 0 / 0.6866 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.815, allocations: 5.625 kB / 0.6866 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.815, allocations: 1.984 kB / 0.6866 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.444e-05/0.8151, allocations: 0 / 0.6866 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.8151, allocations: 1.688 kB / 0.6866 GB, free: 14.13 MB / 0.5261 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 () * Number of clocked 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.983e-05/0.8152, allocations: 113.1 kB / 0.6867 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.8152, allocations: 1.188 kB / 0.6867 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.8153, allocations: 8.203 kB / 0.6867 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.8153, allocations: 5.125 kB / 0.6867 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.8153, allocations: 0.6094 kB / 0.6867 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.8153, allocations: 5.344 kB / 0.6868 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.8155, allocations: 161.1 kB / 0.6869 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.8155, allocations: 4.641 kB / 0.6869 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.8156, allocations: 11.31 kB / 0.6869 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.8157, allocations: 0 / 0.6869 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.8157, allocations: 4.5 kB / 0.6869 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.8157, allocations: 1.312 kB / 0.6869 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8157, allocations: 0 / 0.6869 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.8159, allocations: 78.61 kB / 0.687 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/0.816, allocations: 84.38 kB / 0.6871 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.816, allocations: 0.6562 kB / 0.6871 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.8161, allocations: 6.25 kB / 0.6871 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.8162, allocations: 2.062 kB / 0.6871 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.8162, allocations: 1.281 kB / 0.6871 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.987e-05/0.8162, allocations: 77.52 kB / 0.6872 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.11e-07/0.8163, allocations: 4.094 kB / 0.6872 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004051/0.8167, allocations: 5.344 kB / 0.6872 GB, free: 13.53 MB / 0.5261 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 () * Number of clocked 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.0004254/0.8171, allocations: 0.6228 MB / 0.6878 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001608/0.8173, allocations: 33.09 kB / 0.6878 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.8173, allocations: 0 / 0.6878 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.523e-05/0.8174, allocations: 21.83 kB / 0.6878 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.8177, allocations: 8.172 kB / 0.6878 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006701/0.8184, allocations: 162 kB / 0.688 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.8186, allocations: 0.6775 MB / 0.6887 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.8187, allocations: 6.234 kB / 0.6887 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.8188, allocations: 9.781 kB / 0.6887 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of SimCode: time 8.82e-07/0.8188, allocations: 0 / 0.6887 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.8411, allocations: 1.082 MB / 0.6897 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002569/0.8415, allocations: 200.3 kB / 0.6899 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/3.205, allocations: 4 kB / 0.6899 GB, free: 11.59 MB / 0.5261 GB