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.001283/0.001283, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001631/0.001631, allocations: 220.1 kB / 23.04 MB, free: 5.074 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.8 MB, free: 8.008 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 1.016/1.016, allocations: 145 MB / 458.2 MB, free: 15.54 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="cs",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.002321/0.002321, allocations: 66.3 kB / 0.634 GB, free: 7.27 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1888, allocations: 87.88 MB / 0.7198 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001901/0.1907, allocations: 0.6028 MB / 0.7204 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002301/0.193, allocations: 1.521 MB / 0.7219 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.193, allocations: 0 / 0.7219 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.193, allocations: 0 / 0.7219 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.914e-05/0.1931, allocations: 7.875 kB / 0.7219 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000606/0.1937, allocations: 147.4 kB / 0.722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.959e-05/0.1938, allocations: 27.97 kB / 0.7221 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.523e-05/0.1938, allocations: 0 / 0.7221 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.101e-05/0.1939, allocations: 15.98 kB / 0.7221 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.194, allocations: 27.89 kB / 0.7221 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.194, allocations: 7.938 kB / 0.7221 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000528/0.1945, allocations: 319.4 kB / 0.7224 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.184e-05/0.1945, allocations: 11.97 kB / 0.7224 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.1946, allocations: 11.92 kB / 0.7224 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.1949, allocations: 183.6 kB / 0.7226 GB, free: 12.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1949, allocations: 0 / 0.7226 GB, free: 12.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1949, allocations: 0 / 0.7226 GB, free: 12.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.1949, allocations: 0 / 0.7226 GB, free: 12.52 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.0006029/0.1955, allocations: 301.9 kB / 0.7229 GB, free: 12.19 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.1956, allocations: 12.03 kB / 0.7229 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.669e-05/0.1956, allocations: 192 / 0.7229 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.1956, allocations: 30.75 kB / 0.7229 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004696/0.1961, allocations: 68.84 kB / 0.723 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.1962, allocations: 106.5 kB / 0.7231 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.1963, allocations: 4.375 kB / 0.7231 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.1963, allocations: 8.328 kB / 0.7231 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.1966, allocations: 81.56 kB / 0.7232 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1966, allocations: 0 / 0.7232 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1966, allocations: 0 / 0.7232 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.1966, allocations: 4 kB / 0.7232 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.1969, allocations: 59.94 kB / 0.7233 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.1971, allocations: 136.8 kB / 0.7234 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006493/0.1977, allocations: 126.5 kB / 0.7235 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.1979, allocations: 44.92 kB / 0.7235 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004314/0.1983, allocations: 79.83 kB / 0.7236 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.1984, allocations: 34.56 kB / 0.7237 GB, free: 11.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1984, allocations: 4 kB / 0.7237 GB, free: 11.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.001219/0.1996, allocations: 325.1 kB / 0.724 GB, free: 10.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.1997, allocations: 59.39 kB / 0.724 GB, free: 10.88 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.836e-05/0.1997, allocations: 93.86 kB / 0.7241 GB, free: 10.78 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.1998, allocations: 25.7 kB / 0.7241 GB, free: 10.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.1998, allocations: 80.14 kB / 0.7242 GB, free: 10.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.1998, allocations: 19.84 kB / 0.7242 GB, free: 10.65 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.1999, allocations: 25.83 kB / 0.7243 GB, free: 10.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2, allocations: 310.8 kB / 0.7246 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.2002, allocations: 35.97 kB / 0.7246 GB, free: 10.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.2004, allocations: 43.89 kB / 0.7246 GB, free: 10.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.2007, allocations: 76.8 kB / 0.7247 GB, free: 10.15 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2007, allocations: 0 / 0.7247 GB, free: 10.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004411/0.2011, allocations: 113.5 kB / 0.7248 GB, free: 10.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.2011, allocations: 8 kB / 0.7248 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2011, allocations: 3.938 kB / 0.7248 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.2011, allocations: 3.938 kB / 0.7248 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.2013, allocations: 23.97 kB / 0.7249 GB, free: 9.992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2013, allocations: 4 kB / 0.7249 GB, free: 9.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.2014, allocations: 7.984 kB / 0.7249 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.2014, allocations: 8 kB / 0.7249 GB, free: 9.973 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.427e-05/0.2015, allocations: 113.8 kB / 0.725 GB, free: 9.852 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.2015, allocations: 11.92 kB / 0.725 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.202, allocations: 125.7 kB / 0.7251 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.202, allocations: 4 kB / 0.7251 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.202, allocations: 0 / 0.7251 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.202, allocations: 7.984 kB / 0.7251 GB, free: 9.695 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.2022, allocations: 140.7 kB / 0.7253 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2022, allocations: 0 / 0.7253 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.2024, allocations: 23.97 kB / 0.7253 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2024, allocations: 3.938 kB / 0.7253 GB, free: 9.488 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.2024, allocations: 4 kB / 0.7253 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2024, allocations: 0 / 0.7253 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2024, allocations: 4 kB / 0.7253 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006102/0.203, allocations: 196.9 kB / 0.7255 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.203, allocations: 3.984 kB / 0.7255 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.2031, allocations: 4.031 kB / 0.7255 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.2032, allocations: 16.05 kB / 0.7255 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.2032, allocations: 7.984 kB / 0.7255 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.2032, allocations: 4 kB / 0.7255 GB, free: 9.234 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.35e-05/0.2033, allocations: 75.28 kB / 0.7256 GB, free: 9.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2033, allocations: 0 / 0.7256 GB, free: 9.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002483/0.2035, allocations: 31.88 kB / 0.7256 GB, free: 9.129 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.001036/0.2046, allocations: 0.749 MB / 0.7263 GB, free: 8.348 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003773/0.2049, allocations: 79.98 kB / 0.7264 GB, free: 8.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2049, allocations: 0 / 0.7264 GB, free: 8.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.2051, allocations: 43.91 kB / 0.7265 GB, free: 8.227 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.2053, allocations: 0 / 0.7265 GB, free: 8.227 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.2075, allocations: 1.375 MB / 0.7278 GB, free: 6.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.2078, allocations: 0.6807 MB / 0.7285 GB, free: 6.062 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.2079, allocations: 20 kB / 0.7285 GB, free: 6.043 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.48e-05/0.2079, allocations: 19.42 kB / 0.7285 GB, free: 6.023 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.2079, allocations: 0 / 0.7285 GB, free: 6.023 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.2318, allocations: 2.242 MB / 0.7307 GB, free: 3.941 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.06, allocations: 6.406 kB / 0.7307 GB, free: 3.938 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 sys.exit(0), Time elapsed: 14.974211410968564] Failed to read output from testmodel.py, exit status != 0: 11.2228028079262 11.239684787 11.041056372 Calling exit ...