Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.244/2.244, allocations: 253.2 MB / 260.6 MB, free: 7.492 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.001919/0.001918, allocations: 182 kB / 319.9 MB, free: 3.102 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.249/2.249, allocations: 205.6 MB / 0.5708 GB, free: 15.28 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.001141/0.001141, allocations: 93.03 kB / 0.6751 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.338e-05/3.341e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2236, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9331/1.157, allocations: 132.5 MB / 1.018 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/1.157, allocations: 76.52 kB / 1.018 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02086/1.178, allocations: 4.056 MB / 1.022 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/1.178, allocations: 4 kB / 1.022 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.193e-06/1.178, allocations: 0 / 1.022 GB, free: 1.398 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007578/1.179, allocations: 365.8 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.844e-05/1.179, allocations: 8.031 kB / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009579/1.18, allocations: 63.92 kB / 1.023 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/1.18, allocations: 169 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/1.18, allocations: 7.938 kB / 1.023 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/1.18, allocations: 0 / 1.023 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001691/1.18, allocations: 19.81 kB / 1.023 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/1.181, allocations: 53.09 kB / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/1.181, allocations: 0 / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/1.181, allocations: 0 / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/1.181, allocations: 3.938 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/1.181, allocations: 141.8 kB / 1.023 GB, free: 484 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/1.182, allocations: 57.36 kB / 1.023 GB, free: 428 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/1.182, allocations: 24.44 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.1e-05/1.182, allocations: 11.98 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/1.182, allocations: 30.56 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 3.677e-06/1.182, allocations: 0 / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.003372/1.185, allocations: 427 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/1.185, allocations: 55.41 kB / 1.023 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/1.186, allocations: 85 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/1.186, allocations: 25.7 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/1.186, allocations: 83.95 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.843e-05/1.186, allocations: 23.64 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/1.186, allocations: 4.125 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001992/1.186, allocations: 310.8 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.246e-05/1.186, allocations: 14.62 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.482e-05/1.186, allocations: 11.62 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008275/1.187, allocations: 64.06 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.187, allocations: 4 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000824/1.188, allocations: 116.4 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/1.188, allocations: 8 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.188, allocations: 64 / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/1.188, allocations: 4 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/1.189, allocations: 31.97 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/1.189, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/1.189, allocations: 15.98 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/1.189, allocations: 0 / 1.024 GB, free: 15.04 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 (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 0.0001536/1.189, allocations: 108.9 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/1.189, allocations: 4 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/1.19, allocations: 136.3 kB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/1.19, allocations: 0 / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.19, allocations: 7.938 kB / 1.024 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/1.19, allocations: 0 / 1.024 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/1.191, allocations: 148.8 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.191, allocations: 4 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004055/1.191, allocations: 27.94 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/1.191, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/1.191, allocations: 3.984 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/1.191, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.191, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008077/1.192, allocations: 169.7 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/1.192, allocations: 89.06 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/1.192, allocations: 3.953 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/1.193, allocations: 20.05 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/1.193, allocations: 7.172 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/1.193, allocations: 4 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.481e-05/1.193, allocations: 75.28 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4e-07/1.193, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003419/1.193, allocations: 43.92 kB / 1.025 GB, free: 14.15 MB / 0.6511 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 () * 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.0002891/1.193, allocations: 135.2 kB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001718/1.194, allocations: 37.69 kB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.194, allocations: 0 / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/1.194, allocations: 30.48 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/1.194, allocations: 128 / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/1.194, allocations: 124.7 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/1.195, allocations: 0.6807 MB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000189/1.195, allocations: 19.98 kB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.278e-05/1.195, allocations: 11.44 kB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of SimCode: time 2.454e-06/1.195, allocations: 3.938 kB / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of Templates: time 0.004471/1.2, allocations: 1.055 MB / 1.027 GB, free: 12.04 MB / 0.6511 GB