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.001325/0.001325, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001451/0.001451, allocations: 214.3 kB / 22.99 MB, free: 4.945 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.8 MB, free: 7.789 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.9058/0.9058, 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.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.002929/0.002929, allocations: 70.56 kB / 0.6344 GB, free: 6.105 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.176, allocations: 87.89 MB / 0.7202 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002056/0.178, allocations: 0.7832 MB / 0.721 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002052/0.1801, allocations: 1.447 MB / 0.7224 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.1801, allocations: 3.938 kB / 0.7224 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.1802, allocations: 0 / 0.7224 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.827e-05/0.1802, allocations: 3.938 kB / 0.7224 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.1807, allocations: 155.4 kB / 0.7225 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.829e-05/0.1808, allocations: 47.66 kB / 0.7226 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.602e-05/0.1809, allocations: 8 kB / 0.7226 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.495e-05/0.1809, allocations: 27.91 kB / 0.7226 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.822e-05/0.181, allocations: 39.83 kB / 0.7226 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.181, allocations: 4 kB / 0.7226 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.1815, allocations: 247.5 kB / 0.7229 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.1815, allocations: 11.98 kB / 0.7229 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.1815, allocations: 19.88 kB / 0.7229 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.1818, allocations: 211.4 kB / 0.7231 GB, free: 11.22 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1818, allocations: 0 / 0.7231 GB, free: 11.22 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1818, allocations: 0 / 0.7231 GB, free: 11.22 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1818, allocations: 0 / 0.7231 GB, free: 11.22 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.0006562/0.1825, allocations: 325.8 kB / 0.7234 GB, free: 10.87 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1825, allocations: 12.02 kB / 0.7234 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004527/0.183, allocations: 72.75 kB / 0.7235 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.1831, allocations: 118.4 kB / 0.7236 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.1831, allocations: 8.375 kB / 0.7236 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.1832, allocations: 8.375 kB / 0.7236 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/0.1836, allocations: 157.3 kB / 0.7238 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1836, allocations: 4 kB / 0.7238 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.1836, allocations: 4 kB / 0.7238 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1836, allocations: 0 / 0.7238 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000475/0.1841, allocations: 103.9 kB / 0.7239 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.1847, allocations: 264.3 kB / 0.7241 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006706/0.1853, allocations: 158.4 kB / 0.7243 GB, free: 9.898 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.1856, allocations: 60.91 kB / 0.7243 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.1856, allocations: 7.984 kB / 0.7244 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.307e-05/0.1857, allocations: 30.56 kB / 0.7244 GB, free: 9.789 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1857, allocations: 0 / 0.7244 GB, free: 9.789 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.01809/0.2038, allocations: 2.679 MB / 0.727 GB, free: 7.051 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.2038, allocations: 51.41 kB / 0.7271 GB, free: 6.988 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.778e-05/0.2039, allocations: 113.8 kB / 0.7272 GB, free: 6.867 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.2039, allocations: 25.7 kB / 0.7272 GB, free: 6.836 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.204, allocations: 96.03 kB / 0.7273 GB, free: 6.738 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/0.2041, allocations: 35.69 kB / 0.7273 GB, free: 6.703 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.2043, allocations: 69.58 kB / 0.7274 GB, free: 6.629 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.2044, allocations: 310.8 kB / 0.7277 GB, free: 6.316 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006795/0.2051, allocations: 191.8 kB / 0.7279 GB, free: 6.129 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006825/0.2058, allocations: 195.8 kB / 0.728 GB, free: 5.938 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.2072, allocations: 403.2 kB / 0.7284 GB, free: 5.543 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2072, allocations: 0 / 0.7284 GB, free: 5.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001596/0.2088, allocations: 477.2 kB / 0.7289 GB, free: 5.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2088, allocations: 4 kB / 0.7289 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2088, allocations: 0 / 0.7289 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.2088, allocations: 4 kB / 0.7289 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008335/0.2096, allocations: 111.7 kB / 0.729 GB, free: 4.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.2096, allocations: 0 / 0.729 GB, free: 4.953 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006044/0.2102, allocations: 47.88 kB / 0.729 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.2103, allocations: 23.92 kB / 0.7291 GB, free: 4.883 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.0001666/0.2105, allocations: 121.8 kB / 0.7292 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.158e-05/0.2106, allocations: 11.95 kB / 0.7292 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.299e-05/0.2106, allocations: 8.156 kB / 0.7292 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2106, allocations: 7.938 kB / 0.7292 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2106, allocations: 0 / 0.7292 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.2106, allocations: 3.938 kB / 0.7292 GB, free: 4.715 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.2129, allocations: 0.9607 MB / 0.7301 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.2129, allocations: 0 / 0.7301 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008142/0.2138, allocations: 103.8 kB / 0.7302 GB, free: 3.562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2138, allocations: 0 / 0.7302 GB, free: 3.562 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.106e-05/0.2138, allocations: 19.94 kB / 0.7303 GB, free: 3.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.2138, allocations: 11.94 kB / 0.7303 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2138, allocations: 0 / 0.7303 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/0.2163, allocations: 0.7956 MB / 0.7311 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.2164, allocations: 35.86 kB / 0.7311 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-05/0.2165, allocations: 8.062 kB / 0.7311 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/0.2172, allocations: 47.88 kB / 0.7311 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/0.2173, allocations: 27.92 kB / 0.7312 GB, free: 2.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.907e-05/0.2173, allocations: 27.92 kB / 0.7312 GB, free: 2.574 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.343e-05/0.2174, allocations: 79.28 kB / 0.7313 GB, free: 2.496 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2174, allocations: 4 kB / 0.7313 GB, free: 2.492 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003881/0.2178, allocations: 55.94 kB / 0.7313 GB, free: 2.438 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.0002069/0.218, allocations: 111.5 kB / 0.7314 GB, free: 2.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001511/0.2195, allocations: 415.5 kB / 0.7318 GB, free: 1.914 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.2195, allocations: 0 / 0.7318 GB, free: 1.914 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007432/0.2202, allocations: 219.7 kB / 0.732 GB, free: 1.699 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.2206, allocations: 17.05 kB / 0.7321 GB, free: 1.684 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.2249, allocations: 0.8044 MB / 0.7328 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.67e-05/0.2249, allocations: 72.09 kB / 0.7329 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/0.2253, allocations: 79.23 kB / 0.733 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of SimCode: time 6.72e-07/0.2253, allocations: 0 / 0.733 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of Templates: time 0.006601/0.2319, allocations: 3.809 MB / 0.7367 GB, free: 12.86 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: 8.353676083963364] Failed to read output from testmodel.py, exit status != 0: 0.24269442399963737 0.5114200050000001 0.07073617800000001 Calling exit ...