Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, 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.001632/0.001632, allocations: 190.4 kB / 16.25 MB, free: 6.629 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.363/1.363, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.077/1.077, allocations: 143 MB / 433.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.89 kB / 0.5137 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1706, allocations: 82.03 MB / 0.5938 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001758/0.1724, allocations: 0.6621 MB / 0.5944 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.1741, allocations: 1.447 MB / 0.5959 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.1742, allocations: 0 / 0.5959 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.222e-05/0.1742, allocations: 0 / 0.5959 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.626e-05/0.1742, allocations: 3.938 kB / 0.5959 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.1746, allocations: 127.6 kB / 0.596 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.139e-05/0.1747, allocations: 23.98 kB / 0.596 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.1747, allocations: 0 / 0.596 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.206e-05/0.1748, allocations: 23.92 kB / 0.596 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.151e-05/0.1749, allocations: 27.94 kB / 0.5961 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1749, allocations: 4 kB / 0.5961 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003791/0.1753, allocations: 307.4 kB / 0.5963 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.1753, allocations: 7.984 kB / 0.5964 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.1753, allocations: 19.91 kB / 0.5964 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.1756, allocations: 191.6 kB / 0.5966 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1756, allocations: 0 / 0.5966 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1756, allocations: 0 / 0.5966 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.1756, allocations: 0 / 0.5966 GB, free: 7.121 MB / 0.4981 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.0005009/0.1761, allocations: 367.7 kB / 0.5969 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1762, allocations: 12.62 kB / 0.5969 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004526/0.1766, allocations: 64.84 kB / 0.597 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.1767, allocations: 176.3 kB / 0.5971 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.1768, allocations: 384 / 0.5972 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.1768, allocations: 4.375 kB / 0.5972 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.1771, allocations: 73.95 kB / 0.5972 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1771, allocations: 4 kB / 0.5972 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.1771, allocations: 7.984 kB / 0.5972 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1771, allocations: 0 / 0.5972 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.1774, allocations: 55.94 kB / 0.5973 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.1776, allocations: 165.7 kB / 0.5974 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005804/0.1782, allocations: 126.5 kB / 0.5976 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.1783, allocations: 44.92 kB / 0.5976 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004531/0.1788, allocations: 153 kB / 0.5978 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.1788, allocations: 38.44 kB / 0.5978 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1789, allocations: 0 / 0.5978 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001181/0.18, allocations: 402.2 kB / 0.5982 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.1801, allocations: 55.39 kB / 0.5982 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.782e-05/0.1802, allocations: 101.9 kB / 0.5983 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.1802, allocations: 25.7 kB / 0.5984 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.1802, allocations: 80.14 kB / 0.5984 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.1803, allocations: 15.75 kB / 0.5984 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.1803, allocations: 21.7 kB / 0.5985 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1805, allocations: 318.8 kB / 0.5988 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.1806, allocations: 40.03 kB / 0.5988 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.1807, allocations: 35.95 kB / 0.5988 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.181, allocations: 76.8 kB / 0.5989 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.181, allocations: 4.125 kB / 0.5989 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003411/0.1814, allocations: 121.5 kB / 0.599 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1814, allocations: 4 kB / 0.599 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1814, allocations: 0 / 0.599 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.1815, allocations: 7.984 kB / 0.599 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.1816, allocations: 23.98 kB / 0.5991 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1816, allocations: 3.938 kB / 0.5991 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.458e-05/0.1817, allocations: 11.98 kB / 0.5991 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1817, allocations: 0 / 0.5991 GB, free: 4.246 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.1819, allocations: 117.8 kB / 0.5992 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.1819, allocations: 3.938 kB / 0.5992 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000429/0.1823, allocations: 129.2 kB / 0.5993 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1823, allocations: 0 / 0.5993 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.1823, allocations: 3.984 kB / 0.5993 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1823, allocations: 4.328 kB / 0.5993 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.1825, allocations: 161.7 kB / 0.5995 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1825, allocations: 4 kB / 0.5995 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.1827, allocations: 31.84 kB / 0.5995 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1827, allocations: 0 / 0.5995 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.1827, allocations: 7.984 kB / 0.5995 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.676e-06/0.1827, allocations: 0 / 0.5995 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1827, allocations: 3.938 kB / 0.5995 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.1833, allocations: 188.9 kB / 0.5997 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/0.1833, allocations: 89.03 kB / 0.5998 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.1834, allocations: 32 / 0.5998 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.1835, allocations: 20.17 kB / 0.5998 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.1835, allocations: 3.984 kB / 0.5998 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.1835, allocations: 8 kB / 0.5998 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.11e-05/0.1836, allocations: 83.34 kB / 0.5999 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1836, allocations: 0 / 0.5999 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002287/0.1838, allocations: 28 kB / 0.5999 GB, free: 3.277 MB / 0.4981 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 (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.0002424/0.184, allocations: 131.2 kB / 0.6001 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003709/0.1844, allocations: 84.02 kB / 0.6001 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1844, allocations: 4 kB / 0.6001 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.1846, allocations: 47.89 kB / 0.6002 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.1848, allocations: 7.266 kB / 0.6002 GB, free: 3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00069/0.1855, allocations: 201.5 kB / 0.6004 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1858, allocations: 0.6768 MB / 0.601 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.1859, allocations: 16 kB / 0.6011 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.186, allocations: 11.44 kB / 0.6011 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of SimCode: time 7.51e-07/0.186, allocations: 0 / 0.6011 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of Templates: time 0.003568/0.1895, allocations: 1.161 MB / 0.6022 GB, free: 0.8906 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)