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.001368/0.001368, 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.00166/0.00166, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.793 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.9265/0.9265, allocations: 145 MB / 457.4 MB, free: 15.32 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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [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.002285/0.002285, allocations: 77.09 kB / 0.6336 GB, free: 6.184 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1862, allocations: 87.88 MB / 0.7194 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00175/0.188, allocations: 0.6002 MB / 0.72 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.19, allocations: 1.431 MB / 0.7214 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.207e-05/0.19, allocations: 0 / 0.7214 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.9e-05/0.19, allocations: 3.938 kB / 0.7214 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.885e-05/0.19, allocations: 4 kB / 0.7214 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.1906, allocations: 146.8 kB / 0.7216 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.678e-05/0.1906, allocations: 27.97 kB / 0.7216 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.1907, allocations: 4 kB / 0.7216 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.236e-05/0.1907, allocations: 19.92 kB / 0.7216 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.42e-05/0.1908, allocations: 19.95 kB / 0.7216 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1908, allocations: 4 kB / 0.7216 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.1912, allocations: 251.5 kB / 0.7219 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.1912, allocations: 7.938 kB / 0.7219 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.1912, allocations: 7.984 kB / 0.7219 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.1915, allocations: 179.5 kB / 0.7221 GB, free: 11.61 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1915, allocations: 4 kB / 0.7221 GB, free: 11.6 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.61e-07/0.1915, allocations: 0 / 0.7221 GB, free: 11.6 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.1915, allocations: 0 / 0.7221 GB, free: 11.6 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.0005273/0.1921, allocations: 291.2 kB / 0.7223 GB, free: 11.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1921, allocations: 8.031 kB / 0.7224 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004522/0.1926, allocations: 68.84 kB / 0.7224 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.1927, allocations: 106.5 kB / 0.7225 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.1927, allocations: 4.375 kB / 0.7225 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.1927, allocations: 8.328 kB / 0.7225 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.193, allocations: 107.6 kB / 0.7226 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.193, allocations: 0 / 0.7226 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.193, allocations: 0 / 0.7226 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.193, allocations: 4 kB / 0.7226 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.1933, allocations: 63.92 kB / 0.7227 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.1935, allocations: 109.3 kB / 0.7228 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005874/0.1941, allocations: 122.5 kB / 0.7229 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.1943, allocations: 48.92 kB / 0.723 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004054/0.1947, allocations: 79.89 kB / 0.723 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.1947, allocations: 34.5 kB / 0.7231 GB, free: 10.45 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1947, allocations: 0 / 0.7231 GB, free: 10.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.001113/0.1958, allocations: 329.3 kB / 0.7234 GB, free: 10.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.1959, allocations: 55.41 kB / 0.7234 GB, free: 10.03 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.16e-05/0.1959, allocations: 97.86 kB / 0.7235 GB, free: 9.926 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.196, allocations: 25.7 kB / 0.7236 GB, free: 9.895 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.196, allocations: 88.12 kB / 0.7236 GB, free: 9.805 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.196, allocations: 19.83 kB / 0.7237 GB, free: 9.785 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.1961, allocations: 21.72 kB / 0.7237 GB, free: 9.758 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1962, allocations: 310.8 kB / 0.724 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.1964, allocations: 35.95 kB / 0.724 GB, free: 9.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.1965, allocations: 44.03 kB / 0.7241 GB, free: 9.367 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.1968, allocations: 76.98 kB / 0.7241 GB, free: 9.289 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1968, allocations: 4 kB / 0.7241 GB, free: 9.285 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003552/0.1972, allocations: 113.7 kB / 0.7242 GB, free: 9.168 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1972, allocations: 11.94 kB / 0.7243 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1972, allocations: 0 / 0.7243 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1972, allocations: 3.984 kB / 0.7243 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.1974, allocations: 19.98 kB / 0.7243 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1974, allocations: 0 / 0.7243 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.891e-05/0.1975, allocations: 15.98 kB / 0.7243 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.1975, allocations: 11.92 kB / 0.7243 GB, free: 9.105 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.776e-05/0.1976, allocations: 109.8 kB / 0.7244 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.1976, allocations: 7.938 kB / 0.7244 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004421/0.198, allocations: 133.3 kB / 0.7245 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.198, allocations: 0 / 0.7245 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.198, allocations: 0 / 0.7245 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.198, allocations: 0 / 0.7245 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.1982, allocations: 109.3 kB / 0.7246 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1982, allocations: 4 kB / 0.7247 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.1983, allocations: 27.91 kB / 0.7247 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1983, allocations: 0 / 0.7247 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1983, allocations: 3.938 kB / 0.7247 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1983, allocations: 7.938 kB / 0.7247 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1983, allocations: 3.938 kB / 0.7247 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/0.1989, allocations: 185.2 kB / 0.7249 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.1989, allocations: 16.02 kB / 0.7249 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.199, allocations: 3.938 kB / 0.7249 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.1991, allocations: 11.98 kB / 0.7249 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.1991, allocations: 7.984 kB / 0.7249 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-06/0.1991, allocations: 4.062 kB / 0.7249 GB, free: 8.414 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.016e-05/0.1992, allocations: 83.28 kB / 0.725 GB, free: 8.332 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1992, allocations: 0 / 0.725 GB, free: 8.332 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002294/0.1994, allocations: 27.88 kB / 0.725 GB, free: 8.305 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.0002127/0.1996, allocations: 139 kB / 0.7252 GB, free: 8.156 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003743/0.2, allocations: 76.03 kB / 0.7252 GB, free: 8.082 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.2, allocations: 4 kB / 0.7252 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.2002, allocations: 43.95 kB / 0.7253 GB, free: 8.035 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.2003, allocations: 10.19 kB / 0.7253 GB, free: 8.027 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006443/0.201, allocations: 181.3 kB / 0.7255 GB, free: 7.824 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.319e-05/0.201, allocations: 67.34 kB / 0.7255 GB, free: 7.738 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.95e-05/0.2011, allocations: 16 kB / 0.7255 GB, free: 7.723 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.2012, allocations: 11.44 kB / 0.7255 GB, free: 7.711 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.2012, allocations: 0 / 0.7255 GB, free: 7.711 MB / 0.545 GB Notification: Performance of Templates: time 0.003895/0.2051, allocations: 1.205 MB / 0.7267 GB, free: 6.52 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.523749317973852] Failed to read output from testmodel.py, exit status != 0: 0.21383939869701862 0.22948936999999994 0.034624974 Calling exit ...