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.001364/0.001364, allocations: 107.9 kB / 16.41 MB, free: 6.5 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.001374/0.001374, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.18 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.8747/0.8747, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 65.31 kB / 0.5962 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1524, allocations: 82.03 MB / 0.6764 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002239/0.1547, allocations: 0.7831 MB / 0.6771 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.1569, allocations: 1.481 MB / 0.6786 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.733e-05/0.157, allocations: 0 / 0.6786 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.5e-05/0.1571, allocations: 11.92 kB / 0.6786 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.259e-05/0.1571, allocations: 0 / 0.6786 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.1577, allocations: 139.5 kB / 0.6787 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.834e-05/0.1578, allocations: 55.83 kB / 0.6788 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.1578, allocations: 4 kB / 0.6788 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.496e-05/0.1579, allocations: 23.92 kB / 0.6788 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.396e-05/0.158, allocations: 35.88 kB / 0.6788 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.158, allocations: 8 kB / 0.6788 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004664/0.1585, allocations: 315.4 kB / 0.6791 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.1585, allocations: 19.91 kB / 0.6791 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.1586, allocations: 23.86 kB / 0.6792 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.1589, allocations: 211.5 kB / 0.6794 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1589, allocations: 0 / 0.6794 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1589, allocations: 0 / 0.6794 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.159, allocations: 4 kB / 0.6794 GB, free: 7.199 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.0006783/0.1596, allocations: 399.4 kB / 0.6798 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1597, allocations: 12.03 kB / 0.6798 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004631/0.1602, allocations: 72.75 kB / 0.6798 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.1603, allocations: 168.3 kB / 0.68 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.1603, allocations: 12.36 kB / 0.68 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.1604, allocations: 4.375 kB / 0.68 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.1608, allocations: 121.9 kB / 0.6801 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1608, allocations: 0 / 0.6801 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.1608, allocations: 4 kB / 0.6801 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1608, allocations: 0 / 0.6801 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004818/0.1613, allocations: 107.8 kB / 0.6802 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005933/0.1619, allocations: 328.6 kB / 0.6806 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006665/0.1626, allocations: 158.4 kB / 0.6807 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.1629, allocations: 56.81 kB / 0.6808 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.1629, allocations: 0 / 0.6808 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1629, allocations: 38.56 kB / 0.6808 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.1629, allocations: 0 / 0.6808 GB, free: 5.586 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.01822/0.1811, allocations: 2.84 MB / 0.6836 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.1812, allocations: 55.34 kB / 0.6836 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.242e-05/0.1813, allocations: 105.8 kB / 0.6837 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.698e-05/0.1814, allocations: 25.7 kB / 0.6837 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.1814, allocations: 88.14 kB / 0.6838 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.929e-05/0.1815, allocations: 39.36 kB / 0.6839 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.1817, allocations: 69.58 kB / 0.6839 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1818, allocations: 322.8 kB / 0.6842 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000668/0.1825, allocations: 183.8 kB / 0.6844 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006646/0.1832, allocations: 202.9 kB / 0.6846 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.1845, allocations: 392.5 kB / 0.685 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1845, allocations: 0 / 0.685 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00156/0.1861, allocations: 477.3 kB / 0.6854 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1861, allocations: 4 kB / 0.6854 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1861, allocations: 3.938 kB / 0.6854 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1862, allocations: 0 / 0.6854 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000824/0.187, allocations: 111.7 kB / 0.6856 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.187, allocations: 4.25 kB / 0.6856 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006231/0.1876, allocations: 43.94 kB / 0.6856 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.833e-05/0.1877, allocations: 31.92 kB / 0.6856 GB, free: 496 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.0001715/0.1879, allocations: 114.5 kB / 0.6857 GB, free: 372 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.133e-05/0.188, allocations: 3.906 kB / 0.6857 GB, free: 368 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.542e-05/0.188, allocations: 15.97 kB / 0.6858 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.188, allocations: 0 / 0.6858 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1881, allocations: 3.938 kB / 0.6858 GB, free: 344 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1881, allocations: 3.984 kB / 0.6858 GB, free: 340 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/0.1903, allocations: 1.054 MB / 0.6868 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1903, allocations: 0 / 0.6868 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008128/0.1911, allocations: 103.8 kB / 0.6869 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.1912, allocations: 4.125 kB / 0.6869 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/0.1912, allocations: 27.92 kB / 0.6869 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1912, allocations: 3.984 kB / 0.6869 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1912, allocations: 0 / 0.6869 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.1936, allocations: 0.7917 MB / 0.6877 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.1938, allocations: 121 kB / 0.6878 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.015e-05/0.1938, allocations: 0 / 0.6878 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006889/0.1945, allocations: 52 kB / 0.6879 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.842e-05/0.1946, allocations: 28.02 kB / 0.6879 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/0.1947, allocations: 23.88 kB / 0.6879 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.922e-05/0.1948, allocations: 87.27 kB / 0.688 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1948, allocations: 3.938 kB / 0.688 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003789/0.1951, allocations: 52 kB / 0.6881 GB, free: 13.85 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.0002147/0.1954, allocations: 112.2 kB / 0.6882 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.1968, allocations: 419.5 kB / 0.6886 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.1969, allocations: 0 / 0.6886 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007322/0.1976, allocations: 231.7 kB / 0.6888 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.198, allocations: 16.55 kB / 0.6888 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.2023, allocations: 0.7809 MB / 0.6896 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.2026, allocations: 0.6885 MB / 0.6902 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003787/0.2029, allocations: 79.23 kB / 0.6903 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.2029, allocations: 0 / 0.6903 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of Templates: time 0.006286/0.2092, allocations: 3.786 MB / 0.694 GB, free: 7.672 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)