Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.39/4.39, allocations: 433.4 MB / 440.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.916e-05/3.938e-05, allocations: 8 kB / 0.5325 GB, free: 1.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5598/0.5599, allocations: 98.7 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.7536, allocations: 125.4 MB / 0.7513 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.7539, allocations: 79.95 kB / 0.7514 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02455/0.7785, allocations: 5.411 MB / 0.7567 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.058e-06/0.7785, allocations: 0 / 0.7567 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.455e-06/0.7786, allocations: 0 / 0.7567 GB, free: 12.73 MB / 0.6355 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.0006036/0.7792, allocations: 386.3 kB / 0.7571 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.7792, allocations: 8.031 kB / 0.7571 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004407/0.7797, allocations: 79.75 kB / 0.7572 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.7799, allocations: 171 kB / 0.7573 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.7799, allocations: 8 kB / 0.7573 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.78, allocations: 7.938 kB / 0.7573 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001455/0.7801, allocations: 35.98 kB / 0.7574 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.7803, allocations: 69.66 kB / 0.7574 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.7803, allocations: 4 kB / 0.7574 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.7804, allocations: 0 / 0.7574 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.981e-06/0.7804, allocations: 0 / 0.7574 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006945/0.7811, allocations: 313.2 kB / 0.7577 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.7813, allocations: 70.56 kB / 0.7578 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.7814, allocations: 24.86 kB / 0.7578 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.7814, allocations: 3.938 kB / 0.7578 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.7814, allocations: 30.56 kB / 0.7579 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.727e-06/0.7814, allocations: 0 / 0.7579 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.01603/0.7975, allocations: 2.116 MB / 0.7599 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.7976, allocations: 51.41 kB / 0.76 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.7977, allocations: 100.9 kB / 0.7601 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.429e-05/0.7978, allocations: 25.7 kB / 0.7601 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.7978, allocations: 92.08 kB / 0.7602 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.683e-05/0.7979, allocations: 35.45 kB / 0.7602 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.798, allocations: 0 / 0.7602 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.7982, allocations: 318.8 kB / 0.7605 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.7985, allocations: 111.9 kB / 0.7606 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.7988, allocations: 111.9 kB / 0.7607 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/0.7993, allocations: 127.9 kB / 0.7609 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.602e-06/0.7993, allocations: 8 kB / 0.7609 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001094/0.8004, allocations: 325.4 kB / 0.7612 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.8005, allocations: 15.88 kB / 0.7612 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.8005, allocations: 0 / 0.7612 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.8005, allocations: 0 / 0.7612 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.8016, allocations: 123.7 kB / 0.7613 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.8016, allocations: 0 / 0.7613 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007169/0.8023, allocations: 55.94 kB / 0.7614 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.8025, allocations: 27.94 kB / 0.7614 GB, free: 7.645 MB / 0.6355 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 () * 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.0001848/0.8027, allocations: 105.6 kB / 0.7615 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.8028, allocations: 7.906 kB / 0.7615 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.752e-05/0.8028, allocations: 16.34 kB / 0.7615 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.204e-06/0.8028, allocations: 0 / 0.7615 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.086e-06/0.8029, allocations: 0 / 0.7615 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.397e-06/0.8029, allocations: 0 / 0.7615 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.8049, allocations: 0.8852 MB / 0.7624 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.199e-06/0.805, allocations: 7.953 kB / 0.7624 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.806, allocations: 115.8 kB / 0.7625 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.8061, allocations: 3.984 kB / 0.7625 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.906e-05/0.8062, allocations: 23.92 kB / 0.7625 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.215e-06/0.8062, allocations: 0 / 0.7625 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.8062, allocations: 0 / 0.7625 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.8078, allocations: 0.581 MB / 0.7631 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.8081, allocations: 113 kB / 0.7632 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-05/0.8082, allocations: 4 kB / 0.7632 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008187/0.809, allocations: 67.92 kB / 0.7633 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.8092, allocations: 19.94 kB / 0.7633 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.8093, allocations: 27.92 kB / 0.7633 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.063e-05/0.8094, allocations: 79.28 kB / 0.7634 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.74e-07/0.8094, allocations: 0 / 0.7634 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005509/0.8099, allocations: 52 kB / 0.7634 GB, free: 5.402 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 () * 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.0002646/0.8102, allocations: 120.9 kB / 0.7636 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007679/0.811, allocations: 267.7 kB / 0.7638 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.941e-06/0.811, allocations: 0 / 0.7638 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.8114, allocations: 147.8 kB / 0.7639 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.8117, allocations: 4 kB / 0.764 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/0.8162, allocations: 0.6986 MB / 0.7646 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.8166, allocations: 0.6924 MB / 0.7653 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009389/0.8175, allocations: 92.59 kB / 0.7654 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003666/0.8179, allocations: 51.31 kB / 0.7654 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of SimCode: time 2.11e-06/0.8179, allocations: 4 kB / 0.7655 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of Templates: time 0.007776/0.8257, allocations: 3.149 MB / 0.7685 GB, free: 136 kB / 0.6355 GB