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.01073/0.01073, allocations: 221.4 kB / 15.17 MB, free: 6 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.001128/0.001128, allocations: 176 kB / 16.06 MB, free: 5.871 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.848/3.848, allocations: 389.1 MB / 405.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.283/4.283, allocations: 472.3 MB / 0.9018 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004737/0.0004739, allocations: 12 kB / 1.008 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6084/0.6089, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0009888/0.61, allocations: 333.2 kB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003168/0.6132, allocations: 1.419 MB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.6133, allocations: 0 / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.6133, allocations: 0 / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.828e-05/0.6133, allocations: 0 / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007475/0.6141, allocations: 112.2 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.581e-05/0.6142, allocations: 22.48 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.882e-05/0.6143, allocations: 2.75 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.866e-05/0.6143, allocations: 24.33 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.6145, allocations: 23.3 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.6145, allocations: 1.156 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009424/0.6155, allocations: 303 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.6155, allocations: 6.766 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.6156, allocations: 35.47 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004371/0.616, allocations: 131.8 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.188e-06/0.6161, allocations: 3.312 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.242e-06/0.6161, allocations: 0 / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.906e-06/0.6161, allocations: 0 / 1.106 GB, free: 211.6 MB / 0.7292 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.0006509/0.6168, allocations: 350.3 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.6168, allocations: 8.375 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000927/0.6178, allocations: 89.27 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.6179, allocations: 164.5 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.618, allocations: 0 / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.618, allocations: 2.594 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004967/0.6186, allocations: 82.33 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.6186, allocations: 0 / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.6186, allocations: 0 / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.104e-06/0.6187, allocations: 1.125 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006571/0.6193, allocations: 81.98 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.6196, allocations: 184.9 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.6209, allocations: 137.6 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/0.6213, allocations: 55.19 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009034/0.6223, allocations: 174.4 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.6223, allocations: 38.62 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 3.264e-06/0.6223, allocations: 0 / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.002334/0.6247, allocations: 432.7 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.6248, allocations: 57.17 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.523e-05/0.6249, allocations: 97.8 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.6249, allocations: 27.02 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.575e-05/0.6249, allocations: 80.14 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.939e-05/0.625, allocations: 25.95 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.625, allocations: 0 / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.17e-05/0.6251, allocations: 317.8 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.6255, allocations: 44.52 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.6259, allocations: 43.36 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.6263, allocations: 38.38 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.627e-06/0.6263, allocations: 1.156 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000862/0.6272, allocations: 122.2 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.6272, allocations: 5.844 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.6273, allocations: 0 / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.6273, allocations: 0 / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.6276, allocations: 40.98 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.665e-06/0.6277, allocations: 0 / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.6279, allocations: 15.42 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.628, allocations: 7.734 kB / 1.109 GB, free: 209.6 MB / 0.7292 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.0001026/0.6281, allocations: 108.3 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.6281, allocations: 1.594 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.6292, allocations: 151.5 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.419e-06/0.6292, allocations: 1.094 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.458e-06/0.6292, allocations: 0 / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.882e-06/0.6293, allocations: 0 / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.6295, allocations: 174.4 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.6295, allocations: 5.688 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.6299, allocations: 30.81 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.069e-06/0.6299, allocations: 1.5 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.63, allocations: 6.469 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.906e-06/0.63, allocations: 0 / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.949e-06/0.63, allocations: 5.062 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.6313, allocations: 205.1 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.79e-05/0.6314, allocations: 85.33 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.6315, allocations: 5.094 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.6318, allocations: 16 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.6318, allocations: 4.688 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.6319, allocations: 5.875 kB / 1.11 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.917e-05/0.6319, allocations: 81.23 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.033e-06/0.632, allocations: 3.938 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006836/0.6327, allocations: 30.78 kB / 1.11 GB, free: 209 MB / 0.7292 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.0003511/0.633, allocations: 133.6 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008193/0.6339, allocations: 95.42 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.336e-06/0.6339, allocations: 1.406 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004021/0.6343, allocations: 57.16 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.6347, allocations: 9.453 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.6359, allocations: 202.5 kB / 1.11 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.6361, allocations: 0.6806 MB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003135/0.6364, allocations: 19.62 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.6365, allocations: 11.66 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of SimCode: time 1.918e-06/0.6366, allocations: 0 / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of Templates: time 0.006959/0.6435, allocations: 1.096 MB / 1.112 GB, free: 208 MB / 0.7292 GB