Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002639/0.002643, allocations: 357.9 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.499/1.499, allocations: 165.8 MB / 183.1 MB, free: 5.434 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.74/3.74, allocations: 410.8 MB / 0.6001 GB, free: 15.06 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001804/0.001803, allocations: 197.2 kB / 0.6668 GB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004482/0.0004484, allocations: 16 kB / 0.7429 GB, free: 8.914 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4627, allocations: 67.43 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1819/0.6447, allocations: 99.84 MB / 0.9062 GB, free: 8.801 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004076/0.6451, allocations: 87.95 kB / 0.9063 GB, free: 8.715 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03394/0.6791, allocations: 5.471 MB / 0.9117 GB, free: 3.242 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.03e-06/0.6791, allocations: 0 / 0.9117 GB, free: 3.242 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.6792, allocations: 3.938 kB / 0.9117 GB, free: 3.238 MB / 458.7 MB 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.0007562/0.6799, allocations: 407 kB / 0.9121 GB, free: 2.793 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.68, allocations: 8.031 kB / 0.9121 GB, free: 2.785 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006383/0.6806, allocations: 71.83 kB / 0.9121 GB, free: 2.715 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.6808, allocations: 163.1 kB / 0.9123 GB, free: 2.516 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.6808, allocations: 4 kB / 0.9123 GB, free: 2.512 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.6809, allocations: 12 kB / 0.9123 GB, free: 2.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.6815, allocations: 113.6 kB / 0.9124 GB, free: 2.383 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.6816, allocations: 3.984 kB / 0.9124 GB, free: 2.379 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.6816, allocations: 3.953 kB / 0.9124 GB, free: 2.375 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.6816, allocations: 8 kB / 0.9124 GB, free: 2.367 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009426/0.6826, allocations: 119.8 kB / 0.9125 GB, free: 2.25 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008678/0.6835, allocations: 344.6 kB / 0.9129 GB, free: 1.863 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.6847, allocations: 186.4 kB / 0.9131 GB, free: 1.672 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004669/0.6852, allocations: 68.8 kB / 0.9131 GB, free: 1.602 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.6852, allocations: 8.141 kB / 0.9131 GB, free: 1.594 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.6853, allocations: 34.56 kB / 0.9132 GB, free: 1.551 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 2.956e-06/0.6853, allocations: 4 kB / 0.9132 GB, free: 1.547 MB / 458.7 MB 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.04797/0.7333, allocations: 3.177 MB / 0.9163 GB, free: 14.27 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/0.7334, allocations: 59.41 kB / 0.9163 GB, free: 14.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.7336, allocations: 101.8 kB / 0.9164 GB, free: 14.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.7337, allocations: 29.7 kB / 0.9165 GB, free: 14.06 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.7338, allocations: 84.14 kB / 0.9165 GB, free: 13.97 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.734, allocations: 35.45 kB / 0.9166 GB, free: 13.94 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.589e-05/0.7341, allocations: 4 kB / 0.9166 GB, free: 13.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.7343, allocations: 326.7 kB / 0.9169 GB, free: 13.61 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002415/0.7367, allocations: 215.8 kB / 0.9171 GB, free: 13.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001991/0.7388, allocations: 215.9 kB / 0.9173 GB, free: 13.18 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/0.7411, allocations: 221.1 kB / 0.9175 GB, free: 12.97 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.7412, allocations: 0 / 0.9175 GB, free: 12.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00576/0.747, allocations: 0.519 MB / 0.918 GB, free: 12.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.7471, allocations: 4 kB / 0.918 GB, free: 12.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.7471, allocations: 0 / 0.918 GB, free: 12.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.377e-05/0.7472, allocations: 4 kB / 0.918 GB, free: 12.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002667/0.7499, allocations: 119.7 kB / 0.9181 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.75, allocations: 4 kB / 0.9181 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.7515, allocations: 59.94 kB / 0.9182 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.7517, allocations: 27.92 kB / 0.9182 GB, free: 12.23 MB / 474.7 MB 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.000258/0.752, allocations: 119.1 kB / 0.9183 GB, free: 12.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.7521, allocations: 3.906 kB / 0.9183 GB, free: 12.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.626e-05/0.7522, allocations: 19.91 kB / 0.9184 GB, free: 12.09 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7522, allocations: 0 / 0.9184 GB, free: 12.09 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.7522, allocations: 0 / 0.9184 GB, free: 12.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.7522, allocations: 3.984 kB / 0.9184 GB, free: 12.08 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0052/0.7575, allocations: 1.101 MB / 0.9194 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.7575, allocations: 0 / 0.9194 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002912/0.7605, allocations: 115.8 kB / 0.9195 GB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.7605, allocations: 4 kB / 0.9195 GB, free: 10.75 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001784/0.7607, allocations: 23.92 kB / 0.9196 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.7607, allocations: 0 / 0.9196 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.7608, allocations: 4 kB / 0.9196 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007577/0.7684, allocations: 0.8697 MB / 0.9204 GB, free: 9.832 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004213/0.7689, allocations: 117 kB / 0.9205 GB, free: 9.699 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.7691, allocations: 8 kB / 0.9205 GB, free: 9.691 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/0.7713, allocations: 56 kB / 0.9206 GB, free: 9.637 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002605/0.7716, allocations: 27.92 kB / 0.9206 GB, free: 9.609 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/0.7718, allocations: 23.92 kB / 0.9206 GB, free: 9.586 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.7719, allocations: 87.23 kB / 0.9207 GB, free: 9.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.7719, allocations: 0 / 0.9207 GB, free: 9.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001277/0.7733, allocations: 64.03 kB / 0.9208 GB, free: 9.438 MB / 474.7 MB 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.000435/0.7737, allocations: 119.5 kB / 0.9209 GB, free: 9.312 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004986/0.7787, allocations: 475.4 kB / 0.9214 GB, free: 8.848 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/0.7788, allocations: 4 kB / 0.9214 GB, free: 8.844 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002319/0.7811, allocations: 251.7 kB / 0.9216 GB, free: 8.598 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007262/0.7819, allocations: 8 kB / 0.9216 GB, free: 8.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/0.7955, allocations: 0.8696 MB / 0.9225 GB, free: 7.684 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.796, allocations: 0.6965 MB / 0.9231 GB, free: 6.961 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001942/0.798, allocations: 92.66 kB / 0.9232 GB, free: 6.871 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007028/0.7987, allocations: 55.3 kB / 0.9233 GB, free: 6.816 MB / 474.7 MB Notification: Performance of SimCode: time 1.673e-06/0.7987, allocations: 0 / 0.9233 GB, free: 6.816 MB / 474.7 MB Notification: Performance of Templates: time 0.01448/0.8132, allocations: 3.253 MB / 0.9265 GB, free: 3.562 MB / 474.7 MB