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.02311/0.02312, 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.001868/0.001867, 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.871/1.871, 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.232/2.232, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004664, allocations: 12 kB / 0.587 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.595/0.5955, allocations: 98.71 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0006457/0.5962, allocations: 327.1 kB / 0.6837 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.5981, allocations: 1.412 MB / 0.685 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.5981, allocations: 0 / 0.685 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.03e-05/0.5982, allocations: 4 kB / 0.685 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.022e-05/0.5982, allocations: 0 / 0.685 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.5987, allocations: 104 kB / 0.6851 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.768e-05/0.5988, allocations: 26.34 kB / 0.6852 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.5988, allocations: 2.016 kB / 0.6852 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.931e-05/0.5989, allocations: 18.02 kB / 0.6852 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.057e-05/0.599, allocations: 25.31 kB / 0.6852 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.599, allocations: 1.969 kB / 0.6852 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006166/0.5996, allocations: 310 kB / 0.6855 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.5997, allocations: 13.75 kB / 0.6855 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.5997, allocations: 27.7 kB / 0.6856 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.6, allocations: 136.8 kB / 0.6857 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.984e-06/0.6, allocations: 0 / 0.6857 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.138e-06/0.6, allocations: 4.969 kB / 0.6857 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.722e-06/0.6001, allocations: 0 / 0.6857 GB, free: 15.39 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004354/0.6005, allocations: 357 kB / 0.686 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.6006, allocations: 8.781 kB / 0.686 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005348/0.6011, allocations: 84.89 kB / 0.6861 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.299e-05/0.6012, allocations: 161.5 kB / 0.6863 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.6012, allocations: 5.484 kB / 0.6863 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.6013, allocations: 1.375 kB / 0.6863 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.6016, allocations: 88.55 kB / 0.6864 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.839e-06/0.6017, allocations: 0 / 0.6864 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.6017, allocations: 0 / 0.6864 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.6017, allocations: 1.031 kB / 0.6864 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.6021, allocations: 78.95 kB / 0.6864 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.6023, allocations: 176 kB / 0.6866 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007225/0.603, allocations: 144.7 kB / 0.6867 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005242/0.6036, allocations: 173.4 kB / 0.6869 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.6036, allocations: 32.61 kB / 0.6869 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.69e-06/0.6036, allocations: 0 / 0.6869 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.001393/0.605, allocations: 436 kB / 0.6874 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.6051, allocations: 56.38 kB / 0.6874 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.239e-05/0.6051, allocations: 93.77 kB / 0.6875 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.6051, allocations: 27.05 kB / 0.6875 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.673e-05/0.6052, allocations: 84.14 kB / 0.6876 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.6052, allocations: 19.78 kB / 0.6876 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.623e-06/0.6052, allocations: 1.656 kB / 0.6876 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.158e-05/0.6053, allocations: 316.1 kB / 0.6879 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.6055, allocations: 44.81 kB / 0.688 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.6057, allocations: 40.56 kB / 0.688 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.6059, allocations: 46.31 kB / 0.6881 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.606, allocations: 3.938 kB / 0.6881 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004688/0.6064, allocations: 123.8 kB / 0.6882 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.6065, allocations: 5.469 kB / 0.6882 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.6065, allocations: 0 / 0.6882 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.6065, allocations: 5.031 kB / 0.6882 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.6067, allocations: 26.41 kB / 0.6882 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.847e-06/0.6067, allocations: 0 / 0.6882 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.6069, allocations: 19.25 kB / 0.6882 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.6069, allocations: 7.141 kB / 0.6882 GB, free: 13.38 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 (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 6.961e-05/0.607, allocations: 116 kB / 0.6883 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.607, allocations: 1.406 kB / 0.6883 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005714/0.6076, allocations: 153.7 kB / 0.6885 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.103e-06/0.6076, allocations: 0 / 0.6885 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.807e-06/0.6076, allocations: 5.906 kB / 0.6885 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.448e-06/0.6076, allocations: 0.5156 kB / 0.6885 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.6078, allocations: 173.7 kB / 0.6887 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.6078, allocations: 0 / 0.6887 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.608, allocations: 29.91 kB / 0.6887 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.414e-06/0.608, allocations: 0.6562 kB / 0.6887 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.608, allocations: 2 kB / 0.6887 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.411e-06/0.6081, allocations: 1.094 kB / 0.6887 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.935e-06/0.6081, allocations: 0 / 0.6887 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007137/0.6088, allocations: 211.8 kB / 0.6889 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.6089, allocations: 84.12 kB / 0.689 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.6089, allocations: 1.453 kB / 0.689 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.6091, allocations: 23.44 kB / 0.689 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.6091, allocations: 8.828 kB / 0.689 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.6091, allocations: 3.281 kB / 0.689 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.757e-05/0.6092, allocations: 77.36 kB / 0.6891 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-07/0.6092, allocations: 0 / 0.6891 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003443/0.6095, allocations: 26.5 kB / 0.6891 GB, free: 12.69 MB / 0.5261 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.000226/0.6098, allocations: 138.4 kB / 0.6892 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004712/0.6103, allocations: 98.3 kB / 0.6893 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.685e-06/0.6103, allocations: 3.938 kB / 0.6893 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.6105, allocations: 51.41 kB / 0.6894 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.6107, allocations: 6.109 kB / 0.6894 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006689/0.6113, allocations: 200.3 kB / 0.6896 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.6115, allocations: 0.6825 MB / 0.6903 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001597/0.6116, allocations: 27.84 kB / 0.6903 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.6117, allocations: 12.02 kB / 0.6903 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.576e-06/0.6117, allocations: 1.406 kB / 0.6903 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.004145/0.6159, allocations: 1.1 MB / 0.6914 GB, free: 11.58 MB / 0.5261 GB