Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8596/0.8596, allocations: 143.8 MB / 159.1 MB, free: 6.504 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 178 kB / 192 MB, free: 6.723 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.7 MB / 450.4 MB, free: 4.941 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000829/0.0008288, allocations: 103.6 kB / 0.5211 GB, free: 1.605 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001929/0.001929, allocations: 276.5 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004106, allocations: 13.19 kB / 0.6948 GB, free: 59.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 82.46 MB / 0.7753 GB, free: 14.32 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001048/0.1594, allocations: 0.4941 MB / 0.7758 GB, free: 13.83 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.1616, allocations: 1.832 MB / 0.7776 GB, free: 11.89 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.1617, allocations: 0 / 0.7776 GB, free: 11.89 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.1617, allocations: 0 / 0.7776 GB, free: 11.89 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.173e-05/0.1617, allocations: 3.938 kB / 0.7776 GB, free: 11.88 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005371/0.1623, allocations: 115.7 kB / 0.7777 GB, free: 11.77 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.228e-05/0.1624, allocations: 51.84 kB / 0.7778 GB, free: 11.72 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.873e-05/0.1624, allocations: 4 kB / 0.7778 GB, free: 11.71 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.835e-05/0.1625, allocations: 23.92 kB / 0.7778 GB, free: 11.69 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.801e-05/0.1626, allocations: 31.89 kB / 0.7778 GB, free: 11.66 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1626, allocations: 4 kB / 0.7778 GB, free: 11.66 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004756/0.1631, allocations: 315.3 kB / 0.7781 GB, free: 11.35 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.776e-05/0.1631, allocations: 11.92 kB / 0.7781 GB, free: 11.34 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.1632, allocations: 49.56 kB / 0.7782 GB, free: 11.28 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.1636, allocations: 211.8 kB / 0.7784 GB, free: 11.07 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1636, allocations: 4 kB / 0.7784 GB, free: 11.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1636, allocations: 0 / 0.7784 GB, free: 11.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1636, allocations: 0 / 0.7784 GB, free: 11.07 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.0006328/0.1642, allocations: 391.3 kB / 0.7788 GB, free: 10.64 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1643, allocations: 12.03 kB / 0.7788 GB, free: 10.63 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004742/0.1648, allocations: 92.75 kB / 0.7789 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.1649, allocations: 168.3 kB / 0.779 GB, free: 10.34 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.165, allocations: 4.375 kB / 0.779 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.165, allocations: 8.375 kB / 0.779 GB, free: 10.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.1654, allocations: 125.9 kB / 0.7792 GB, free: 10.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1654, allocations: 0 / 0.7792 GB, free: 10.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.1655, allocations: 4 kB / 0.7792 GB, free: 10.19 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1655, allocations: 0 / 0.7792 GB, free: 10.19 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.166, allocations: 127.8 kB / 0.7793 GB, free: 10.07 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006346/0.1666, allocations: 340.6 kB / 0.7796 GB, free: 9.684 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/0.1672, allocations: 186.4 kB / 0.7798 GB, free: 9.492 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.1675, allocations: 68.81 kB / 0.7798 GB, free: 9.422 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.1675, allocations: 160 / 0.7798 GB, free: 9.422 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1675, allocations: 38.55 kB / 0.7799 GB, free: 9.375 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1676, allocations: 0 / 0.7799 GB, free: 9.375 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.01708/0.1846, allocations: 3.182 MB / 0.783 GB, free: 6.098 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.1847, allocations: 55.34 kB / 0.783 GB, free: 6.031 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.441e-05/0.1848, allocations: 101.9 kB / 0.7831 GB, free: 5.922 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.1849, allocations: 25.7 kB / 0.7832 GB, free: 5.891 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.1849, allocations: 88.12 kB / 0.7832 GB, free: 5.801 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.806e-05/0.185, allocations: 43.38 kB / 0.7833 GB, free: 5.758 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.1851, allocations: 0 / 0.7833 GB, free: 5.758 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1852, allocations: 318.8 kB / 0.7836 GB, free: 5.438 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006375/0.1858, allocations: 215.8 kB / 0.7838 GB, free: 5.227 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006155/0.1865, allocations: 227.7 kB / 0.784 GB, free: 5.004 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.1877, allocations: 440.5 kB / 0.7844 GB, free: 4.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1877, allocations: 0 / 0.7844 GB, free: 4.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001455/0.1892, allocations: 0.513 MB / 0.7849 GB, free: 4.051 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1892, allocations: 4 kB / 0.7849 GB, free: 4.047 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1892, allocations: 0 / 0.7849 GB, free: 4.047 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1893, allocations: 0 / 0.7849 GB, free: 4.047 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007714/0.19, allocations: 119.7 kB / 0.7851 GB, free: 3.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.19, allocations: 8.328 kB / 0.7851 GB, free: 3.922 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00055/0.1906, allocations: 59.94 kB / 0.7851 GB, free: 3.863 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/0.1907, allocations: 23.92 kB / 0.7851 GB, free: 3.84 MB / 458.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.1908, allocations: 117.8 kB / 0.7853 GB, free: 3.715 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.1909, allocations: 12.09 kB / 0.7853 GB, free: 3.703 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.624e-05/0.1909, allocations: 15.95 kB / 0.7853 GB, free: 3.684 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.191, allocations: 4.094 kB / 0.7853 GB, free: 3.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.191, allocations: 7.875 kB / 0.7853 GB, free: 3.672 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.191, allocations: 3.984 kB / 0.7853 GB, free: 3.668 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.1931, allocations: 1.094 MB / 0.7864 GB, free: 2.461 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1931, allocations: 0 / 0.7864 GB, free: 2.461 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007696/0.1938, allocations: 119.8 kB / 0.7865 GB, free: 2.344 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.1939, allocations: 7.938 kB / 0.7865 GB, free: 2.336 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/0.1939, allocations: 27.92 kB / 0.7865 GB, free: 2.309 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1939, allocations: 3.938 kB / 0.7865 GB, free: 2.305 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1939, allocations: 0 / 0.7865 GB, free: 2.305 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.1962, allocations: 0.862 MB / 0.7874 GB, free: 1.426 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.1963, allocations: 124.9 kB / 0.7875 GB, free: 1.285 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.549e-05/0.1964, allocations: 8.062 kB / 0.7875 GB, free: 1.277 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006219/0.197, allocations: 59.94 kB / 0.7875 GB, free: 1.219 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.1972, allocations: 23.92 kB / 0.7876 GB, free: 1.195 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.08e-05/0.1972, allocations: 31.92 kB / 0.7876 GB, free: 1.164 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.788e-05/0.1973, allocations: 79.28 kB / 0.7877 GB, free: 1.086 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1973, allocations: 0 / 0.7877 GB, free: 1.086 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003342/0.1976, allocations: 48 kB / 0.7877 GB, free: 1.039 MB / 458.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000254/0.1979, allocations: 123.2 kB / 0.7878 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.1994, allocations: 471.5 kB / 0.7883 GB, free: 460 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1994, allocations: 0 / 0.7883 GB, free: 460 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007236/0.2001, allocations: 255.7 kB / 0.7885 GB, free: 204 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.2005, allocations: 14.44 kB / 0.7885 GB, free: 192 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/0.2045, allocations: 0.8732 MB / 0.7894 GB, free: 15.28 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.2048, allocations: 0.6926 MB / 0.7901 GB, free: 14.56 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006733/0.2055, allocations: 88.67 kB / 0.7902 GB, free: 14.47 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/0.2057, allocations: 55.3 kB / 0.7902 GB, free: 14.42 MB / 474.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2057, allocations: 4 kB / 0.7902 GB, free: 14.41 MB / 474.7 MB Notification: Performance of Templates: time 0.006308/0.2121, allocations: 3.332 MB / 0.7935 GB, free: 11.09 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)