Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009487/0.0009488, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007504/0.007505, allocations: 169.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00161/0.00161, allocations: 278.8 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.089/1.089, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.000435, allocations: 16.72 kB / 0.5987 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1629, allocations: 88.54 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0008998/0.1638, allocations: 0.5001 MB / 0.6856 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.1657, allocations: 1.481 MB / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.075e-05/0.1657, allocations: 0 / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.1658, allocations: 0 / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.083e-05/0.1658, allocations: 0 / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.1662, allocations: 115.1 kB / 0.6872 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.447e-05/0.1663, allocations: 51.91 kB / 0.6872 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.1664, allocations: 16.55 kB / 0.6872 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.467e-05/0.1664, allocations: 19.97 kB / 0.6873 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.579e-05/0.1665, allocations: 36.34 kB / 0.6873 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1665, allocations: 4.625 kB / 0.6873 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004264/0.1669, allocations: 315.3 kB / 0.6876 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.167, allocations: 14.39 kB / 0.6876 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.167, allocations: 45.56 kB / 0.6877 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.1673, allocations: 215.8 kB / 0.6879 GB, free: 12.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1673, allocations: 0 / 0.6879 GB, free: 12.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1673, allocations: 0 / 0.6879 GB, free: 12.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.1673, allocations: 0 / 0.6879 GB, free: 12.23 MB / 494.1 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.000635/0.168, allocations: 394.5 kB / 0.6882 GB, free: 11.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.168, allocations: 8.031 kB / 0.6883 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004622/0.1685, allocations: 86.16 kB / 0.6883 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1686, allocations: 176.2 kB / 0.6885 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.1686, allocations: 5.062 kB / 0.6885 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.1687, allocations: 8.375 kB / 0.6885 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/0.1691, allocations: 124.8 kB / 0.6886 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1691, allocations: 0 / 0.6886 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.1691, allocations: 4 kB / 0.6886 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.1691, allocations: 0 / 0.6886 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005258/0.1696, allocations: 127.8 kB / 0.6888 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.1702, allocations: 340.6 kB / 0.6891 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/0.1709, allocations: 190.4 kB / 0.6893 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.1712, allocations: 64.81 kB / 0.6893 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.1712, allocations: 7.938 kB / 0.6893 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.1712, allocations: 30.56 kB / 0.6894 GB, free: 10.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.1713, allocations: 0 / 0.6894 GB, free: 10.54 MB / 494.1 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.01987/0.1911, allocations: 3.181 MB / 0.6925 GB, free: 7.266 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.1912, allocations: 59.34 kB / 0.6925 GB, free: 7.195 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/0.1913, allocations: 97.8 kB / 0.6926 GB, free: 7.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/0.1913, allocations: 29.7 kB / 0.6927 GB, free: 7.055 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.1914, allocations: 92.03 kB / 0.6927 GB, free: 6.961 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.605e-05/0.1915, allocations: 39.45 kB / 0.6928 GB, free: 6.922 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.398e-05/0.1915, allocations: 13.72 kB / 0.6928 GB, free: 6.902 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1916, allocations: 318.8 kB / 0.6931 GB, free: 6.582 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007195/0.1924, allocations: 219.8 kB / 0.6933 GB, free: 6.367 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007521/0.1931, allocations: 226.8 kB / 0.6935 GB, free: 6.148 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.1947, allocations: 440.4 kB / 0.6939 GB, free: 5.715 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1947, allocations: 4 kB / 0.6939 GB, free: 5.711 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001713/0.1964, allocations: 0.5128 MB / 0.6944 GB, free: 5.191 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/0.1964, allocations: 5.562 kB / 0.6944 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.1965, allocations: 4 kB / 0.6945 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1965, allocations: 0 / 0.6945 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008833/0.1974, allocations: 127.8 kB / 0.6946 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.1974, allocations: 3.938 kB / 0.6946 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007977/0.1982, allocations: 59.88 kB / 0.6946 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.192e-05/0.1983, allocations: 23.94 kB / 0.6947 GB, free: 4.973 MB / 494.1 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.0001955/0.1985, allocations: 111.2 kB / 0.6948 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.885e-05/0.1986, allocations: 11.89 kB / 0.6948 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.271e-05/0.1987, allocations: 15.97 kB / 0.6948 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1987, allocations: 0 / 0.6948 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.1987, allocations: 7.938 kB / 0.6948 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1987, allocations: 0 / 0.6948 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/0.2011, allocations: 1.102 MB / 0.6959 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2011, allocations: 0 / 0.6959 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.2022, allocations: 119.8 kB / 0.696 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.2022, allocations: 3.938 kB / 0.696 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/0.2022, allocations: 23.94 kB / 0.696 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2022, allocations: 0 / 0.696 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.2022, allocations: 7.984 kB / 0.696 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/0.2047, allocations: 0.8658 MB / 0.6969 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.2048, allocations: 113 kB / 0.697 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.801e-05/0.2049, allocations: 12 kB / 0.697 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007153/0.2056, allocations: 56 kB / 0.697 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.934e-05/0.2057, allocations: 27.92 kB / 0.6971 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.2058, allocations: 31.92 kB / 0.6971 GB, free: 2.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.564e-05/0.2058, allocations: 79.28 kB / 0.6972 GB, free: 2.242 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2058, allocations: 0 / 0.6972 GB, free: 2.242 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003932/0.2062, allocations: 56 kB / 0.6972 GB, free: 2.188 MB / 494.1 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.000184/0.2064, allocations: 111.2 kB / 0.6973 GB, free: 2.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001529/0.208, allocations: 479.5 kB / 0.6978 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.208, allocations: 3.938 kB / 0.6978 GB, free: 1.598 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007329/0.2087, allocations: 243.7 kB / 0.698 GB, free: 1.359 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.2091, allocations: 9.297 kB / 0.698 GB, free: 1.352 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004604/0.2137, allocations: 0.884 MB / 0.6989 GB, free: 448 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.214, allocations: 0.6926 MB / 0.6996 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006654/0.2147, allocations: 100.6 kB / 0.6997 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.2149, allocations: 55.31 kB / 0.6997 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.2149, allocations: 0 / 0.6997 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.005979/0.2209, allocations: 3.322 MB / 0.703 GB, free: 12.25 MB / 0.4981 GB 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)