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.001493/0.001493, allocations: 85.86 kB / 19.02 MB, free: 2.719 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.001637/0.001637, allocations: 160.9 kB / 22.26 MB, free: 4.715 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.429/1.429, allocations: 177.2 MB / 202.6 MB, free: 9.262 MB / 190.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.8794/0.8794, allocations: 110.3 MB / 369.3 MB, free: 1.219 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.00233/0.00233, allocations: 72.58 kB / 0.5476 GB, free: 9.938 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1815, allocations: 87.86 MB / 0.6334 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002067/0.1836, allocations: 0.6063 MB / 0.634 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002294/0.1859, allocations: 1.436 MB / 0.6354 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.103e-05/0.1859, allocations: 0 / 0.6354 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.1859, allocations: 0 / 0.6354 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.711e-05/0.1859, allocations: 3.938 kB / 0.6354 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006442/0.1866, allocations: 143.4 kB / 0.6356 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.755e-05/0.1867, allocations: 27.97 kB / 0.6356 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.376e-05/0.1867, allocations: 7.984 kB / 0.6356 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.098e-05/0.1868, allocations: 23.92 kB / 0.6356 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.924e-05/0.1869, allocations: 15.97 kB / 0.6356 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.1869, allocations: 4 kB / 0.6356 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004461/0.1874, allocations: 251.5 kB / 0.6359 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.781e-05/0.1874, allocations: 7.984 kB / 0.6359 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.1874, allocations: 11.92 kB / 0.6359 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.1877, allocations: 179.5 kB / 0.6361 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1877, allocations: 0 / 0.6361 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1877, allocations: 0 / 0.6361 GB, free: 15.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.1877, allocations: 0 / 0.6361 GB, free: 15.21 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.0005499/0.1883, allocations: 294 kB / 0.6363 GB, free: 14.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1883, allocations: 8.031 kB / 0.6363 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004615/0.1888, allocations: 64.86 kB / 0.6364 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.1889, allocations: 114.5 kB / 0.6365 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.1889, allocations: 384 / 0.6365 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.189, allocations: 8.328 kB / 0.6365 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.1892, allocations: 99.66 kB / 0.6366 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1892, allocations: 0 / 0.6366 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1893, allocations: 4 kB / 0.6366 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1893, allocations: 0 / 0.6366 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.1896, allocations: 67.92 kB / 0.6367 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.1897, allocations: 109.3 kB / 0.6368 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006363/0.1904, allocations: 126.5 kB / 0.6369 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.1905, allocations: 44.91 kB / 0.637 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004503/0.191, allocations: 75.91 kB / 0.637 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.191, allocations: 38.56 kB / 0.6371 GB, free: 14.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.191, allocations: 0 / 0.6371 GB, free: 14.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.001209/0.1922, allocations: 333.2 kB / 0.6374 GB, free: 13.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.1923, allocations: 51.41 kB / 0.6374 GB, free: 13.64 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.344e-05/0.1924, allocations: 97.84 kB / 0.6375 GB, free: 13.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.1924, allocations: 29.7 kB / 0.6376 GB, free: 13.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.1924, allocations: 84.08 kB / 0.6376 GB, free: 13.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.1924, allocations: 11.91 kB / 0.6376 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.1925, allocations: 21.7 kB / 0.6377 GB, free: 13.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1926, allocations: 322.8 kB / 0.638 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.1928, allocations: 32.09 kB / 0.638 GB, free: 13.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.1929, allocations: 31.97 kB / 0.638 GB, free: 12.99 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.1932, allocations: 84.73 kB / 0.6381 GB, free: 12.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1932, allocations: 0 / 0.6381 GB, free: 12.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003619/0.1936, allocations: 117.7 kB / 0.6382 GB, free: 12.78 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1936, allocations: 9.812 kB / 0.6382 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1936, allocations: 0 / 0.6382 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1936, allocations: 7.984 kB / 0.6382 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.1938, allocations: 28.22 kB / 0.6383 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1938, allocations: 0 / 0.6383 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.887e-05/0.1939, allocations: 15.98 kB / 0.6383 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1939, allocations: 0 / 0.6383 GB, free: 12.72 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.814e-05/0.194, allocations: 113.8 kB / 0.6384 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.194, allocations: 7.938 kB / 0.6384 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004555/0.1945, allocations: 133.4 kB / 0.6385 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1945, allocations: 4 kB / 0.6385 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1945, allocations: 0 / 0.6385 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1945, allocations: 0 / 0.6385 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.1946, allocations: 109.3 kB / 0.6386 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1946, allocations: 0 / 0.6386 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.1947, allocations: 23.98 kB / 0.6387 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1947, allocations: 0 / 0.6387 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.1948, allocations: 15.86 kB / 0.6387 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1948, allocations: 0 / 0.6387 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1948, allocations: 0 / 0.6387 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000572/0.1953, allocations: 185 kB / 0.6389 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.1954, allocations: 8.016 kB / 0.6389 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.1954, allocations: 3.938 kB / 0.6389 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1955, allocations: 20.05 kB / 0.6389 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.1955, allocations: 7.984 kB / 0.6389 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.1956, allocations: 3.938 kB / 0.6389 GB, free: 12.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.142e-05/0.1956, allocations: 79.28 kB / 0.639 GB, free: 11.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1956, allocations: 0 / 0.639 GB, free: 11.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002283/0.1958, allocations: 35.86 kB / 0.639 GB, free: 11.92 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.0001966/0.196, allocations: 131 kB / 0.6391 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003616/0.1964, allocations: 84.02 kB / 0.6392 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1964, allocations: 3.938 kB / 0.6392 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.1966, allocations: 43.97 kB / 0.6393 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.1967, allocations: 4 kB / 0.6393 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006093/0.1973, allocations: 189.6 kB / 0.6394 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.124e-05/0.1974, allocations: 63.34 kB / 0.6395 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.751e-05/0.1974, allocations: 16 kB / 0.6395 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.1975, allocations: 12.5 kB / 0.6395 GB, free: 11.32 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.1975, allocations: 4 kB / 0.6395 GB, free: 11.32 MB / 0.545 GB Notification: Performance of Templates: time 0.003886/0.2014, allocations: 1.205 MB / 0.6407 GB, free: 10.13 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.432219015434384] Failed to read output from testmodel.py, exit status != 0: 0.20988258346915245 0.22393384999999996 0.032970751 Calling exit ...