Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001646/0.001646, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001868/0.001868, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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 0.8665/0.8665, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 59.22 kB / 0.5962 GB, free: 12.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1707, allocations: 82.05 MB / 0.6764 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002612/0.1734, allocations: 0.7843 MB / 0.6771 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00206/0.1755, allocations: 1.47 MB / 0.6786 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.214e-05/0.1755, allocations: 0 / 0.6786 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.669e-05/0.1756, allocations: 11.86 kB / 0.6786 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.943e-05/0.1757, allocations: 3.938 kB / 0.6786 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006258/0.1763, allocations: 139.5 kB / 0.6787 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.1764, allocations: 51.89 kB / 0.6788 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.1765, allocations: 4 kB / 0.6788 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.853e-05/0.1765, allocations: 31.91 kB / 0.6788 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.045e-05/0.1766, allocations: 27.91 kB / 0.6788 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1767, allocations: 8 kB / 0.6788 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006015/0.1773, allocations: 323.3 kB / 0.6791 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.1773, allocations: 15.92 kB / 0.6792 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.1773, allocations: 27.84 kB / 0.6792 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.1777, allocations: 219.4 kB / 0.6794 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1777, allocations: 0 / 0.6794 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1777, allocations: 0 / 0.6794 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.1777, allocations: 0 / 0.6794 GB, free: 7.172 MB / 0.5137 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.0006675/0.1784, allocations: 403.4 kB / 0.6798 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1785, allocations: 8.031 kB / 0.6798 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004808/0.1789, allocations: 72.75 kB / 0.6798 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.1792, allocations: 164.4 kB / 0.68 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.1792, allocations: 384 / 0.68 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.1792, allocations: 12.38 kB / 0.68 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.1796, allocations: 121.9 kB / 0.6801 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1797, allocations: 3.938 kB / 0.6801 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.1797, allocations: 4 kB / 0.6801 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1797, allocations: 0 / 0.6801 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.1802, allocations: 95.91 kB / 0.6802 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006074/0.1808, allocations: 336.6 kB / 0.6806 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006404/0.1814, allocations: 162.4 kB / 0.6807 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.1817, allocations: 52.81 kB / 0.6808 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1817, allocations: 0 / 0.6808 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.1817, allocations: 38.56 kB / 0.6808 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1817, allocations: 0 / 0.6808 GB, free: 5.566 MB / 0.5137 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.01812/0.1999, allocations: 2.83 MB / 0.6836 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.1999, allocations: 55.34 kB / 0.6836 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.301e-05/0.2, allocations: 113.8 kB / 0.6837 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.2001, allocations: 25.7 kB / 0.6837 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/0.2002, allocations: 88.23 kB / 0.6838 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.866e-05/0.2002, allocations: 47.3 kB / 0.6839 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.2004, allocations: 69.58 kB / 0.6839 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2005, allocations: 310.8 kB / 0.6842 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006454/0.2012, allocations: 191.8 kB / 0.6844 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006287/0.2018, allocations: 199.2 kB / 0.6846 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.2031, allocations: 392.5 kB / 0.685 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2031, allocations: 0 / 0.685 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001465/0.2046, allocations: 477.3 kB / 0.6854 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.2046, allocations: 4 kB / 0.6854 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.2046, allocations: 0 / 0.6854 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.2047, allocations: 3.938 kB / 0.6854 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008346/0.2055, allocations: 111.7 kB / 0.6856 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.2055, allocations: 4.406 kB / 0.6856 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006191/0.2061, allocations: 43.94 kB / 0.6856 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/0.2062, allocations: 23.92 kB / 0.6856 GB, free: 484 kB / 0.5137 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.0001526/0.2064, allocations: 121.8 kB / 0.6857 GB, free: 352 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.538e-05/0.2065, allocations: 7.906 kB / 0.6857 GB, free: 344 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.552e-05/0.2065, allocations: 7.969 kB / 0.6858 GB, free: 332 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2065, allocations: 0 / 0.6858 GB, free: 332 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.2065, allocations: 3.938 kB / 0.6858 GB, free: 328 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.2065, allocations: 7.984 kB / 0.6858 GB, free: 320 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.2087, allocations: 1.047 MB / 0.6868 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2087, allocations: 3.938 kB / 0.6868 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000818/0.2095, allocations: 107.8 kB / 0.6869 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.2095, allocations: 7.938 kB / 0.6869 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/0.2096, allocations: 23.92 kB / 0.6869 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2096, allocations: 0 / 0.6869 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.2096, allocations: 0 / 0.6869 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.2119, allocations: 0.7958 MB / 0.6877 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.212, allocations: 121 kB / 0.6878 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.8e-05/0.2121, allocations: 4 kB / 0.6878 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006557/0.2128, allocations: 44 kB / 0.6879 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.814e-05/0.2129, allocations: 31.92 kB / 0.6879 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-05/0.2129, allocations: 23.94 kB / 0.6879 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.099e-05/0.213, allocations: 75.28 kB / 0.688 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.363e-06/0.213, allocations: 0 / 0.688 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003771/0.2134, allocations: 63.92 kB / 0.688 GB, free: 13.83 MB / 0.5294 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.0002417/0.2136, allocations: 111.2 kB / 0.6882 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001369/0.215, allocations: 419.5 kB / 0.6886 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.215, allocations: 4 kB / 0.6886 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006806/0.2157, allocations: 223.7 kB / 0.6888 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.2161, allocations: 19.92 kB / 0.6888 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004166/0.2203, allocations: 0.7887 MB / 0.6896 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.2206, allocations: 0.6924 MB / 0.6902 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003786/0.221, allocations: 75.23 kB / 0.6903 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.221, allocations: 0 / 0.6903 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of Templates: time 0.005984/0.227, allocations: 3.795 MB / 0.694 GB, free: 7.641 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)