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.001193/0.001193, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001319/0.001319, allocations: 218.2 kB / 23.01 MB, free: 4.605 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.332/1.332, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 179] 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.8469/0.8469, allocations: 145 MB / 458.2 MB, free: 15.59 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.001934/0.001934, allocations: 70.64 kB / 0.6344 GB, free: 6.836 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1571, allocations: 87.87 MB / 0.7203 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001697/0.1588, allocations: 0.6183 MB / 0.7209 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001958/0.1607, allocations: 1.528 MB / 0.7223 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.944e-05/0.1607, allocations: 0 / 0.7223 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.1608, allocations: 0 / 0.7223 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.349e-05/0.1608, allocations: 3.938 kB / 0.7224 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.1612, allocations: 142.3 kB / 0.7225 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.144e-05/0.1613, allocations: 23.97 kB / 0.7225 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.1613, allocations: 8 kB / 0.7225 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.929e-05/0.1614, allocations: 11.98 kB / 0.7225 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.559e-05/0.1615, allocations: 31.89 kB / 0.7226 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1615, allocations: 0 / 0.7226 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004691/0.1619, allocations: 323.4 kB / 0.7229 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.162, allocations: 3.984 kB / 0.7229 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.162, allocations: 15.92 kB / 0.7229 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.1623, allocations: 183.5 kB / 0.7231 GB, free: 12.08 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1623, allocations: 0 / 0.7231 GB, free: 12.08 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1623, allocations: 4 kB / 0.7231 GB, free: 12.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.1623, allocations: 0 / 0.7231 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.0005007/0.1628, allocations: 293.9 kB / 0.7233 GB, free: 11.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.1628, allocations: 12.03 kB / 0.7234 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004291/0.1632, allocations: 64.84 kB / 0.7234 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.1633, allocations: 114.5 kB / 0.7235 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1634, allocations: 384 / 0.7235 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.1634, allocations: 8.328 kB / 0.7235 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.1637, allocations: 77.94 kB / 0.7236 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1637, allocations: 4 kB / 0.7236 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1637, allocations: 3.984 kB / 0.7236 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1637, allocations: 0 / 0.7236 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.164, allocations: 59.94 kB / 0.7237 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.1641, allocations: 140.7 kB / 0.7238 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005422/0.1647, allocations: 126.5 kB / 0.7239 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.1648, allocations: 36.92 kB / 0.724 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003939/0.1652, allocations: 79.89 kB / 0.724 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.1653, allocations: 42.5 kB / 0.7241 GB, free: 10.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1653, allocations: 0 / 0.7241 GB, free: 10.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.001135/0.1664, allocations: 329.1 kB / 0.7244 GB, free: 10.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1664, allocations: 55.41 kB / 0.7244 GB, free: 10.49 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.246e-05/0.1665, allocations: 89.86 kB / 0.7245 GB, free: 10.39 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1665, allocations: 25.7 kB / 0.7246 GB, free: 10.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.1666, allocations: 84.27 kB / 0.7246 GB, free: 10.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.1666, allocations: 23.83 kB / 0.7247 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.1667, allocations: 17.72 kB / 0.7247 GB, free: 10.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1668, allocations: 314.8 kB / 0.725 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.167, allocations: 35.95 kB / 0.725 GB, free: 9.875 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.1671, allocations: 43.91 kB / 0.7251 GB, free: 9.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.1674, allocations: 76.98 kB / 0.7251 GB, free: 9.754 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.1674, allocations: 4 kB / 0.7251 GB, free: 9.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003508/0.1677, allocations: 117.5 kB / 0.7252 GB, free: 9.629 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1678, allocations: 9.656 kB / 0.7253 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1678, allocations: 4 kB / 0.7253 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1678, allocations: 0 / 0.7253 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.1679, allocations: 19.98 kB / 0.7253 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1679, allocations: 0 / 0.7253 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-05/0.168, allocations: 19.98 kB / 0.7253 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.168, allocations: 3.984 kB / 0.7253 GB, free: 9.574 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.461e-05/0.1681, allocations: 113.8 kB / 0.7254 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.1681, allocations: 7.875 kB / 0.7254 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004489/0.1686, allocations: 137.3 kB / 0.7255 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1686, allocations: 4 kB / 0.7256 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1686, allocations: 0 / 0.7256 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1686, allocations: 0 / 0.7256 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.1687, allocations: 132.7 kB / 0.7257 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1687, allocations: 0 / 0.7257 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.1689, allocations: 23.92 kB / 0.7257 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1689, allocations: 7.938 kB / 0.7257 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1689, allocations: 8 kB / 0.7257 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1689, allocations: 0 / 0.7257 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1689, allocations: 3.984 kB / 0.7257 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.1694, allocations: 181 kB / 0.7259 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.172e-05/0.1695, allocations: 11.95 kB / 0.7259 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.1695, allocations: 4.188 kB / 0.7259 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.1696, allocations: 20.05 kB / 0.7259 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.1696, allocations: 7.984 kB / 0.7259 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.1697, allocations: 0 / 0.7259 GB, free: 8.844 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.997e-05/0.1697, allocations: 79.28 kB / 0.726 GB, free: 8.766 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1697, allocations: 0 / 0.726 GB, free: 8.766 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002169/0.1699, allocations: 35.86 kB / 0.726 GB, free: 8.73 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.00019/0.1701, allocations: 131.5 kB / 0.7262 GB, free: 8.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003512/0.1704, allocations: 79.92 kB / 0.7262 GB, free: 8.512 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1705, allocations: 4 kB / 0.7262 GB, free: 8.508 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.1706, allocations: 39.91 kB / 0.7263 GB, free: 8.469 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.1707, allocations: 8 kB / 0.7263 GB, free: 8.461 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005939/0.1713, allocations: 215 kB / 0.7265 GB, free: 8.219 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.1716, allocations: 0.6768 MB / 0.7272 GB, free: 7.516 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.259e-05/0.1717, allocations: 19.42 kB / 0.7272 GB, free: 7.496 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.1717, allocations: 0 / 0.7272 GB, free: 7.496 MB / 0.545 GB Notification: Performance of Templates: time 0.002787/0.1745, allocations: 1.152 MB / 0.7283 GB, free: 6.348 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 os._exit(0), Time elapsed: 7.189124372089282] Failed to read output from testmodel.py, exit status != 0: 0.18246898311190307 0.19589280499999995 0.030773911 Calling exit ...