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.001787/0.001787, allocations: 113 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.002292/0.002292, allocations: 207 kB / 22.25 MB, free: 5.086 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 8.047 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.924/0.924, allocations: 145 MB / 457.4 MB, free: 15.68 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.002335/0.002335, allocations: 63.72 kB / 0.6332 GB, free: 7.383 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.191, allocations: 87.88 MB / 0.719 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001988/0.193, allocations: 0.5949 MB / 0.7196 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.1953, allocations: 1.525 MB / 0.7211 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.1953, allocations: 7.938 kB / 0.7211 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.1953, allocations: 0 / 0.7211 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.133e-05/0.1954, allocations: 3.938 kB / 0.7211 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006146/0.196, allocations: 135.5 kB / 0.7212 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.349e-05/0.1961, allocations: 35.91 kB / 0.7213 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/0.1961, allocations: 4 kB / 0.7213 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.129e-05/0.1962, allocations: 15.98 kB / 0.7213 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1963, allocations: 31.89 kB / 0.7213 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1963, allocations: 0 / 0.7213 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005346/0.1968, allocations: 311.4 kB / 0.7216 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.1968, allocations: 15.97 kB / 0.7216 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.1969, allocations: 11.92 kB / 0.7217 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.1972, allocations: 187.6 kB / 0.7218 GB, free: 12.63 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1972, allocations: 0 / 0.7218 GB, free: 12.63 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1972, allocations: 0 / 0.7218 GB, free: 12.63 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.1972, allocations: 4 kB / 0.7218 GB, free: 12.62 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.0005828/0.1978, allocations: 293.9 kB / 0.7221 GB, free: 12.31 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.1979, allocations: 12.03 kB / 0.7221 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.1979, allocations: 30.75 kB / 0.7222 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004798/0.1984, allocations: 64.84 kB / 0.7222 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.1985, allocations: 106.5 kB / 0.7223 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.1985, allocations: 8.312 kB / 0.7223 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.1986, allocations: 12.31 kB / 0.7223 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.1988, allocations: 77.77 kB / 0.7224 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1988, allocations: 0 / 0.7224 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1989, allocations: 0 / 0.7224 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1989, allocations: 3.984 kB / 0.7224 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.1992, allocations: 67.88 kB / 0.7225 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.1994, allocations: 136.8 kB / 0.7226 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000601/0.2, allocations: 122.5 kB / 0.7227 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.2001, allocations: 44.91 kB / 0.7228 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004538/0.2006, allocations: 71.91 kB / 0.7228 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.2006, allocations: 38.5 kB / 0.7229 GB, free: 11.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2006, allocations: 0 / 0.7229 GB, free: 11.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.001158/0.2018, allocations: 333.1 kB / 0.7232 GB, free: 11.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.2018, allocations: 55.41 kB / 0.7232 GB, free: 11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.232e-05/0.2019, allocations: 93.84 kB / 0.7233 GB, free: 10.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.2019, allocations: 29.7 kB / 0.7234 GB, free: 10.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.202, allocations: 80.14 kB / 0.7234 GB, free: 10.78 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.202, allocations: 19.97 kB / 0.7235 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.202, allocations: 25.7 kB / 0.7235 GB, free: 10.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2022, allocations: 310.8 kB / 0.7238 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.2023, allocations: 31.97 kB / 0.7238 GB, free: 10.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.2025, allocations: 43.95 kB / 0.7239 GB, free: 10.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.2028, allocations: 76.75 kB / 0.7239 GB, free: 10.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.2028, allocations: 0 / 0.7239 GB, free: 10.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003633/0.2031, allocations: 117.5 kB / 0.724 GB, free: 10.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.2032, allocations: 10.5 kB / 0.7241 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2032, allocations: 3.938 kB / 0.7241 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2032, allocations: 0 / 0.7241 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.2033, allocations: 23.97 kB / 0.7241 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.2033, allocations: 0 / 0.7241 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.2034, allocations: 19.98 kB / 0.7241 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.2035, allocations: 4 kB / 0.7241 GB, free: 10.09 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.786e-05/0.2036, allocations: 111.1 kB / 0.7242 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.2036, allocations: 3.938 kB / 0.7242 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004509/0.204, allocations: 141.3 kB / 0.7243 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.204, allocations: 0 / 0.7243 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.204, allocations: 0 / 0.7243 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.204, allocations: 0 / 0.7243 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.2042, allocations: 136.7 kB / 0.7245 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.2042, allocations: 4.25 kB / 0.7245 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.2044, allocations: 27.97 kB / 0.7245 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2044, allocations: 0 / 0.7245 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.2044, allocations: 3.938 kB / 0.7245 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2044, allocations: 4 kB / 0.7245 GB, free: 9.602 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2044, allocations: 4.266 kB / 0.7245 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005656/0.205, allocations: 189 kB / 0.7247 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.205, allocations: 11.95 kB / 0.7247 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.205, allocations: 3.984 kB / 0.7247 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.2051, allocations: 20.05 kB / 0.7247 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.2052, allocations: 4 kB / 0.7247 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.2052, allocations: 3.984 kB / 0.7247 GB, free: 9.352 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.584e-05/0.2052, allocations: 79.28 kB / 0.7248 GB, free: 9.273 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2052, allocations: 0 / 0.7248 GB, free: 9.273 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002358/0.2055, allocations: 31.88 kB / 0.7248 GB, free: 9.242 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.0009867/0.2064, allocations: 0.749 MB / 0.7256 GB, free: 8.461 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000373/0.2068, allocations: 83.98 kB / 0.7257 GB, free: 8.379 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2068, allocations: 0 / 0.7257 GB, free: 8.379 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.207, allocations: 39.91 kB / 0.7257 GB, free: 8.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.2072, allocations: 14 kB / 0.7257 GB, free: 8.328 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.2093, allocations: 1.36 MB / 0.727 GB, free: 6.887 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.2096, allocations: 0.6884 MB / 0.7277 GB, free: 6.172 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.1e-05/0.2097, allocations: 20 kB / 0.7277 GB, free: 6.152 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.139e-05/0.2098, allocations: 15.42 kB / 0.7277 GB, free: 6.137 MB / 0.545 GB Notification: Performance of SimCode: time 9.01e-07/0.2098, allocations: 0 / 0.7277 GB, free: 6.137 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.2412, allocations: 2.202 MB / 0.7299 GB, free: 4.074 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.23, allocations: 7.344 kB / 0.7299 GB, free: 4.07 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.960999644128606] Failed to read output from testmodel.py, exit status != 0: 11.339092321926728 11.363429917 11.16137249 Calling exit ...