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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9364/0.9364, allocations: 145 MB / 457.4 MB, free: 15.48 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 62.5 kB / 0.6332 GB, free: 7.262 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1953, allocations: 87.88 MB / 0.719 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001779/0.1971, allocations: 0.6039 MB / 0.7196 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.1991, allocations: 1.521 MB / 0.7211 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.602e-05/0.1991, allocations: 3.938 kB / 0.7211 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.1991, allocations: 0 / 0.7211 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.249e-05/0.1992, allocations: 7.938 kB / 0.7211 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.1997, allocations: 142.6 kB / 0.7213 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.366e-05/0.1998, allocations: 31.95 kB / 0.7213 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.1998, allocations: 4 kB / 0.7213 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.421e-05/0.1998, allocations: 19.98 kB / 0.7213 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.664e-05/0.1999, allocations: 27.91 kB / 0.7213 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1999, allocations: 0 / 0.7213 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004849/0.2004, allocations: 319.3 kB / 0.7216 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.2004, allocations: 8 kB / 0.7216 GB, free: 12.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.2005, allocations: 15.92 kB / 0.7217 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.2008, allocations: 179.6 kB / 0.7218 GB, free: 12.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2008, allocations: 4 kB / 0.7218 GB, free: 12.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.173e-06/0.2008, allocations: 0 / 0.7218 GB, free: 12.49 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.2008, allocations: 0 / 0.7218 GB, free: 12.49 MB / 0.545 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.0005435/0.2013, allocations: 297.9 kB / 0.7221 GB, free: 12.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2014, allocations: 12.03 kB / 0.7221 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.2014, allocations: 30.75 kB / 0.7222 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000454/0.2019, allocations: 64.84 kB / 0.7222 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.202, allocations: 114.5 kB / 0.7223 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.202, allocations: 384 / 0.7223 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.202, allocations: 8.328 kB / 0.7223 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.2023, allocations: 81.75 kB / 0.7224 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2023, allocations: 0 / 0.7224 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.2023, allocations: 0 / 0.7224 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2023, allocations: 0 / 0.7224 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003102/0.2026, allocations: 67.94 kB / 0.7225 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.2028, allocations: 136.7 kB / 0.7226 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005908/0.2034, allocations: 122.5 kB / 0.7227 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.2036, allocations: 44.92 kB / 0.7228 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004155/0.204, allocations: 71.91 kB / 0.7228 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.204, allocations: 42.48 kB / 0.7229 GB, free: 11.29 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 2.886e-06/0.204, allocations: 4 kB / 0.7229 GB, free: 11.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.001162/0.2052, allocations: 329 kB / 0.7232 GB, free: 10.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.2052, allocations: 55.41 kB / 0.7233 GB, free: 10.86 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.961e-05/0.2053, allocations: 89.86 kB / 0.7233 GB, free: 10.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.2053, allocations: 29.7 kB / 0.7234 GB, free: 10.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.2053, allocations: 84.14 kB / 0.7234 GB, free: 10.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.2054, allocations: 15.83 kB / 0.7235 GB, free: 10.63 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.2054, allocations: 25.83 kB / 0.7235 GB, free: 10.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2056, allocations: 314.8 kB / 0.7238 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.2057, allocations: 35.95 kB / 0.7238 GB, free: 10.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.2059, allocations: 39.97 kB / 0.7239 GB, free: 10.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.2061, allocations: 80.73 kB / 0.7239 GB, free: 10.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.2061, allocations: 0 / 0.7239 GB, free: 10.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003619/0.2065, allocations: 109.5 kB / 0.724 GB, free: 10.01 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.2065, allocations: 15.98 kB / 0.7241 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.2065, allocations: 3.938 kB / 0.7241 GB, free: 9.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2065, allocations: 0 / 0.7241 GB, free: 9.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.2067, allocations: 19.98 kB / 0.7241 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2067, allocations: 0 / 0.7241 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.2068, allocations: 15.98 kB / 0.7241 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.2068, allocations: 4 kB / 0.7241 GB, free: 9.953 MB / 0.545 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.643e-05/0.2069, allocations: 117.8 kB / 0.7242 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.2069, allocations: 4.266 kB / 0.7242 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004565/0.2074, allocations: 133.6 kB / 0.7243 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.2074, allocations: 7.969 kB / 0.7243 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.2074, allocations: 8.062 kB / 0.7244 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2074, allocations: 0 / 0.7244 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.2075, allocations: 128.8 kB / 0.7245 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2075, allocations: 11.92 kB / 0.7245 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.2077, allocations: 19.98 kB / 0.7245 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2077, allocations: 0 / 0.7245 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.2077, allocations: 7.938 kB / 0.7245 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2077, allocations: 0 / 0.7245 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2077, allocations: 0 / 0.7245 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005764/0.2083, allocations: 189 kB / 0.7247 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.2084, allocations: 11.95 kB / 0.7247 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.2084, allocations: 4 kB / 0.7247 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.2085, allocations: 11.98 kB / 0.7247 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.2085, allocations: 15.98 kB / 0.7247 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.2085, allocations: 0 / 0.7247 GB, free: 9.215 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.939e-05/0.2086, allocations: 79.28 kB / 0.7248 GB, free: 9.137 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2086, allocations: 0 / 0.7248 GB, free: 9.137 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002419/0.2088, allocations: 31.88 kB / 0.7248 GB, free: 9.105 MB / 0.545 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.0009366/0.2098, allocations: 0.749 MB / 0.7256 GB, free: 8.324 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003753/0.2101, allocations: 83.98 kB / 0.7257 GB, free: 8.242 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2101, allocations: 0 / 0.7257 GB, free: 8.242 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.2103, allocations: 39.91 kB / 0.7257 GB, free: 8.203 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.2105, allocations: 10.53 kB / 0.7257 GB, free: 8.195 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.2126, allocations: 1.364 MB / 0.727 GB, free: 6.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.213, allocations: 0.6845 MB / 0.7277 GB, free: 6.039 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.895e-05/0.213, allocations: 16 kB / 0.7277 GB, free: 6.023 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.967e-05/0.2131, allocations: 19.42 kB / 0.7277 GB, free: 6.004 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.2131, allocations: 0 / 0.7277 GB, free: 6.004 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.2423, allocations: 2.196 MB / 0.7299 GB, free: 3.949 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.93, allocations: 6.906 kB / 0.7299 GB, free: 3.945 MB / 0.545 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.791537770001014] Failed to read output from testmodel.py, exit status != 0: 11.038048951002565 11.054584479 10.850674048 Calling exit ...