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.001328/0.001328, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001519/0.001519, allocations: 222.9 kB / 23 MB, free: 4.91 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.9387/0.9387, allocations: 145 MB / 458.2 MB, free: 15.27 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.002205/0.002205, allocations: 75.77 kB / 0.6344 GB, free: 6.137 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1642, allocations: 87.88 MB / 0.7202 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001937/0.1661, allocations: 0.5963 MB / 0.7208 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002216/0.1684, allocations: 1.435 MB / 0.7222 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.1684, allocations: 0 / 0.7222 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.1684, allocations: 3.938 kB / 0.7222 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.251e-05/0.1684, allocations: 0 / 0.7222 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005825/0.169, allocations: 150.8 kB / 0.7223 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.444e-05/0.1691, allocations: 27.97 kB / 0.7223 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.1691, allocations: 0 / 0.7223 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.558e-05/0.1692, allocations: 27.91 kB / 0.7224 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.794e-05/0.1693, allocations: 15.97 kB / 0.7224 GB, free: 12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.1693, allocations: 4 kB / 0.7224 GB, free: 12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004506/0.1697, allocations: 251.5 kB / 0.7226 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.1698, allocations: 7.922 kB / 0.7226 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.1698, allocations: 11.98 kB / 0.7226 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.1701, allocations: 179.5 kB / 0.7228 GB, free: 11.56 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1701, allocations: 0 / 0.7228 GB, free: 11.56 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1701, allocations: 0 / 0.7228 GB, free: 11.56 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.1701, allocations: 0 / 0.7228 GB, free: 11.56 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.0005727/0.1707, allocations: 289.9 kB / 0.7231 GB, free: 11.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1707, allocations: 12.03 kB / 0.7231 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004569/0.1712, allocations: 64.86 kB / 0.7232 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.1713, allocations: 110.5 kB / 0.7233 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.1713, allocations: 384 / 0.7233 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.1714, allocations: 12.33 kB / 0.7233 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.1717, allocations: 103.7 kB / 0.7234 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.1717, allocations: 0 / 0.7234 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1717, allocations: 0 / 0.7234 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1717, allocations: 0 / 0.7234 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.172, allocations: 71.86 kB / 0.7235 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.1722, allocations: 105.3 kB / 0.7236 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006152/0.1728, allocations: 134.4 kB / 0.7237 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.173, allocations: 48.91 kB / 0.7237 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004247/0.1734, allocations: 71.91 kB / 0.7238 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.1734, allocations: 34.56 kB / 0.7238 GB, free: 10.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1734, allocations: 0 / 0.7238 GB, free: 10.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.001197/0.1746, allocations: 329 kB / 0.7241 GB, free: 10.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.1747, allocations: 51.41 kB / 0.7242 GB, free: 9.988 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.201e-05/0.1748, allocations: 105.8 kB / 0.7243 GB, free: 9.875 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1748, allocations: 25.7 kB / 0.7243 GB, free: 9.844 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.1748, allocations: 80.14 kB / 0.7244 GB, free: 9.762 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.1749, allocations: 19.84 kB / 0.7244 GB, free: 9.742 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.1749, allocations: 21.7 kB / 0.7244 GB, free: 9.715 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1751, allocations: 314.8 kB / 0.7247 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.1752, allocations: 40.03 kB / 0.7248 GB, free: 9.359 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.1754, allocations: 31.97 kB / 0.7248 GB, free: 9.328 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.1757, allocations: 76.8 kB / 0.7249 GB, free: 9.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1757, allocations: 0 / 0.7249 GB, free: 9.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000386/0.1761, allocations: 117.8 kB / 0.725 GB, free: 9.129 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1761, allocations: 7.938 kB / 0.725 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1761, allocations: 0 / 0.725 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1761, allocations: 4 kB / 0.725 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.1763, allocations: 27.97 kB / 0.725 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1763, allocations: 3.938 kB / 0.725 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.1764, allocations: 15.98 kB / 0.725 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.1764, allocations: 3.984 kB / 0.725 GB, free: 9.066 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 0.0001004/0.1765, allocations: 116.9 kB / 0.7252 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.1765, allocations: 3.938 kB / 0.7252 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/0.177, allocations: 133.3 kB / 0.7253 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.177, allocations: 4 kB / 0.7253 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.177, allocations: 0 / 0.7253 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.177, allocations: 0 / 0.7253 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.1772, allocations: 117.3 kB / 0.7254 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1772, allocations: 0 / 0.7254 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.1773, allocations: 23.92 kB / 0.7254 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1773, allocations: 3.938 kB / 0.7254 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.1773, allocations: 19.86 kB / 0.7255 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1773, allocations: 0 / 0.7255 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1773, allocations: 0 / 0.7255 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000601/0.1779, allocations: 181 kB / 0.7256 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.178, allocations: 12.02 kB / 0.7256 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.178, allocations: 3.938 kB / 0.7256 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.1781, allocations: 11.98 kB / 0.7257 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.1782, allocations: 12.05 kB / 0.7257 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1782, allocations: 0 / 0.7257 GB, free: 8.371 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.778e-05/0.1782, allocations: 83.28 kB / 0.7257 GB, free: 8.289 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1782, allocations: 0 / 0.7257 GB, free: 8.289 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002511/0.1785, allocations: 31.86 kB / 0.7258 GB, free: 8.258 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.0002146/0.1787, allocations: 131 kB / 0.7259 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000397/0.1791, allocations: 88.14 kB / 0.726 GB, free: 8.031 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1791, allocations: 0 / 0.726 GB, free: 8.031 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.1793, allocations: 52.03 kB / 0.726 GB, free: 7.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.1794, allocations: 0 / 0.726 GB, free: 7.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007305/0.1802, allocations: 213.9 kB / 0.7262 GB, free: 7.742 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.936e-05/0.1802, allocations: 63.34 kB / 0.7263 GB, free: 7.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.1803, allocations: 11.44 kB / 0.7263 GB, free: 7.648 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.1803, allocations: 0 / 0.7263 GB, free: 7.648 MB / 0.545 GB Notification: Performance of Templates: time 0.003326/0.1836, allocations: 1.166 MB / 0.7274 GB, free: 6.484 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.873892581090331] Failed to read output from testmodel.py, exit status != 0: 0.1931810793466866 0.20874450600000002 0.035421915000000005 Calling exit ...