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.001264/0.001264, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001386/0.001386, allocations: 197.8 kB / 16.14 MB, free: 6.688 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.115/1.115, allocations: 143 MB / 433 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.84 kB / 0.5135 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1638, allocations: 82.03 MB / 0.5936 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00196/0.1658, allocations: 0.6621 MB / 0.5943 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.1678, allocations: 1.466 MB / 0.5957 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.1678, allocations: 0 / 0.5957 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.1678, allocations: 0 / 0.5957 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.926e-05/0.1679, allocations: 0 / 0.5957 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.1683, allocations: 111.7 kB / 0.5958 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.86e-05/0.1684, allocations: 35.89 kB / 0.5958 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.503e-05/0.1685, allocations: 4 kB / 0.5958 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.146e-05/0.1685, allocations: 11.98 kB / 0.5959 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.336e-05/0.1686, allocations: 23.97 kB / 0.5959 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.1687, allocations: 7.938 kB / 0.5959 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000434/0.1691, allocations: 327.2 kB / 0.5962 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.1691, allocations: 7.984 kB / 0.5962 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.1692, allocations: 7.984 kB / 0.5962 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.1695, allocations: 187.6 kB / 0.5964 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1695, allocations: 0 / 0.5964 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.42e-07/0.1695, allocations: 0 / 0.5964 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.1695, allocations: 0 / 0.5964 GB, free: 7.188 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.0005912/0.1701, allocations: 367.7 kB / 0.5967 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1702, allocations: 12.03 kB / 0.5968 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004686/0.1706, allocations: 68.84 kB / 0.5968 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.1708, allocations: 168.4 kB / 0.597 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.1708, allocations: 384 / 0.597 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.1708, allocations: 384 / 0.597 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.1711, allocations: 85.88 kB / 0.5971 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.1711, allocations: 0 / 0.5971 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1711, allocations: 0 / 0.5971 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1711, allocations: 4 kB / 0.5971 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.1715, allocations: 67.86 kB / 0.5971 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.1716, allocations: 165.7 kB / 0.5973 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005962/0.1722, allocations: 114.5 kB / 0.5974 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.1724, allocations: 48.97 kB / 0.5974 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005676/0.173, allocations: 153 kB / 0.5976 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.173, allocations: 38.5 kB / 0.5976 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.173, allocations: 0 / 0.5976 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0012/0.1742, allocations: 402.2 kB / 0.598 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.1743, allocations: 59.34 kB / 0.5981 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.011e-05/0.1744, allocations: 97.84 kB / 0.5982 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1744, allocations: 25.7 kB / 0.5982 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.1744, allocations: 84.14 kB / 0.5983 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.1745, allocations: 19.73 kB / 0.5983 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/0.1745, allocations: 21.7 kB / 0.5983 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1747, allocations: 310.8 kB / 0.5986 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.1749, allocations: 40.09 kB / 0.5986 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.175, allocations: 32.16 kB / 0.5987 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.1753, allocations: 84.8 kB / 0.5988 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1753, allocations: 0 / 0.5988 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003577/0.1757, allocations: 121.4 kB / 0.5989 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1757, allocations: 4 kB / 0.5989 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1757, allocations: 0 / 0.5989 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.1757, allocations: 4 kB / 0.5989 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.1759, allocations: 27.97 kB / 0.5989 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.1759, allocations: 4 kB / 0.5989 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.842e-05/0.176, allocations: 11.92 kB / 0.5989 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.176, allocations: 4 kB / 0.5989 GB, free: 4.309 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.0001327/0.1762, allocations: 113.8 kB / 0.599 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.1762, allocations: 7.938 kB / 0.599 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.1767, allocations: 137.1 kB / 0.5992 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1767, allocations: 3.938 kB / 0.5992 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1767, allocations: 0 / 0.5992 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1767, allocations: 0 / 0.5992 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.1769, allocations: 169.7 kB / 0.5993 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1769, allocations: 0 / 0.5993 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.177, allocations: 27.91 kB / 0.5994 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1771, allocations: 0 / 0.5994 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.1771, allocations: 8 kB / 0.5994 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1771, allocations: 0 / 0.5994 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1771, allocations: 128 / 0.5994 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005966/0.1777, allocations: 188.9 kB / 0.5995 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.399e-05/0.1778, allocations: 93 kB / 0.5996 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.1778, allocations: 4.328 kB / 0.5996 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.1779, allocations: 11.98 kB / 0.5997 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.178, allocations: 4 kB / 0.5997 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.178, allocations: 4 kB / 0.5997 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.75e-05/0.1781, allocations: 83.33 kB / 0.5997 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1781, allocations: 0 / 0.5997 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000237/0.1783, allocations: 28 kB / 0.5998 GB, free: 3.344 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.0002814/0.1786, allocations: 131.2 kB / 0.5999 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003754/0.179, allocations: 84.02 kB / 0.6 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.179, allocations: 0 / 0.6 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.1792, allocations: 47.91 kB / 0.6 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.1794, allocations: 15.92 kB / 0.6 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007163/0.1801, allocations: 181.2 kB / 0.6002 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.1804, allocations: 0.6809 MB / 0.6009 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.1805, allocations: 23.92 kB / 0.6009 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.548e-05/0.1806, allocations: 11.44 kB / 0.6009 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1806, allocations: 0 / 0.6009 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of Templates: time 0.00393/0.1845, allocations: 1.148 MB / 0.602 GB, free: 0.9766 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)