Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.01183/0.01183, allocations: 113.4 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.001232/0.001232, allocations: 180.5 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 1.964/1.964, allocations: 194.6 MB / 211.3 MB, free: 11.23 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.608/2.608, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007047/0.0007051, allocations: 20 kB / 0.587 GB, free: 2.02 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6917/0.6925, allocations: 98.71 MB / 0.6834 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0008453/0.6934, allocations: 330.7 kB / 0.6838 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.6957, allocations: 1.409 MB / 0.6851 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.6958, allocations: 0 / 0.6851 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.331e-05/0.6958, allocations: 0 / 0.6851 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.069e-05/0.6959, allocations: 0 / 0.6851 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.6964, allocations: 107.8 kB / 0.6852 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.508e-05/0.6965, allocations: 26.81 kB / 0.6853 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.6966, allocations: 2.031 kB / 0.6853 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.125e-05/0.6966, allocations: 20.81 kB / 0.6853 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.8e-05/0.6968, allocations: 21.47 kB / 0.6853 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.6968, allocations: 6.625 kB / 0.6853 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007305/0.6975, allocations: 310.8 kB / 0.6856 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.6976, allocations: 5.156 kB / 0.6856 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.6976, allocations: 26.92 kB / 0.6856 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.698, allocations: 145.8 kB / 0.6858 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.698, allocations: 0 / 0.6858 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.783e-06/0.698, allocations: 5.156 kB / 0.6858 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.698, allocations: 0 / 0.6858 GB, free: 15.4 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.000608/0.6986, allocations: 352.1 kB / 0.6861 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.6987, allocations: 13.38 kB / 0.6861 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.6988, allocations: 31.88 kB / 0.6862 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007632/0.6995, allocations: 85.7 kB / 0.6862 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.549e-05/0.6996, allocations: 164.9 kB / 0.6864 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.6997, allocations: 5.766 kB / 0.6864 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.6997, allocations: 2.094 kB / 0.6864 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.7001, allocations: 81.58 kB / 0.6865 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.7001, allocations: 0 / 0.6865 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.7002, allocations: 0.9375 kB / 0.6865 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.7002, allocations: 1.375 kB / 0.6865 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005481/0.7007, allocations: 84.36 kB / 0.6866 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.701, allocations: 172.2 kB / 0.6867 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.702, allocations: 143.8 kB / 0.6869 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008025/0.7028, allocations: 172.9 kB / 0.687 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.7029, allocations: 32 kB / 0.6871 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.425e-06/0.7029, allocations: 0 / 0.6871 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.001863/0.7047, allocations: 445.1 kB / 0.6875 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.7048, allocations: 53.08 kB / 0.6875 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.057e-05/0.7049, allocations: 97.11 kB / 0.6876 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.7049, allocations: 27.86 kB / 0.6877 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.038e-05/0.7049, allocations: 84.27 kB / 0.6877 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.705, allocations: 16.14 kB / 0.6877 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/0.705, allocations: 0 / 0.6877 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.475e-05/0.7051, allocations: 317 kB / 0.6881 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.7054, allocations: 39.55 kB / 0.6881 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.7057, allocations: 40.53 kB / 0.6881 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.706, allocations: 50.5 kB / 0.6882 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.706, allocations: 0.7969 kB / 0.6882 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006732/0.7067, allocations: 123.4 kB / 0.6883 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.7067, allocations: 5.344 kB / 0.6883 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.7067, allocations: 4.594 kB / 0.6883 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.7068, allocations: 4.969 kB / 0.6883 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.7071, allocations: 25.36 kB / 0.6883 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.7071, allocations: 1.906 kB / 0.6883 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.7073, allocations: 18.19 kB / 0.6884 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.7073, allocations: 7.078 kB / 0.6884 GB, free: 13.35 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 (6): * Single equations (assignments): 6 * 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 8.875e-05/0.7074, allocations: 112 kB / 0.6885 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.7074, allocations: 5.375 kB / 0.6885 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007681/0.7082, allocations: 156.9 kB / 0.6886 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.7082, allocations: 1.156 kB / 0.6886 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7082, allocations: 0 / 0.6886 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.7083, allocations: 1.859 kB / 0.6886 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.7084, allocations: 173.7 kB / 0.6888 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.7085, allocations: 5.062 kB / 0.6888 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/0.7087, allocations: 29.02 kB / 0.6888 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.7088, allocations: 1.719 kB / 0.6888 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.7088, allocations: 1.75 kB / 0.6888 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.7088, allocations: 0 / 0.6888 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.7088, allocations: 1.641 kB / 0.6888 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.7098, allocations: 210.2 kB / 0.689 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.85e-05/0.7099, allocations: 83.64 kB / 0.6891 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.71, allocations: 1.219 kB / 0.6891 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.7102, allocations: 24.41 kB / 0.6891 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.7102, allocations: 4.484 kB / 0.6891 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.7103, allocations: 2.75 kB / 0.6891 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.04e-05/0.7103, allocations: 78.16 kB / 0.6892 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7103, allocations: 0 / 0.6892 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003615/0.7107, allocations: 31.56 kB / 0.6892 GB, free: 12.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.001347/0.7121, allocations: 0.7782 MB / 0.69 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006472/0.7127, allocations: 96.7 kB / 0.6901 GB, free: 12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7127, allocations: 0 / 0.6901 GB, free: 12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.7131, allocations: 55.78 kB / 0.6901 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.7132, allocations: 1.938 kB / 0.6902 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.7154, allocations: 0.5638 MB / 0.6907 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.7156, allocations: 0.6823 MB / 0.6914 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001885/0.7158, allocations: 19.42 kB / 0.6914 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-05/0.7159, allocations: 21.56 kB / 0.6914 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of SimCode: time 9.92e-07/0.7159, allocations: 0 / 0.6914 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.7426, allocations: 1.805 MB / 0.6932 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/0.7429, allocations: 208.7 kB / 0.6934 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.304/3.047, allocations: 0 / 0.6934 GB, free: 10.41 MB / 0.5261 GB