Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001474/0.001474, allocations: 110.2 kB / 19.69 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.0016/0.0016, allocations: 216.4 kB / 23.01 MB, free: 4.566 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.356/1.356, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.8545/0.8545, allocations: 145 MB / 458.2 MB, free: 15.53 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [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.001911/0.001911, allocations: 67.23 kB / 0.6344 GB, free: 6.766 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1656, allocations: 87.88 MB / 0.7203 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00201/0.1676, allocations: 0.7912 MB / 0.721 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.1697, allocations: 1.537 MB / 0.7225 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.111e-05/0.1697, allocations: 0 / 0.7225 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.1697, allocations: 7.938 kB / 0.7226 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.495e-05/0.1698, allocations: 0 / 0.7226 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005194/0.1703, allocations: 151.4 kB / 0.7227 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.1704, allocations: 55.59 kB / 0.7227 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.1704, allocations: 7.984 kB / 0.7228 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.29e-05/0.1705, allocations: 31.91 kB / 0.7228 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.249e-05/0.1706, allocations: 27.91 kB / 0.7228 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.1706, allocations: 8 kB / 0.7228 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004678/0.1711, allocations: 315.4 kB / 0.7231 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/0.1711, allocations: 19.92 kB / 0.7231 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.1711, allocations: 23.86 kB / 0.7232 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.1715, allocations: 207.4 kB / 0.7234 GB, free: 11.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.1715, allocations: 4 kB / 0.7234 GB, free: 11.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1715, allocations: 0 / 0.7234 GB, free: 11.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.1715, allocations: 0 / 0.7234 GB, free: 11.7 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006684/0.1721, allocations: 345.7 kB / 0.7237 GB, free: 11.33 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1722, allocations: 8.031 kB / 0.7237 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004377/0.1726, allocations: 68.81 kB / 0.7238 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.1728, allocations: 114.5 kB / 0.7239 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.1728, allocations: 8.375 kB / 0.7239 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.1728, allocations: 4.375 kB / 0.7239 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.1732, allocations: 113.9 kB / 0.724 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1732, allocations: 0 / 0.724 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.1732, allocations: 0 / 0.724 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1732, allocations: 4 kB / 0.724 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000448/0.1736, allocations: 103.8 kB / 0.7241 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.1742, allocations: 299.8 kB / 0.7244 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.1748, allocations: 158.4 kB / 0.7245 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.175, allocations: 52.81 kB / 0.7246 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.1751, allocations: 0 / 0.7246 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.1751, allocations: 34.56 kB / 0.7246 GB, free: 10.29 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.1751, allocations: 3.938 kB / 0.7246 GB, free: 10.29 MB / 0.545 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01743/0.1925, allocations: 2.691 MB / 0.7273 GB, free: 7.535 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.1926, allocations: 55.34 kB / 0.7273 GB, free: 7.469 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.1927, allocations: 105.8 kB / 0.7274 GB, free: 7.355 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/0.1927, allocations: 25.7 kB / 0.7274 GB, free: 7.324 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.1928, allocations: 92.09 kB / 0.7275 GB, free: 7.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.7e-05/0.1928, allocations: 39.62 kB / 0.7276 GB, free: 7.191 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.193, allocations: 69.58 kB / 0.7276 GB, free: 7.117 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1931, allocations: 322.8 kB / 0.7279 GB, free: 6.793 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006339/0.1938, allocations: 191.7 kB / 0.7281 GB, free: 6.605 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006187/0.1944, allocations: 195.8 kB / 0.7283 GB, free: 6.414 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.1956, allocations: 399.4 kB / 0.7287 GB, free: 6.023 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1956, allocations: 0 / 0.7287 GB, free: 6.023 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001461/0.1971, allocations: 477.2 kB / 0.7291 GB, free: 5.551 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1971, allocations: 4 kB / 0.7291 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1971, allocations: 0 / 0.7291 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1971, allocations: 0 / 0.7291 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008013/0.1979, allocations: 115.7 kB / 0.7292 GB, free: 5.434 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1979, allocations: 3.938 kB / 0.7293 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005871/0.1985, allocations: 39.94 kB / 0.7293 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.1986, allocations: 31.94 kB / 0.7293 GB, free: 5.359 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 (13): * Single equations (assignments): 13 * 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.0001395/0.1987, allocations: 115.2 kB / 0.7294 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.483e-05/0.1988, allocations: 7.953 kB / 0.7294 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.362e-05/0.1988, allocations: 16.05 kB / 0.7295 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1988, allocations: 3.938 kB / 0.7295 GB, free: 5.207 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1989, allocations: 3.938 kB / 0.7295 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1989, allocations: 0 / 0.7295 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002167/0.201, allocations: 1.015 MB / 0.7305 GB, free: 4.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.201, allocations: 0 / 0.7305 GB, free: 4.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000783/0.2018, allocations: 103.8 kB / 0.7306 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.2018, allocations: 3.938 kB / 0.7306 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.002e-05/0.2019, allocations: 27.92 kB / 0.7306 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2019, allocations: 0 / 0.7306 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2019, allocations: 0 / 0.7306 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.2041, allocations: 0.7956 MB / 0.7314 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.2042, allocations: 43.78 kB / 0.7314 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.173e-05/0.2043, allocations: 4 kB / 0.7314 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006635/0.205, allocations: 48.09 kB / 0.7315 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.2051, allocations: 31.86 kB / 0.7315 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/0.2051, allocations: 19.94 kB / 0.7315 GB, free: 2.996 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.452e-05/0.2051, allocations: 87.27 kB / 0.7316 GB, free: 2.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2051, allocations: 0 / 0.7316 GB, free: 2.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003562/0.2055, allocations: 48 kB / 0.7316 GB, free: 2.863 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001982/0.2057, allocations: 115.2 kB / 0.7317 GB, free: 2.742 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.2071, allocations: 423.4 kB / 0.7321 GB, free: 2.328 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2071, allocations: 0 / 0.7321 GB, free: 2.328 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006849/0.2078, allocations: 219.7 kB / 0.7324 GB, free: 2.113 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.2081, allocations: 14.89 kB / 0.7324 GB, free: 2.102 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/0.2121, allocations: 0.7883 MB / 0.7331 GB, free: 1.277 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.2125, allocations: 0.6931 MB / 0.7338 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000376/0.2128, allocations: 79.23 kB / 0.7339 GB, free: 492 kB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.2128, allocations: 0 / 0.7339 GB, free: 492 kB / 0.545 GB Notification: Performance of Templates: time 0.006329/0.2192, allocations: 3.794 MB / 0.7376 GB, free: 12.68 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.804356229957193] Failed to read output from testmodel.py, exit status != 0: 0.22737775510177016 0.48521900700000004 0.066644982 Calling exit ...