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.234/2.234, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.002281/0.00228, allocations: 176.9 kB / 325.6 MB, free: 2.832 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.567/2.567, 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.001611/0.001611, allocations: 92.47 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006322/0.0006323, allocations: 16.34 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2182, allocations: 106.3 MB / 0.8989 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.227/0.4453, allocations: 133.1 MB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/0.4457, allocations: 83.95 kB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03306/0.4787, allocations: 5.484 MB / 1.034 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.063e-06/0.4788, allocations: 0 / 1.034 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.4788, allocations: 0 / 1.034 GB, free: 6.621 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007644/0.4796, allocations: 403 kB / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.4796, allocations: 8.031 kB / 1.035 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006382/0.4803, allocations: 71.83 kB / 1.035 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.4805, allocations: 167 kB / 1.035 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.915e-05/0.4805, allocations: 8 kB / 1.035 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.4806, allocations: 4 kB / 1.035 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006344/0.4812, allocations: 128 kB / 1.035 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.4813, allocations: 0 / 1.035 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.4813, allocations: 0 / 1.035 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.4813, allocations: 0 / 1.035 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009425/0.4823, allocations: 131.9 kB / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000885/0.4832, allocations: 348.5 kB / 1.035 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.4844, allocations: 186.4 kB / 1.036 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.4844, allocations: 0 / 1.036 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.4845, allocations: 38.5 kB / 1.036 GB, free: 5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/0.4845, allocations: 0 / 1.036 GB, free: 5 MB / 0.6823 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.04789/0.5324, allocations: 3.188 MB / 1.039 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/0.5326, allocations: 55.41 kB / 1.039 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.5327, allocations: 92.98 kB / 1.039 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.5328, allocations: 33.7 kB / 1.039 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.5329, allocations: 80.14 kB / 1.039 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.5331, allocations: 43.34 kB / 1.039 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.5332, allocations: 11.94 kB / 1.039 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.5334, allocations: 310.8 kB / 1.039 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.5352, allocations: 219.8 kB / 1.04 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.537, allocations: 211.8 kB / 1.04 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001808/0.5389, allocations: 223.8 kB / 1.04 GB, free: 436 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5389, allocations: 0 / 1.04 GB, free: 436 kB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.003461/0.5424, allocations: 0.515 MB / 1.041 GB, free: 15.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.5424, allocations: 7.953 kB / 1.041 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.5425, allocations: 0 / 1.041 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.5425, allocations: 3.984 kB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.5441, allocations: 115.8 kB / 1.041 GB, free: 15.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.5441, allocations: 4 kB / 1.041 GB, free: 15.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.5454, allocations: 59.94 kB / 1.041 GB, free: 15.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.966e-05/0.5456, allocations: 31.92 kB / 1.041 GB, free: 15.69 MB / 0.698 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.0002391/0.5458, allocations: 113.8 kB / 1.041 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.5459, allocations: 7.906 kB / 1.041 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.784e-05/0.546, allocations: 15.92 kB / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.546, allocations: 4 kB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.546, allocations: 0 / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.5461, allocations: 0 / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004112/0.5502, allocations: 1.102 MB / 1.042 GB, free: 14.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.5502, allocations: 4 kB / 1.042 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/0.5519, allocations: 123.7 kB / 1.042 GB, free: 14.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.5519, allocations: 0 / 1.042 GB, free: 14.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.276e-05/0.552, allocations: 27.92 kB / 1.042 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.552, allocations: 0 / 1.042 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.552, allocations: 0 / 1.042 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004661/0.5567, allocations: 0.8739 MB / 1.043 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/0.557, allocations: 117 kB / 1.043 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.5572, allocations: 4.078 kB / 1.043 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/0.5585, allocations: 71.94 kB / 1.043 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.5587, allocations: 23.92 kB / 1.043 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.5588, allocations: 23.94 kB / 1.043 GB, free: 13.03 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.344e-05/0.5589, allocations: 91.44 kB / 1.043 GB, free: 12.94 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.3e-07/0.5589, allocations: 0 / 1.043 GB, free: 12.94 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006038/0.5595, allocations: 59.94 kB / 1.043 GB, free: 12.88 MB / 0.698 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.00029/0.5598, allocations: 119.2 kB / 1.043 GB, free: 12.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002803/0.5627, allocations: 471.5 kB / 1.044 GB, free: 12.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.5627, allocations: 0 / 1.044 GB, free: 12.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.5641, allocations: 255.7 kB / 1.044 GB, free: 12.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.5645, allocations: 5.875 kB / 1.044 GB, free: 12.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008414/0.5729, allocations: 0.8734 MB / 1.045 GB, free: 11.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.5733, allocations: 0.6926 MB / 1.046 GB, free: 10.42 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001185/0.5745, allocations: 92.66 kB / 1.046 GB, free: 10.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000454/0.5749, allocations: 55.3 kB / 1.046 GB, free: 10.27 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/0.575, allocations: 0 / 1.046 GB, free: 10.27 MB / 0.698 GB Notification: Performance of Templates: time 0.01011/0.5851, allocations: 3.241 MB / 1.049 GB, free: 7.027 MB / 0.698 GB