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.307/2.307, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.001569, allocations: 186.3 kB / 325.6 MB, free: 2.805 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.611/2.611, allocations: 205.4 MB / 0.5766 GB, free: 20.71 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.001115/0.001114, allocations: 93.34 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006961/0.0006962, allocations: 17.5 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2494, allocations: 106.3 MB / 0.8989 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2338/0.4833, allocations: 132.3 MB / 1.028 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/0.4837, allocations: 79.95 kB / 1.028 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02149/0.5052, allocations: 4.082 MB / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.063e-06/0.5052, allocations: 0 / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.732e-05/0.5053, allocations: 4 kB / 1.032 GB, free: 8.758 MB / 0.6823 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.0006409/0.5059, allocations: 368.5 kB / 1.033 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.506, allocations: 8.031 kB / 1.033 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006495/0.5066, allocations: 67.88 kB / 1.033 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.5068, allocations: 171 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.5069, allocations: 0 / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.5069, allocations: 12 kB / 1.033 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/0.5073, allocations: 73.64 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.5073, allocations: 0 / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.5074, allocations: 3.984 kB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.5074, allocations: 4 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005509/0.5079, allocations: 75.94 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.5082, allocations: 165.7 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.5093, allocations: 152.1 kB / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.613e-05/0.5093, allocations: 4 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.5094, allocations: 30.56 kB / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 3.697e-06/0.5094, allocations: 0 / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.001882/0.5113, allocations: 442.2 kB / 1.034 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.5113, allocations: 59.41 kB / 1.034 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.602e-05/0.5114, allocations: 85 kB / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.5115, allocations: 29.7 kB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.5115, allocations: 84.14 kB / 1.034 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.5116, allocations: 19.64 kB / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.246e-05/0.5116, allocations: 0 / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5117, allocations: 318.8 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.512, allocations: 48.03 kB / 1.034 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.5123, allocations: 47.95 kB / 1.034 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.5126, allocations: 35.98 kB / 1.034 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.5126, allocations: 0 / 1.034 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006787/0.5133, allocations: 129.6 kB / 1.034 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.5134, allocations: 4 kB / 1.034 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5134, allocations: 0 / 1.034 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.5134, allocations: 0 / 1.034 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.5137, allocations: 28.22 kB / 1.035 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.5137, allocations: 0 / 1.035 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.5139, allocations: 23.98 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.5139, allocations: 0 / 1.035 GB, free: 6.066 MB / 0.6823 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 0.0001073/0.514, allocations: 121.7 kB / 1.035 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.5141, allocations: 0 / 1.035 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007772/0.5149, allocations: 145.2 kB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.5149, allocations: 7.938 kB / 1.035 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.5149, allocations: 0 / 1.035 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.5149, allocations: 0 / 1.035 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.5151, allocations: 173.6 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5151, allocations: 0 / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/0.5154, allocations: 31.97 kB / 1.035 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.5154, allocations: 0 / 1.035 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.5155, allocations: 4 kB / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.5155, allocations: 3.938 kB / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5155, allocations: 0 / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.5165, allocations: 212.9 kB / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.953e-05/0.5166, allocations: 89.12 kB / 1.035 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.5167, allocations: 8 kB / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.5169, allocations: 15.98 kB / 1.035 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.5169, allocations: 0 / 1.035 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.5169, allocations: 7.984 kB / 1.035 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.892e-05/0.517, allocations: 75.28 kB / 1.035 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.41e-07/0.517, allocations: 96 / 1.035 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003562/0.5174, allocations: 47.94 kB / 1.035 GB, free: 5.039 MB / 0.6823 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.0002705/0.5177, allocations: 139.2 kB / 1.036 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006453/0.5183, allocations: 95.86 kB / 1.036 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5183, allocations: 0 / 1.036 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.5187, allocations: 59.95 kB / 1.036 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.5188, allocations: 0 / 1.036 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009554/0.5198, allocations: 204.8 kB / 1.036 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.5201, allocations: 0.6887 MB / 1.037 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001814/0.5203, allocations: 15.94 kB / 1.037 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.5203, allocations: 11.44 kB / 1.037 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of SimCode: time 7.31e-07/0.5204, allocations: 0 / 1.037 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of Templates: time 0.00447/0.5248, allocations: 1.084 MB / 1.038 GB, free: 2.691 MB / 0.6823 GB