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.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004313/0.004313, allocations: 233.8 kB / 15.82 MB, free: 6.297 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.001185/0.001185, allocations: 175.3 kB / 16.7 MB, free: 5.457 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.902/3.902, allocations: 389.1 MB / 406.5 MB, free: 11.84 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 4.225/4.225, allocations: 472.3 MB / 0.9024 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005235/0.0005236, allocations: 16.22 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1781, allocations: 98.72 MB / 1.105 GB, free: 42.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8288/1.007, allocations: 126.1 MB / 1.228 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003808/1.007, allocations: 90.62 kB / 1.228 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03462/1.042, allocations: 5.45 MB / 1.233 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.225e-06/1.042, allocations: 0 / 1.233 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.014e-05/1.042, allocations: 4 kB / 1.233 GB, free: 24.16 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007492/1.043, allocations: 397 kB / 1.234 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/1.043, allocations: 8.031 kB / 1.234 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006072/1.044, allocations: 72.03 kB / 1.234 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/1.044, allocations: 171.4 kB / 1.234 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/1.044, allocations: 9.625 kB / 1.234 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/1.044, allocations: 4 kB / 1.234 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/1.044, allocations: 116.6 kB / 1.234 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/1.044, allocations: 8.625 kB / 1.234 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/1.044, allocations: 3.188 kB / 1.234 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.044, allocations: 7.125 kB / 1.234 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008602/1.045, allocations: 128.3 kB / 1.234 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007682/1.046, allocations: 334.5 kB / 1.234 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/1.047, allocations: 186.8 kB / 1.235 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004366/1.048, allocations: 72.95 kB / 1.235 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/1.048, allocations: 3.406 kB / 1.235 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/1.048, allocations: 37.83 kB / 1.235 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.995e-06/1.048, allocations: 0 / 1.235 GB, free: 22.77 MB / 0.6198 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.03533/1.083, allocations: 3.181 MB / 1.238 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/1.083, allocations: 51.41 kB / 1.238 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.854e-05/1.083, allocations: 101.6 kB / 1.238 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.458e-05/1.083, allocations: 25.7 kB / 1.238 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/1.084, allocations: 103 kB / 1.238 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.866e-05/1.084, allocations: 34.41 kB / 1.238 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.545e-05/1.084, allocations: 3.625 kB / 1.238 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.084, allocations: 318 kB / 1.238 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/1.085, allocations: 215 kB / 1.239 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/1.086, allocations: 216.1 kB / 1.239 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/1.088, allocations: 224.7 kB / 1.239 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.088, allocations: 3.938 kB / 1.239 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00276/1.09, allocations: 0.5164 MB / 1.24 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/1.09, allocations: 8 kB / 1.24 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/1.09, allocations: 0 / 1.24 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/1.09, allocations: 0 / 1.24 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/1.092, allocations: 119.1 kB / 1.24 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/1.092, allocations: 0 / 1.24 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/1.093, allocations: 61.41 kB / 1.24 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.054e-05/1.093, allocations: 27.3 kB / 1.24 GB, free: 19.11 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 (13): * Single equations (assignments): 13 * 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.0002331/1.094, allocations: 113.8 kB / 1.24 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/1.094, allocations: 14.77 kB / 1.24 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.518e-05/1.094, allocations: 10.91 kB / 1.24 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/1.094, allocations: 6.141 kB / 1.24 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.094, allocations: 4 kB / 1.24 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.094, allocations: 0 / 1.24 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/1.097, allocations: 1.101 MB / 1.241 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.097, allocations: 0 / 1.241 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/1.099, allocations: 117.6 kB / 1.241 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/1.099, allocations: 7.984 kB / 1.241 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.124e-05/1.099, allocations: 27.75 kB / 1.241 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/1.099, allocations: 0 / 1.241 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.099, allocations: 0 / 1.241 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004449/1.104, allocations: 0.8693 MB / 1.242 GB, free: 33.06 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/1.104, allocations: 123.9 kB / 1.242 GB, free: 32.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/1.104, allocations: 6 kB / 1.242 GB, free: 32.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/1.105, allocations: 54.62 kB / 1.242 GB, free: 32.87 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/1.105, allocations: 32.83 kB / 1.242 GB, free: 32.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-05/1.106, allocations: 27.92 kB / 1.242 GB, free: 32.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.512e-05/1.106, allocations: 79.28 kB / 1.242 GB, free: 32.74 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/1.106, allocations: 0.625 kB / 1.242 GB, free: 32.74 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006319/1.106, allocations: 62.5 kB / 1.242 GB, free: 32.68 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002685/1.107, allocations: 118.6 kB / 1.242 GB, free: 32.56 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002589/1.109, allocations: 473.8 kB / 1.243 GB, free: 32.19 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.109, allocations: 0 / 1.243 GB, free: 32.19 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/1.111, allocations: 253.9 kB / 1.243 GB, free: 31.99 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/1.111, allocations: 11.64 kB / 1.243 GB, free: 31.98 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007969/1.119, allocations: 0.8596 MB / 1.244 GB, free: 31.19 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/1.119, allocations: 0.6926 MB / 1.245 GB, free: 30.47 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001159/1.121, allocations: 95.41 kB / 1.245 GB, free: 30.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004174/1.121, allocations: 56.14 kB / 1.245 GB, free: 30.39 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/1.121, allocations: 2.812 kB / 1.245 GB, free: 30.39 MB / 0.6355 GB Notification: Performance of Templates: time 0.008563/1.13, allocations: 3.255 MB / 1.248 GB, free: 27.27 MB / 0.6355 GB