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: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004289/0.004289, allocations: 230.7 kB / 15.82 MB, free: 6.293 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.001221/0.00122, allocations: 174.4 kB / 16.7 MB, free: 5.453 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 3.891/3.891, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.993/3.993, allocations: 472.3 MB / 0.9024 GB, free: 18.79 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007085/0.0007088, allocations: 12 kB / 1.008 GB, free: 13.43 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2413, allocations: 98.71 MB / 1.105 GB, free: 10.77 MB / 0.573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8152/1.057, allocations: 125.3 MB / 1.227 GB, free: 3.176 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/1.057, allocations: 84.98 kB / 1.227 GB, free: 3.145 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.01947/1.076, allocations: 4.055 MB / 1.231 GB, free: 72 kB / 0.6042 GB Notification: Performance of FrontEnd: time 3.477e-06/1.076, allocations: 3.984 kB / 1.231 GB, free: 68 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.356e-06/1.076, allocations: 0 / 1.231 GB, free: 68 kB / 0.6042 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.0006036/1.077, allocations: 368.1 kB / 1.231 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/1.077, allocations: 12.73 kB / 1.231 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006217/1.078, allocations: 64 kB / 1.232 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/1.078, allocations: 174.3 kB / 1.232 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/1.078, allocations: 0 / 1.232 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/1.078, allocations: 3.938 kB / 1.232 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/1.078, allocations: 89.38 kB / 1.232 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.078, allocations: 0 / 1.232 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/1.078, allocations: 0 / 1.232 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/1.078, allocations: 0 / 1.232 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005407/1.079, allocations: 79.73 kB / 1.232 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000261/1.079, allocations: 165.4 kB / 1.232 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/1.08, allocations: 137.3 kB / 1.232 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/1.081, allocations: 59.78 kB / 1.232 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-05/1.081, allocations: 4 kB / 1.232 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/1.081, allocations: 37.56 kB / 1.232 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 3.406e-06/1.081, allocations: 0 / 1.232 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.001926/1.083, allocations: 443.9 kB / 1.233 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/1.083, allocations: 57.56 kB / 1.233 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.107e-05/1.083, allocations: 93.48 kB / 1.233 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/1.083, allocations: 29.7 kB / 1.233 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/1.083, allocations: 84.08 kB / 1.233 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/1.083, allocations: 15.61 kB / 1.233 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/1.083, allocations: 0 / 1.233 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001862/1.083, allocations: 318.8 kB / 1.233 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/1.084, allocations: 39.66 kB / 1.233 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/1.084, allocations: 50.77 kB / 1.233 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/1.084, allocations: 39.03 kB / 1.233 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/1.084, allocations: 0 / 1.233 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006675/1.085, allocations: 129.1 kB / 1.233 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/1.085, allocations: 4.781 kB / 1.233 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.085, allocations: 0 / 1.233 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/1.085, allocations: 4 kB / 1.233 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/1.085, allocations: 23.97 kB / 1.233 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/1.085, allocations: 0 / 1.233 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/1.085, allocations: 19.98 kB / 1.234 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/1.086, allocations: 4 kB / 1.234 GB, free: 13.41 MB / 0.6198 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 0.0001194/1.086, allocations: 117 kB / 1.234 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/1.086, allocations: 11.89 kB / 1.234 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007748/1.086, allocations: 150 kB / 1.234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.086, allocations: 0 / 1.234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.087, allocations: 2.938 kB / 1.234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.087, allocations: 3.984 kB / 1.234 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/1.087, allocations: 169.6 kB / 1.234 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/1.087, allocations: 4 kB / 1.234 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/1.087, allocations: 23.97 kB / 1.234 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/1.087, allocations: 0 / 1.234 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/1.087, allocations: 7.812 kB / 1.234 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.087, allocations: 0 / 1.234 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.087, allocations: 0 / 1.234 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/1.088, allocations: 212.6 kB / 1.234 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/1.088, allocations: 88.81 kB / 1.234 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/1.088, allocations: 4 kB / 1.234 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/1.089, allocations: 15.98 kB / 1.234 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/1.089, allocations: 0 / 1.234 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/1.089, allocations: 7.984 kB / 1.234 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.498e-05/1.089, allocations: 86.16 kB / 1.234 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/1.089, allocations: 0 / 1.234 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003796/1.089, allocations: 39.97 kB / 1.234 GB, free: 12.45 MB / 0.6198 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.0003247/1.089, allocations: 150.6 kB / 1.235 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006665/1.09, allocations: 88.12 kB / 1.235 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.09, allocations: 0.75 kB / 1.235 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003068/1.09, allocations: 61.89 kB / 1.235 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/1.091, allocations: 6.141 kB / 1.235 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000969/1.092, allocations: 200.5 kB / 1.235 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/1.092, allocations: 0.6887 MB / 1.236 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001842/1.092, allocations: 14.44 kB / 1.236 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/1.092, allocations: 11.44 kB / 1.236 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of SimCode: time 8.31e-07/1.092, allocations: 4 kB / 1.236 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of Templates: time 0.004845/1.097, allocations: 1.091 MB / 1.237 GB, free: 10.17 MB / 0.6198 GB