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.001319/0.001319, allocations: 112.8 kB / 16.41 MB, free: 6.504 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.001319/0.001319, allocations: 183 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.16 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.9532/0.9532, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 64.7 kB / 0.5962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1729, allocations: 82.03 MB / 0.6764 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001681/0.1746, allocations: 0.615 MB / 0.677 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.1765, allocations: 1.458 MB / 0.6784 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.1766, allocations: 0 / 0.6784 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.1766, allocations: 3.938 kB / 0.6784 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.103e-05/0.1766, allocations: 0 / 0.6784 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.1771, allocations: 139.4 kB / 0.6785 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.943e-05/0.1772, allocations: 23.98 kB / 0.6785 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.979e-05/0.1772, allocations: 4 kB / 0.6785 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.049e-05/0.1773, allocations: 15.98 kB / 0.6786 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.58e-05/0.1774, allocations: 31.89 kB / 0.6786 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1774, allocations: 0 / 0.6786 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004574/0.1778, allocations: 319.4 kB / 0.6789 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.1778, allocations: 7.984 kB / 0.6789 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.1779, allocations: 19.91 kB / 0.6789 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.1782, allocations: 187.5 kB / 0.6791 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1782, allocations: 0 / 0.6791 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1782, allocations: 0 / 0.6791 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1782, allocations: 0 / 0.6791 GB, free: 7.48 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005663/0.1787, allocations: 367.1 kB / 0.6794 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1788, allocations: 8.031 kB / 0.6795 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004577/0.1792, allocations: 72.78 kB / 0.6795 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.1794, allocations: 164.4 kB / 0.6797 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.1794, allocations: 12.38 kB / 0.6797 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.1794, allocations: 384 / 0.6797 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.1797, allocations: 77.94 kB / 0.6798 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1797, allocations: 0 / 0.6798 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.1797, allocations: 0 / 0.6798 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1797, allocations: 4 kB / 0.6798 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.18, allocations: 59.94 kB / 0.6798 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.1802, allocations: 169.6 kB / 0.68 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006222/0.1808, allocations: 126.5 kB / 0.6801 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.181, allocations: 44.92 kB / 0.6802 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004626/0.1815, allocations: 153 kB / 0.6803 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.1815, allocations: 38.48 kB / 0.6803 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1815, allocations: 4 kB / 0.6803 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.0012/0.1827, allocations: 406.1 kB / 0.6807 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.1827, allocations: 51.41 kB / 0.6808 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.1828, allocations: 97.86 kB / 0.6809 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.1828, allocations: 29.7 kB / 0.6809 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.1829, allocations: 80.14 kB / 0.681 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.1829, allocations: 19.84 kB / 0.681 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.183, allocations: 25.66 kB / 0.681 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.1831, allocations: 310.8 kB / 0.6813 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.1833, allocations: 47.95 kB / 0.6814 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.1834, allocations: 35.97 kB / 0.6814 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.1837, allocations: 72.8 kB / 0.6815 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1837, allocations: 0 / 0.6815 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003731/0.1841, allocations: 117.6 kB / 0.6816 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1841, allocations: 8 kB / 0.6816 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1841, allocations: 0 / 0.6816 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1841, allocations: 0 / 0.6816 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.1843, allocations: 27.92 kB / 0.6816 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.1843, allocations: 0 / 0.6816 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.776e-05/0.1844, allocations: 11.98 kB / 0.6816 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.1844, allocations: 8.234 kB / 0.6816 GB, free: 4.598 MB / 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 (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 9.539e-05/0.1845, allocations: 109.8 kB / 0.6817 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.1845, allocations: 7.891 kB / 0.6817 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004643/0.185, allocations: 141.2 kB / 0.6819 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.185, allocations: 0 / 0.6819 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.185, allocations: 0 / 0.6819 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.185, allocations: 0 / 0.6819 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.1851, allocations: 165.7 kB / 0.682 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1851, allocations: 4 kB / 0.682 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.1853, allocations: 31.86 kB / 0.6821 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1853, allocations: 0 / 0.6821 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1853, allocations: 0 / 0.6821 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1853, allocations: 0 / 0.6821 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1853, allocations: 3.984 kB / 0.6821 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005828/0.1859, allocations: 185 kB / 0.6822 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/0.186, allocations: 89.06 kB / 0.6823 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.186, allocations: 0 / 0.6823 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.1861, allocations: 11.98 kB / 0.6823 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.1861, allocations: 11.98 kB / 0.6824 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.1861, allocations: 0 / 0.6824 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.201e-05/0.1862, allocations: 79.28 kB / 0.6824 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1862, allocations: 4.156 kB / 0.6824 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002296/0.1864, allocations: 31.86 kB / 0.6825 GB, free: 3.641 MB / 0.5137 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.0002236/0.1866, allocations: 139 kB / 0.6826 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003884/0.187, allocations: 83.88 kB / 0.6827 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.187, allocations: 0 / 0.6827 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.1872, allocations: 43.89 kB / 0.6827 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.1874, allocations: 6.438 kB / 0.6827 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006516/0.188, allocations: 222.9 kB / 0.6829 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.1883, allocations: 0.6807 MB / 0.6836 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.1884, allocations: 11.44 kB / 0.6836 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of SimCode: time 4.1e-07/0.1884, allocations: 4 kB / 0.6836 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of Templates: time 0.002888/0.1913, allocations: 1.146 MB / 0.6847 GB, free: 1.246 MB / 0.5137 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)