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.01959/0.0196, allocations: 108.2 kB / 15.06 MB, free: 5.562 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.002345/0.002344, allocations: 184.4 kB / 15.95 MB, free: 5.523 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.858/1.858, allocations: 194.6 MB / 211.3 MB, free: 11.3 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.248/2.248, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004586, allocations: 16 kB / 0.587 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6143/0.6148, allocations: 98.7 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0009256/0.6158, allocations: 0.5044 MB / 0.6838 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.6177, allocations: 1.424 MB / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.6178, allocations: 1.562 kB / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.6178, allocations: 5.625 kB / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.093e-05/0.6178, allocations: 0 / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.6183, allocations: 112.5 kB / 0.6853 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.059e-05/0.6184, allocations: 28.36 kB / 0.6854 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.6185, allocations: 2.953 kB / 0.6854 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.863e-05/0.6186, allocations: 31.12 kB / 0.6854 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.6186, allocations: 31.7 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.6187, allocations: 3.469 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005894/0.6193, allocations: 316.1 kB / 0.6857 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.6193, allocations: 9.234 kB / 0.6857 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.6193, allocations: 37.45 kB / 0.6858 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.6197, allocations: 148.5 kB / 0.6859 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.588e-06/0.6197, allocations: 0 / 0.6859 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.401e-06/0.6197, allocations: 3.938 kB / 0.6859 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.6197, allocations: 0 / 0.6859 GB, free: 15.18 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005291/0.6202, allocations: 398.1 kB / 0.6863 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.6203, allocations: 9.281 kB / 0.6863 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005044/0.6208, allocations: 84.19 kB / 0.6864 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.729e-05/0.6209, allocations: 175 kB / 0.6866 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.6209, allocations: 2.25 kB / 0.6866 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.621, allocations: 12.41 kB / 0.6866 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/0.6214, allocations: 117.2 kB / 0.6867 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.6215, allocations: 0 / 0.6867 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.6215, allocations: 1.906 kB / 0.6867 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.207e-06/0.6215, allocations: 5.188 kB / 0.6867 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006115/0.6221, allocations: 121.6 kB / 0.6868 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006234/0.6228, allocations: 351.8 kB / 0.6871 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008707/0.6236, allocations: 179.8 kB / 0.6873 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.6237, allocations: 4.984 kB / 0.6873 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.6237, allocations: 40.2 kB / 0.6874 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.422e-06/0.6237, allocations: 0 / 0.6874 GB, free: 14.09 MB / 0.5261 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.02913/0.6529, allocations: 3.191 MB / 0.6905 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.6529, allocations: 52.88 kB / 0.6905 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.604e-05/0.653, allocations: 100.7 kB / 0.6906 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.828e-05/0.6531, allocations: 26.92 kB / 0.6906 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.6531, allocations: 92.08 kB / 0.6907 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.078e-05/0.6532, allocations: 39.05 kB / 0.6908 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.6533, allocations: 0 / 0.6908 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.759e-05/0.6534, allocations: 319.4 kB / 0.6911 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008951/0.6543, allocations: 213.2 kB / 0.6913 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008888/0.6552, allocations: 220.1 kB / 0.6915 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009104/0.6561, allocations: 217.9 kB / 0.6917 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.054e-06/0.6561, allocations: 1.562 kB / 0.6917 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002112/0.6582, allocations: 0.5257 MB / 0.6922 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.6583, allocations: 5.438 kB / 0.6922 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.94e-06/0.6583, allocations: 3.938 kB / 0.6922 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.6583, allocations: 5.312 kB / 0.6922 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.6594, allocations: 119.4 kB / 0.6923 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.6595, allocations: 1.531 kB / 0.6923 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00072/0.6602, allocations: 56.14 kB / 0.6924 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-05/0.6603, allocations: 28.98 kB / 0.6924 GB, free: 12.26 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 (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.0001719/0.6605, allocations: 117.2 kB / 0.6925 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.807e-05/0.6606, allocations: 7.266 kB / 0.6925 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.946e-05/0.6607, allocations: 10.62 kB / 0.6926 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.981e-06/0.6607, allocations: 1.219 kB / 0.6926 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6607, allocations: 1.094 kB / 0.6926 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.986e-06/0.6607, allocations: 4.656 kB / 0.6926 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/0.6636, allocations: 1.111 MB / 0.6936 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.214e-06/0.6636, allocations: 0 / 0.6936 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.6647, allocations: 122.8 kB / 0.6938 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.211e-06/0.6647, allocations: 0.75 kB / 0.6938 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.695e-05/0.6648, allocations: 23.47 kB / 0.6938 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.077e-06/0.6648, allocations: 0 / 0.6938 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.18e-06/0.6648, allocations: 5.062 kB / 0.6938 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003128/0.668, allocations: 0.866 MB / 0.6946 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.6682, allocations: 120.3 kB / 0.6948 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.27e-05/0.6683, allocations: 1 kB / 0.6948 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008033/0.6691, allocations: 58.16 kB / 0.6948 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.6693, allocations: 29.67 kB / 0.6948 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.14e-05/0.6693, allocations: 27.05 kB / 0.6949 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.925e-05/0.6694, allocations: 82.31 kB / 0.6949 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.054e-06/0.6694, allocations: 0 / 0.6949 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005362/0.67, allocations: 51.12 kB / 0.695 GB, free: 10.68 MB / 0.5261 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.000208/0.6702, allocations: 122.4 kB / 0.6951 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001863/0.6721, allocations: 470.8 kB / 0.6956 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6721, allocations: 1.375 kB / 0.6956 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009154/0.673, allocations: 250.3 kB / 0.6958 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.6733, allocations: 14.7 kB / 0.6958 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004982/0.6783, allocations: 0.8593 MB / 0.6966 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.6785, allocations: 0.6935 MB / 0.6973 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001418/0.6799, allocations: 104.2 kB / 0.6974 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005076/0.6804, allocations: 56.52 kB / 0.6975 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of SimCode: time 2.154e-06/0.6805, allocations: 0 / 0.6975 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of Templates: time 0.00754/0.688, allocations: 3.239 MB / 0.7006 GB, free: 7.168 MB / 0.5261 GB