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.0007579/0.0007579, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0007989/0.000799, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001631/0.001631, allocations: 270.6 kB / 291.3 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9115/0.9115, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000503/0.0005032, allocations: 16 kB / 0.598 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1663, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0008827/0.1672, allocations: 0.4924 MB / 0.685 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.1688, allocations: 1.407 MB / 0.6863 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.896e-05/0.1689, allocations: 0 / 0.6863 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.1689, allocations: 6.125 kB / 0.6864 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.392e-05/0.169, allocations: 4 kB / 0.6864 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.1694, allocations: 112.7 kB / 0.6865 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.386e-05/0.1695, allocations: 47.89 kB / 0.6865 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.1695, allocations: 0 / 0.6865 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.28e-05/0.1696, allocations: 23.92 kB / 0.6865 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.004e-05/0.1697, allocations: 35.89 kB / 0.6866 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.1697, allocations: 1.906 kB / 0.6866 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004036/0.1701, allocations: 311.4 kB / 0.6869 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.1701, allocations: 11.92 kB / 0.6869 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.1702, allocations: 29.7 kB / 0.6869 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.1704, allocations: 148 kB / 0.687 GB, free: 12.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1704, allocations: 0.5938 kB / 0.6871 GB, free: 12.83 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1704, allocations: 0.5625 kB / 0.6871 GB, free: 12.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1704, allocations: 0 / 0.6871 GB, free: 12.83 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.0005284/0.1709, allocations: 393.5 kB / 0.6874 GB, free: 12.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.171, allocations: 8.969 kB / 0.6874 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003987/0.1714, allocations: 85.91 kB / 0.6875 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.1715, allocations: 174.9 kB / 0.6877 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.1715, allocations: 8 kB / 0.6877 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.1716, allocations: 8 kB / 0.6877 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.1719, allocations: 117.7 kB / 0.6878 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.172, allocations: 4 kB / 0.6878 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.172, allocations: 1.75 kB / 0.6878 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.172, allocations: 0 / 0.6878 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/0.1724, allocations: 135.8 kB / 0.6879 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000587/0.173, allocations: 340.6 kB / 0.6883 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005604/0.1736, allocations: 186.4 kB / 0.6884 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.1738, allocations: 68.81 kB / 0.6885 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.1738, allocations: 3.938 kB / 0.6885 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.1739, allocations: 34.52 kB / 0.6886 GB, free: 11.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.1739, allocations: 0 / 0.6886 GB, free: 11.14 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.01544/0.1893, allocations: 3.186 MB / 0.6917 GB, free: 7.863 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.1894, allocations: 55.41 kB / 0.6917 GB, free: 7.797 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.695e-05/0.1894, allocations: 93.86 kB / 0.6918 GB, free: 7.695 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.1895, allocations: 37.64 kB / 0.6918 GB, free: 7.652 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.1895, allocations: 92.03 kB / 0.6919 GB, free: 7.559 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.181e-05/0.1896, allocations: 35.47 kB / 0.692 GB, free: 7.523 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.1896, allocations: 0 / 0.692 GB, free: 7.523 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.1897, allocations: 322.8 kB / 0.6923 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005721/0.1903, allocations: 211.8 kB / 0.6925 GB, free: 6.992 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.1909, allocations: 219.7 kB / 0.6927 GB, free: 6.777 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005756/0.1915, allocations: 221 kB / 0.6929 GB, free: 6.562 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1915, allocations: 0 / 0.6929 GB, free: 6.562 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001312/0.1928, allocations: 0.527 MB / 0.6934 GB, free: 6.031 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1928, allocations: 4 kB / 0.6934 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1928, allocations: 0 / 0.6934 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1928, allocations: 0 / 0.6934 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006978/0.1935, allocations: 119.8 kB / 0.6935 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1936, allocations: 4 kB / 0.6935 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.1941, allocations: 63.88 kB / 0.6936 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/0.1941, allocations: 19.94 kB / 0.6936 GB, free: 5.824 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.1943, allocations: 118.5 kB / 0.6937 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.1943, allocations: 11.94 kB / 0.6937 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.1944, allocations: 11.97 kB / 0.6937 GB, free: 5.676 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1944, allocations: 4 kB / 0.6937 GB, free: 5.672 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1944, allocations: 0 / 0.6937 GB, free: 5.672 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1944, allocations: 0 / 0.6937 GB, free: 5.672 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.1963, allocations: 1.105 MB / 0.6948 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1963, allocations: 0 / 0.6948 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006977/0.197, allocations: 123.8 kB / 0.6949 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.197, allocations: 4 kB / 0.6949 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.732e-05/0.1971, allocations: 23.94 kB / 0.695 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1971, allocations: 0 / 0.695 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1971, allocations: 4 kB / 0.695 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.199, allocations: 0.8659 MB / 0.6958 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.1992, allocations: 121.1 kB / 0.6959 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.947e-05/0.1992, allocations: 7.938 kB / 0.6959 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005504/0.1998, allocations: 59.94 kB / 0.696 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.1999, allocations: 23.92 kB / 0.696 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/0.1999, allocations: 27.92 kB / 0.6961 GB, free: 3.168 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.2, allocations: 83.28 kB / 0.6961 GB, free: 3.086 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2, allocations: 0 / 0.6961 GB, free: 3.086 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003338/0.2003, allocations: 48 kB / 0.6962 GB, free: 3.039 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 (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.0001737/0.2005, allocations: 119.2 kB / 0.6963 GB, free: 2.914 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.2017, allocations: 471.8 kB / 0.6967 GB, free: 2.453 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2018, allocations: 0 / 0.6967 GB, free: 2.453 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006175/0.2024, allocations: 247.7 kB / 0.697 GB, free: 2.211 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.2027, allocations: 19.89 kB / 0.697 GB, free: 2.191 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.2062, allocations: 0.8694 MB / 0.6978 GB, free: 1.289 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.2064, allocations: 0.6965 MB / 0.6985 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006413/0.2071, allocations: 92.98 kB / 0.6986 GB, free: 488 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.2073, allocations: 55.3 kB / 0.6987 GB, free: 432 kB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2073, allocations: 0 / 0.6987 GB, free: 432 kB / 494.1 MB Notification: Performance of Templates: time 0.00518/0.2125, allocations: 3.245 MB / 0.7018 GB, free: 13.18 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)