Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.939/2.939, allocations: 287.9 MB / 302.9 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001392/0.001392, allocations: 171.6 kB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001573/0.001572, allocations: 88.47 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004754, allocations: 12.38 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1651, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0006085/0.1657, allocations: 337.8 kB / 0.9791 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.1675, allocations: 1.428 MB / 0.9805 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.1675, allocations: 0 / 0.9805 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.029e-05/0.1676, allocations: 0 / 0.9805 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.086e-05/0.1676, allocations: 3.984 kB / 0.9805 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004202/0.168, allocations: 107.6 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.82e-05/0.1681, allocations: 23.97 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.358e-05/0.1682, allocations: 4 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.763e-05/0.1682, allocations: 15.97 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.21e-05/0.1683, allocations: 23.91 kB / 0.9807 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.1683, allocations: 4 kB / 0.9807 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.1688, allocations: 315.5 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.1688, allocations: 4 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.1689, allocations: 37.56 kB / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.1691, allocations: 135.9 kB / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.813e-06/0.1691, allocations: 0 / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.258e-06/0.1691, allocations: 4 kB / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.637e-06/0.1692, allocations: 0 / 0.9811 GB, free: 25.73 MB / 0.6198 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.0004154/0.1696, allocations: 359.6 kB / 0.9815 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1696, allocations: 8.031 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004929/0.1701, allocations: 83.83 kB / 0.9816 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.611e-05/0.1702, allocations: 171 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.1703, allocations: 0 / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.1703, allocations: 11.94 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.1706, allocations: 73.64 kB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.835e-06/0.1706, allocations: 4 kB / 0.9818 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.1706, allocations: 3.984 kB / 0.9818 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.183e-06/0.1707, allocations: 0 / 0.9818 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000346/0.171, allocations: 83.86 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.1712, allocations: 169.7 kB / 0.9821 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.1723, allocations: 138.6 kB / 0.9822 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007395/0.1731, allocations: 173 kB / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1732, allocations: 34.56 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 4.126e-06/0.1732, allocations: 0 / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.002253/0.1754, allocations: 434.2 kB / 0.9828 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.1755, allocations: 59.41 kB / 0.9829 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.968e-05/0.1756, allocations: 93.86 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.1757, allocations: 29.64 kB / 0.983 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.1757, allocations: 84.12 kB / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.1758, allocations: 19.75 kB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/0.1758, allocations: 0 / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.617e-05/0.1759, allocations: 314.8 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003129/0.1762, allocations: 44.09 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.1765, allocations: 47.95 kB / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.1768, allocations: 43.97 kB / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.891e-06/0.1769, allocations: 0 / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006893/0.1776, allocations: 125.5 kB / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.1776, allocations: 5.25 kB / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.135e-06/0.1776, allocations: 3.984 kB / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1777, allocations: 0 / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.178, allocations: 23.98 kB / 0.9837 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.878e-06/0.178, allocations: 3.938 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.1782, allocations: 23.98 kB / 0.9837 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.1782, allocations: 0 / 0.9837 GB, free: 22.84 MB / 0.6198 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 9.814e-05/0.1783, allocations: 117.8 kB / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.1784, allocations: 3.938 kB / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008453/0.1792, allocations: 141.2 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.1793, allocations: 7.922 kB / 0.9839 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.173e-06/0.1793, allocations: 4 kB / 0.9839 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.272e-06/0.1793, allocations: 0 / 0.9839 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.1796, allocations: 165.9 kB / 0.9841 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.1796, allocations: 7.984 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/0.1799, allocations: 31.92 kB / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.18, allocations: 0 / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.18, allocations: 0 / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/0.18, allocations: 4 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.71e-06/0.18, allocations: 0 / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.1811, allocations: 213 kB / 0.9843 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.852e-05/0.1812, allocations: 85 kB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.1813, allocations: 8.094 kB / 0.9844 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.1815, allocations: 15.98 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.1816, allocations: 7.984 kB / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.1816, allocations: 4 kB / 0.9845 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.802e-05/0.1817, allocations: 75.28 kB / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.64e-07/0.1817, allocations: 0 / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005694/0.1823, allocations: 32.09 kB / 0.9846 GB, free: 21.84 MB / 0.6198 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.0002951/0.1826, allocations: 135.2 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000706/0.1833, allocations: 91.92 kB / 0.9848 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.04e-06/0.1833, allocations: 0 / 0.9848 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003511/0.1837, allocations: 59.89 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.1839, allocations: 3.953 kB / 0.9848 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.185, allocations: 204.8 kB / 0.985 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.1851, allocations: 0.6887 MB / 0.9857 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002538/0.1854, allocations: 16 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.012e-05/0.1855, allocations: 15.38 kB / 0.9857 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of SimCode: time 2.025e-06/0.1855, allocations: 0 / 0.9857 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of Templates: time 0.006004/0.1916, allocations: 1.095 MB / 0.9868 GB, free: 19.48 MB / 0.6198 GB