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.001296/0.001296, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001623/0.001623, allocations: 211.1 kB / 22.24 MB, free: 4.855 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.789 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.9939/0.9939, allocations: 145 MB / 457.4 MB, free: 15.29 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.002062/0.002062, allocations: 70.36 kB / 0.6331 GB, free: 6.648 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1993, allocations: 87.89 MB / 0.719 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001807/0.2011, allocations: 0.5962 MB / 0.7195 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.2031, allocations: 1.439 MB / 0.7209 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.2032, allocations: 0 / 0.7209 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.755e-05/0.2032, allocations: 0 / 0.7209 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.955e-05/0.2032, allocations: 4 kB / 0.721 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005492/0.2038, allocations: 139.5 kB / 0.7211 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.205e-05/0.2038, allocations: 31.95 kB / 0.7211 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.2039, allocations: 4 kB / 0.7211 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.628e-05/0.2039, allocations: 15.98 kB / 0.7211 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.327e-05/0.204, allocations: 23.91 kB / 0.7212 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.204, allocations: 0 / 0.7212 GB, free: 12.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.2044, allocations: 255.5 kB / 0.7214 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.2044, allocations: 7.984 kB / 0.7214 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.358e-05/0.2045, allocations: 11.92 kB / 0.7214 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.2048, allocations: 171.6 kB / 0.7216 GB, free: 12.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2048, allocations: 0 / 0.7216 GB, free: 12.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2048, allocations: 4 kB / 0.7216 GB, free: 12.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.2048, allocations: 0 / 0.7216 GB, free: 12.07 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.0005543/0.2053, allocations: 297.9 kB / 0.7219 GB, free: 11.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2054, allocations: 8.031 kB / 0.7219 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.2054, allocations: 34.75 kB / 0.7219 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004356/0.2058, allocations: 64.84 kB / 0.722 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.206, allocations: 106.5 kB / 0.7221 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.206, allocations: 4.375 kB / 0.7221 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.206, allocations: 8.328 kB / 0.7221 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.2063, allocations: 107.5 kB / 0.7222 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-06/0.2063, allocations: 0 / 0.7222 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2063, allocations: 3.938 kB / 0.7222 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2063, allocations: 0 / 0.7222 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.2066, allocations: 63.88 kB / 0.7223 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.2068, allocations: 140.7 kB / 0.7224 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006163/0.2074, allocations: 122.6 kB / 0.7225 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.2076, allocations: 44.92 kB / 0.7225 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000408/0.208, allocations: 71.91 kB / 0.7226 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.208, allocations: 42.48 kB / 0.7227 GB, free: 10.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.208, allocations: 0 / 0.7227 GB, free: 10.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.001147/0.2092, allocations: 333 kB / 0.723 GB, free: 10.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.2092, allocations: 51.41 kB / 0.723 GB, free: 10.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.453e-05/0.2093, allocations: 97.86 kB / 0.7231 GB, free: 10.31 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.2093, allocations: 25.7 kB / 0.7231 GB, free: 10.28 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.2093, allocations: 84.14 kB / 0.7232 GB, free: 10.19 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.2094, allocations: 15.84 kB / 0.7232 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.2094, allocations: 21.7 kB / 0.7233 GB, free: 10.15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2096, allocations: 310.8 kB / 0.7236 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.2097, allocations: 44.08 kB / 0.7236 GB, free: 9.793 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.2099, allocations: 31.97 kB / 0.7236 GB, free: 9.762 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/0.2102, allocations: 80.8 kB / 0.7237 GB, free: 9.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.2102, allocations: 0 / 0.7237 GB, free: 9.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003559/0.2105, allocations: 117.5 kB / 0.7238 GB, free: 9.559 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.2105, allocations: 9.859 kB / 0.7238 GB, free: 9.551 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2106, allocations: 4.188 kB / 0.7238 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2106, allocations: 0 / 0.7238 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.2107, allocations: 27.98 kB / 0.7239 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.2107, allocations: 0 / 0.7239 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.779e-05/0.2108, allocations: 19.98 kB / 0.7239 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.2108, allocations: 0 / 0.7239 GB, free: 9.5 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 9.481e-05/0.2109, allocations: 117.8 kB / 0.724 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.2109, allocations: 3.938 kB / 0.724 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004638/0.2114, allocations: 137.3 kB / 0.7241 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2114, allocations: 7.984 kB / 0.7241 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2114, allocations: 0 / 0.7241 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2114, allocations: 0 / 0.7241 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.2116, allocations: 124.8 kB / 0.7242 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.2116, allocations: 3.938 kB / 0.7243 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.2117, allocations: 27.91 kB / 0.7243 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.2117, allocations: 4 kB / 0.7243 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.2117, allocations: 4 kB / 0.7243 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2117, allocations: 4 kB / 0.7243 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2117, allocations: 3.984 kB / 0.7243 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005729/0.2123, allocations: 188.9 kB / 0.7245 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.2123, allocations: 11.95 kB / 0.7245 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.2124, allocations: 4 kB / 0.7245 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.2125, allocations: 11.98 kB / 0.7245 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.2125, allocations: 7.984 kB / 0.7245 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.2125, allocations: 4.062 kB / 0.7245 GB, free: 8.766 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.453e-05/0.2126, allocations: 79.28 kB / 0.7246 GB, free: 8.688 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2126, allocations: 0 / 0.7246 GB, free: 8.688 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002271/0.2128, allocations: 31.88 kB / 0.7246 GB, free: 8.656 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.0009614/0.2137, allocations: 0.7452 MB / 0.7253 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003695/0.2141, allocations: 87.92 kB / 0.7254 GB, free: 7.793 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2141, allocations: 0 / 0.7254 GB, free: 7.793 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.2143, allocations: 43.97 kB / 0.7255 GB, free: 7.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.2144, allocations: 3.938 kB / 0.7255 GB, free: 7.746 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.2166, allocations: 1.366 MB / 0.7268 GB, free: 6.301 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.158e-05/0.2166, allocations: 70.66 kB / 0.7269 GB, free: 6.215 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.471e-05/0.2167, allocations: 12 kB / 0.7269 GB, free: 6.203 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.2168, allocations: 15.42 kB / 0.7269 GB, free: 6.188 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.2168, allocations: 0 / 0.7269 GB, free: 6.188 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03796/0.2547, allocations: 2.622 MB / 0.7295 GB, free: 3.711 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.36, allocations: 2.844 kB / 0.7295 GB, free: 3.711 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: 15.321035144850612] Failed to read output from testmodel.py, exit status != 0: 11.466329295188189 11.482337929 11.274423079 Calling exit ...