Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.206/2.206, allocations: 252.6 MB / 265.2 MB, free: 5.758 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.00151, allocations: 193.4 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.4 MB / 0.5754 GB, free: 10.52 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001133, allocations: 94 kB / 0.6797 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.18e-05/3.183e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1922, allocations: 106.2 MB / 0.8949 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.81/1.002, allocations: 133 MB / 1.025 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/1.003, allocations: 85.98 kB / 1.025 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02991/1.033, allocations: 5.462 MB / 1.03 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.473e-06/1.033, allocations: 0 / 1.03 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.131e-05/1.033, allocations: 4 kB / 1.03 GB, free: 12.95 MB / 0.6511 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.0007031/1.033, allocations: 389.7 kB / 1.031 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/1.033, allocations: 8.031 kB / 1.031 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006329/1.034, allocations: 67.84 kB / 1.031 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/1.034, allocations: 178.9 kB / 1.031 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/1.034, allocations: 7.125 kB / 1.031 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/1.034, allocations: 11.55 kB / 1.031 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/1.035, allocations: 73.28 kB / 1.031 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/1.035, allocations: 3.438 kB / 1.031 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/1.035, allocations: 0 / 1.031 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/1.035, allocations: 4 kB / 1.031 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/1.035, allocations: 34.5 kB / 1.031 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00086/1.036, allocations: 355.7 kB / 1.031 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/1.036, allocations: 68.88 kB / 1.031 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.796e-05/1.036, allocations: 23.11 kB / 1.031 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/1.036, allocations: 7.938 kB / 1.031 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/1.036, allocations: 42.2 kB / 1.031 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.124e-06/1.036, allocations: 0 / 1.031 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.03633/1.073, allocations: 2.096 MB / 1.033 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/1.073, allocations: 51.41 kB / 1.033 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/1.073, allocations: 100.5 kB / 1.034 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/1.073, allocations: 33.73 kB / 1.034 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/1.073, allocations: 95.61 kB / 1.034 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/1.073, allocations: 34.45 kB / 1.034 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.359e-05/1.073, allocations: 7.562 kB / 1.034 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.073, allocations: 314.3 kB / 1.034 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006984/1.074, allocations: 116.8 kB / 1.034 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007049/1.075, allocations: 107.8 kB / 1.034 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007355/1.076, allocations: 119.8 kB / 1.034 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.076, allocations: 0 / 1.034 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001989/1.078, allocations: 331.7 kB / 1.035 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/1.078, allocations: 8 kB / 1.035 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.078, allocations: 0 / 1.035 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/1.078, allocations: 0 / 1.035 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/1.08, allocations: 118.6 kB / 1.035 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/1.08, allocations: 0.9375 kB / 1.035 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/1.082, allocations: 59.94 kB / 1.035 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/1.082, allocations: 27.17 kB / 1.035 GB, free: 8.297 MB / 0.6511 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.0002899/1.083, allocations: 111.9 kB / 1.035 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/1.083, allocations: 7.859 kB / 1.035 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.563e-05/1.083, allocations: 15.84 kB / 1.035 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/1.083, allocations: 192 / 1.035 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/1.083, allocations: 0 / 1.035 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/1.083, allocations: 3.984 kB / 1.035 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003448/1.087, allocations: 0.9106 MB / 1.036 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.087, allocations: 0 / 1.036 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002526/1.089, allocations: 119.7 kB / 1.036 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.461e-05/1.089, allocations: 3.984 kB / 1.036 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/1.089, allocations: 27.56 kB / 1.036 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/1.089, allocations: 4 kB / 1.036 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.089, allocations: 0 / 1.036 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/1.092, allocations: 0.5622 MB / 1.037 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/1.093, allocations: 119 kB / 1.037 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/1.093, allocations: 4 kB / 1.037 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/1.095, allocations: 58.81 kB / 1.037 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/1.095, allocations: 27.92 kB / 1.037 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/1.095, allocations: 27.5 kB / 1.037 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.615e-05/1.096, allocations: 83.27 kB / 1.037 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.092e-06/1.096, allocations: 0 / 1.037 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009063/1.097, allocations: 63 kB / 1.037 GB, free: 6.289 MB / 0.6511 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.0003915/1.097, allocations: 114.7 kB / 1.037 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001669/1.099, allocations: 267 kB / 1.037 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.099, allocations: 0 / 1.037 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008653/1.1, allocations: 147.5 kB / 1.037 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/1.1, allocations: 24.09 kB / 1.038 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/1.111, allocations: 0.6887 MB / 1.038 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/1.112, allocations: 0.7004 MB / 1.039 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001882/1.114, allocations: 88.67 kB / 1.039 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006396/1.114, allocations: 55.3 kB / 1.039 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of SimCode: time 1.843e-06/1.114, allocations: 0 / 1.039 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of Templates: time 0.01488/1.129, allocations: 3.228 MB / 1.042 GB, free: 1.098 MB / 0.6511 GB