Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009596/0.0009597, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009244/0.0009244, allocations: 194.3 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.142/1.142, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.456/1.456, allocations: 292.2 MB / 0.5485 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 65.53 kB / 0.671 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1629, allocations: 114.6 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001727/0.1646, allocations: 0.8513 MB / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.166, allocations: 1.515 MB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.1661, allocations: 0 / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.606e-05/0.1661, allocations: 3.938 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.227e-05/0.1661, allocations: 0 / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.1665, allocations: 123.7 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.497e-05/0.1666, allocations: 51.91 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.729e-05/0.1666, allocations: 7.984 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.979e-05/0.1667, allocations: 27.86 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.925e-05/0.1667, allocations: 31.89 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.1668, allocations: 4 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.1671, allocations: 315.4 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.1671, allocations: 19.92 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.1672, allocations: 27.84 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.1674, allocations: 207.8 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1674, allocations: 0 / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1674, allocations: 0 / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.1674, allocations: 0 / 0.786 GB, free: 10.72 MB / 0.6075 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.0005085/0.1679, allocations: 407.3 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.168, allocations: 8.031 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003958/0.1684, allocations: 76.75 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.456e-05/0.1685, allocations: 164.4 kB / 0.7866 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.1685, allocations: 8.375 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.1685, allocations: 8.312 kB / 0.7866 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.1688, allocations: 105.9 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1689, allocations: 0 / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1689, allocations: 8 kB / 0.7867 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1689, allocations: 4 kB / 0.7867 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.1693, allocations: 107.8 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.1698, allocations: 344.4 kB / 0.7871 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005513/0.1703, allocations: 150.5 kB / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.1705, allocations: 56.81 kB / 0.7873 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.1706, allocations: 3.984 kB / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.1706, allocations: 34.56 kB / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1706, allocations: 0 / 0.7874 GB, free: 9.102 MB / 0.6075 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.01715/0.1877, allocations: 2.834 MB / 0.7901 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.1878, allocations: 55.34 kB / 0.7902 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.927e-05/0.1879, allocations: 97.86 kB / 0.7903 GB, free: 6 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.1879, allocations: 29.7 kB / 0.7903 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.188, allocations: 99.97 kB / 0.7904 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/0.188, allocations: 35.45 kB / 0.7905 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.1882, allocations: 69.58 kB / 0.7905 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.208e-05/0.1883, allocations: 318.8 kB / 0.7908 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005655/0.1888, allocations: 187.8 kB / 0.791 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/0.1894, allocations: 193.2 kB / 0.7912 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.1905, allocations: 395.7 kB / 0.7916 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1906, allocations: 0 / 0.7916 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001315/0.1919, allocations: 477.3 kB / 0.792 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1919, allocations: 8 kB / 0.792 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1919, allocations: 0 / 0.792 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1919, allocations: 0 / 0.792 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007597/0.1927, allocations: 103.8 kB / 0.7921 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1927, allocations: 7.938 kB / 0.7921 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005753/0.1933, allocations: 39.94 kB / 0.7922 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.298e-05/0.1933, allocations: 31.88 kB / 0.7922 GB, free: 4.016 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.1935, allocations: 121.8 kB / 0.7923 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/0.1936, allocations: 7.906 kB / 0.7923 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/0.1936, allocations: 11.97 kB / 0.7923 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1936, allocations: 0 / 0.7923 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1936, allocations: 3.938 kB / 0.7923 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.1936, allocations: 0 / 0.7923 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.1955, allocations: 1.047 MB / 0.7934 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1955, allocations: 8 kB / 0.7934 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007754/0.1963, allocations: 111.7 kB / 0.7935 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1963, allocations: 3.938 kB / 0.7935 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/0.1964, allocations: 23.97 kB / 0.7935 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1964, allocations: 7.938 kB / 0.7935 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1964, allocations: 0 / 0.7935 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.1984, allocations: 0.7919 MB / 0.7943 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.1985, allocations: 120.9 kB / 0.7944 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/0.1986, allocations: 0 / 0.7944 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006646/0.1993, allocations: 55.98 kB / 0.7945 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.1994, allocations: 23.94 kB / 0.7945 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.1994, allocations: 23.92 kB / 0.7945 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.1995, allocations: 79.28 kB / 0.7946 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.072e-06/0.1995, allocations: 0 / 0.7946 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003265/0.1998, allocations: 55.94 kB / 0.7946 GB, free: 1.367 MB / 0.6075 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 (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.0001704/0.2, allocations: 123.2 kB / 0.7947 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.2012, allocations: 419.5 kB / 0.7951 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2013, allocations: 0 / 0.7951 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006243/0.2019, allocations: 223.7 kB / 0.7954 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.2022, allocations: 20.89 kB / 0.7954 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/0.2061, allocations: 0.7911 MB / 0.7962 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.2063, allocations: 0.6885 MB / 0.7968 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006456/0.2069, allocations: 96.66 kB / 0.7969 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.2071, allocations: 55.3 kB / 0.797 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.2072, allocations: 0 / 0.797 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of Templates: time 0.004822/0.212, allocations: 3.461 MB / 0.8003 GB, free: 11.45 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)