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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001274/0.001274, allocations: 189.8 kB / 16.25 MB, free: 6.621 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.496/1.496, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.024/1.024, allocations: 143.1 MB / 433.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.91 kB / 0.5138 GB, free: 11.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1735, allocations: 82.05 MB / 0.5939 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001779/0.1753, allocations: 0.6467 MB / 0.5946 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1769, allocations: 1.45 MB / 0.596 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.119e-05/0.177, allocations: 0 / 0.596 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.308e-05/0.177, allocations: 4 kB / 0.596 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.58e-05/0.177, allocations: 0 / 0.596 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.1775, allocations: 115.7 kB / 0.5961 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.674e-05/0.1775, allocations: 27.97 kB / 0.5961 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.1776, allocations: 7.938 kB / 0.5961 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.153e-05/0.1776, allocations: 27.91 kB / 0.5962 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.623e-05/0.1777, allocations: 19.97 kB / 0.5962 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.1777, allocations: 0 / 0.5962 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003739/0.1781, allocations: 319.3 kB / 0.5965 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.1781, allocations: 11.92 kB / 0.5965 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.1781, allocations: 11.98 kB / 0.5965 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.1784, allocations: 187.6 kB / 0.5967 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1784, allocations: 0 / 0.5967 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1784, allocations: 0 / 0.5967 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.1784, allocations: 0 / 0.5967 GB, free: 6.922 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.0004815/0.1789, allocations: 371.7 kB / 0.597 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.179, allocations: 12.03 kB / 0.597 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.144e-05/0.179, allocations: 30.75 kB / 0.5971 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004323/0.1794, allocations: 68.84 kB / 0.5971 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.1795, allocations: 160.4 kB / 0.5973 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.1796, allocations: 384 / 0.5973 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.1796, allocations: 8.375 kB / 0.5973 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.1798, allocations: 85.69 kB / 0.5974 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1798, allocations: 0 / 0.5974 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1799, allocations: 0 / 0.5974 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1799, allocations: 0 / 0.5974 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.1801, allocations: 63.94 kB / 0.5974 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.1803, allocations: 165.6 kB / 0.5976 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005452/0.1809, allocations: 126.5 kB / 0.5977 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.181, allocations: 44.86 kB / 0.5978 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004136/0.1814, allocations: 149 kB / 0.5979 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1815, allocations: 38.5 kB / 0.5979 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1815, allocations: 0 / 0.5979 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001055/0.1825, allocations: 410.3 kB / 0.5983 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.1826, allocations: 51.41 kB / 0.5984 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.825e-05/0.1827, allocations: 97.86 kB / 0.5985 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1827, allocations: 25.7 kB / 0.5985 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.519e-05/0.1827, allocations: 80.14 kB / 0.5986 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.1827, allocations: 23.66 kB / 0.5986 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.1828, allocations: 29.77 kB / 0.5986 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1829, allocations: 314.8 kB / 0.5989 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.1831, allocations: 35.95 kB / 0.599 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.1832, allocations: 35.97 kB / 0.599 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.1835, allocations: 80.92 kB / 0.5991 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1835, allocations: 0 / 0.5991 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003178/0.1838, allocations: 117.6 kB / 0.5992 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1838, allocations: 4 kB / 0.5992 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1838, allocations: 3.984 kB / 0.5992 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1839, allocations: 4 kB / 0.5992 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.184, allocations: 19.98 kB / 0.5992 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.184, allocations: 0 / 0.5992 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-05/0.1841, allocations: 11.98 kB / 0.5992 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1841, allocations: 4 kB / 0.5992 GB, free: 4.008 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 8.283e-05/0.1842, allocations: 121.8 kB / 0.5994 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.1842, allocations: 3.938 kB / 0.5994 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004247/0.1847, allocations: 133.1 kB / 0.5995 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1847, allocations: 7.984 kB / 0.5995 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1847, allocations: 0 / 0.5995 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1847, allocations: 0 / 0.5995 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.1848, allocations: 165.7 kB / 0.5996 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.1848, allocations: 7.922 kB / 0.5997 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.185, allocations: 23.92 kB / 0.5997 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.185, allocations: 0 / 0.5997 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.185, allocations: 4 kB / 0.5997 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.185, allocations: 4 kB / 0.5997 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.185, allocations: 0 / 0.5997 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005192/0.1855, allocations: 196.8 kB / 0.5999 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.761e-05/0.1856, allocations: 85.03 kB / 0.6 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.1856, allocations: 4.031 kB / 0.6 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.1858, allocations: 16.23 kB / 0.6 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.1858, allocations: 7.984 kB / 0.6 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.1858, allocations: 8 kB / 0.6 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.994e-05/0.1858, allocations: 75.28 kB / 0.6001 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1859, allocations: 0 / 0.6001 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000217/0.1861, allocations: 32 kB / 0.6001 GB, free: 3.031 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.0008547/0.1869, allocations: 0.7529 MB / 0.6008 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003375/0.1873, allocations: 83.98 kB / 0.6009 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1873, allocations: 4 kB / 0.6009 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.1874, allocations: 43.91 kB / 0.601 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.1876, allocations: 0 / 0.601 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.1894, allocations: 1.368 MB / 0.6023 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2673/0.4567, allocations: 0.6764 MB / 0.6029 GB, free: 43.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001447/0.4569, allocations: 16.22 kB / 0.603 GB, free: 43.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/0.4569, allocations: 17.03 kB / 0.603 GB, free: 43.69 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.4569, allocations: 2.875 kB / 0.603 GB, free: 43.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.4765, allocations: 1.972 MB / 0.6049 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/0.4768, allocations: 230.7 kB / 0.6051 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.288, allocations: 0 / 0.6051 GB, free: 43.29 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)