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.194/2.194, allocations: 251.1 MB / 266.1 MB, free: 11.55 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.001606/0.001606, allocations: 185 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.575/2.575, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001165/0.001165, allocations: 102.2 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006401/0.0006402, allocations: 16.81 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2504, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001625/0.2521, allocations: 0.5071 MB / 0.8994 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003693/0.2559, allocations: 1.458 MB / 0.9008 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.009e-05/0.256, allocations: 0 / 0.9008 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.2561, allocations: 0 / 0.9008 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.364e-05/0.2562, allocations: 0 / 0.9008 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009636/0.2572, allocations: 111.6 kB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.2573, allocations: 39.88 kB / 0.901 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.702e-05/0.2574, allocations: 4 kB / 0.901 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.2576, allocations: 31.91 kB / 0.901 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.2577, allocations: 23.91 kB / 0.901 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.2578, allocations: 4 kB / 0.901 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.2589, allocations: 311.5 kB / 0.9013 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.566e-05/0.259, allocations: 7.984 kB / 0.9013 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.259, allocations: 41.64 kB / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004314/0.2595, allocations: 159.8 kB / 0.9015 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2595, allocations: 0 / 0.9015 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2595, allocations: 0 / 0.9015 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2595, allocations: 0 / 0.9015 GB, free: 62.76 MB / 0.6042 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.001124/0.2606, allocations: 395.5 kB / 0.9019 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2607, allocations: 12.03 kB / 0.9019 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.2618, allocations: 83.78 kB / 0.902 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.262, allocations: 171 kB / 0.9021 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/0.2621, allocations: 0 / 0.9021 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.97e-05/0.2622, allocations: 12 kB / 0.9022 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009557/0.2631, allocations: 117.5 kB / 0.9023 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.2632, allocations: 0 / 0.9023 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.2632, allocations: 4 kB / 0.9023 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.2633, allocations: 4 kB / 0.9023 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.2645, allocations: 119.9 kB / 0.9024 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004056/0.2686, allocations: 344.6 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.2706, allocations: 182.4 kB / 0.9029 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.2707, allocations: 7.953 kB / 0.9029 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.2708, allocations: 34.56 kB / 0.9029 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 4.9e-06/0.2708, allocations: 0 / 0.9029 GB, free: 61.14 MB / 0.6042 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.05338/0.3242, allocations: 3.181 MB / 0.906 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.3243, allocations: 51.41 kB / 0.9061 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.3244, allocations: 113.8 kB / 0.9062 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.3246, allocations: 25.7 kB / 0.9062 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.3246, allocations: 92.05 kB / 0.9063 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.3248, allocations: 43.38 kB / 0.9064 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-05/0.3249, allocations: 4 kB / 0.9064 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.672e-05/0.325, allocations: 314.8 kB / 0.9067 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/0.3269, allocations: 215.8 kB / 0.9069 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.3288, allocations: 221.8 kB / 0.9071 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/0.3307, allocations: 223.8 kB / 0.9073 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3307, allocations: 0 / 0.9073 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.004248/0.335, allocations: 0.5128 MB / 0.9078 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.3351, allocations: 4 kB / 0.9078 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3351, allocations: 4 kB / 0.9078 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.3351, allocations: 3.984 kB / 0.9078 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002357/0.3375, allocations: 119.7 kB / 0.9079 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.3376, allocations: 0 / 0.9079 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.3394, allocations: 67.88 kB / 0.908 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.3396, allocations: 27.92 kB / 0.908 GB, free: 55.8 MB / 0.6042 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.0002653/0.3399, allocations: 113.8 kB / 0.9081 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.34, allocations: 11.86 kB / 0.9081 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.175e-05/0.3402, allocations: 11.97 kB / 0.9081 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.371e-06/0.3402, allocations: 0 / 0.9081 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3402, allocations: 0 / 0.9081 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3402, allocations: 0 / 0.9081 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005198/0.3454, allocations: 1.102 MB / 0.9092 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.3455, allocations: 0 / 0.9092 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00221/0.3477, allocations: 115.8 kB / 0.9093 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.3478, allocations: 7.938 kB / 0.9093 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/0.348, allocations: 27.92 kB / 0.9094 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.348, allocations: 0 / 0.9094 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.348, allocations: 0 / 0.9094 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004669/0.3527, allocations: 0.8718 MB / 0.9102 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.353, allocations: 113 kB / 0.9103 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.3531, allocations: 11.98 kB / 0.9103 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/0.3545, allocations: 60 kB / 0.9104 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/0.3548, allocations: 27.92 kB / 0.9104 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/0.3549, allocations: 23.94 kB / 0.9104 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.665e-05/0.355, allocations: 83.27 kB / 0.9105 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.256e-06/0.355, allocations: 0 / 0.9105 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006193/0.3557, allocations: 59.94 kB / 0.9106 GB, free: 53.02 MB / 0.6042 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.0002673/0.356, allocations: 115.2 kB / 0.9107 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002562/0.3585, allocations: 475.5 kB / 0.9111 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3586, allocations: 0 / 0.9111 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.3599, allocations: 251.7 kB / 0.9114 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.3602, allocations: 11.94 kB / 0.9114 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007983/0.3682, allocations: 0.8696 MB / 0.9122 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.3684, allocations: 0.6926 MB / 0.9129 GB, free: 50.56 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001169/0.3696, allocations: 88.67 kB / 0.913 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/0.37, allocations: 59.3 kB / 0.9131 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of SimCode: time 1.363e-06/0.3701, allocations: 0 / 0.9131 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.00849/0.3786, allocations: 3.244 MB / 0.9162 GB, free: 47.17 MB / 0.6042 GB