Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00195/0.00195, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002414/0.002414, allocations: 212.6 kB / 22.24 MB, free: 4.855 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002639/0.002639, allocations: 287.9 kB / 312.7 MB, free: 2.668 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.275/1.275, allocations: 180.6 MB / 0.5369 GB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003451/0.003451, allocations: 105.8 kB / 0.74 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1766, allocations: 95.38 MB / 0.8332 GB, free: 7.797 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001853/0.1785, allocations: 0.6072 MB / 0.8338 GB, free: 7.191 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.1805, allocations: 1.441 MB / 0.8352 GB, free: 5.734 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.1806, allocations: 0 / 0.8352 GB, free: 5.734 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.1806, allocations: 7.875 kB / 0.8352 GB, free: 5.727 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 2.5e-05/0.1806, allocations: 0 / 0.8352 GB, free: 5.727 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005276/0.1811, allocations: 143.5 kB / 0.8353 GB, free: 5.586 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 7.248e-05/0.1812, allocations: 31.95 kB / 0.8353 GB, free: 5.555 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.498e-05/0.1813, allocations: 0 / 0.8353 GB, free: 5.555 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 3.881e-05/0.1813, allocations: 11.98 kB / 0.8354 GB, free: 5.543 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 8.058e-05/0.1814, allocations: 27.91 kB / 0.8354 GB, free: 5.516 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1814, allocations: 4 kB / 0.8354 GB, free: 5.512 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004341/0.1818, allocations: 251.5 kB / 0.8356 GB, free: 5.266 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.1818, allocations: 7.984 kB / 0.8356 GB, free: 5.258 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.1819, allocations: 7.984 kB / 0.8356 GB, free: 5.25 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.1822, allocations: 179.5 kB / 0.8358 GB, free: 5.074 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1822, allocations: 0 / 0.8358 GB, free: 5.074 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1822, allocations: 0 / 0.8358 GB, free: 5.074 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.1822, allocations: 0 / 0.8358 GB, free: 5.074 MB / 0.5763 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.0005203/0.1827, allocations: 290.5 kB / 0.8361 GB, free: 4.762 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1827, allocations: 16.69 kB / 0.8361 GB, free: 4.746 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004495/0.1832, allocations: 64.84 kB / 0.8362 GB, free: 4.684 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1833, allocations: 118.5 kB / 0.8363 GB, free: 4.543 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.1833, allocations: 384 / 0.8363 GB, free: 4.543 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.1833, allocations: 8.328 kB / 0.8363 GB, free: 4.535 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.1836, allocations: 99.66 kB / 0.8364 GB, free: 4.426 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1836, allocations: 0 / 0.8364 GB, free: 4.426 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1836, allocations: 3.984 kB / 0.8364 GB, free: 4.422 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1836, allocations: 4 kB / 0.8364 GB, free: 4.418 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.1839, allocations: 59.94 kB / 0.8365 GB, free: 4.359 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.1841, allocations: 117.3 kB / 0.8366 GB, free: 4.215 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.1847, allocations: 122.5 kB / 0.8367 GB, free: 4.086 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.1848, allocations: 40.91 kB / 0.8367 GB, free: 4.043 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004083/0.1852, allocations: 75.91 kB / 0.8368 GB, free: 3.969 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.1853, allocations: 38.56 kB / 0.8368 GB, free: 3.922 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1853, allocations: 0 / 0.8368 GB, free: 3.922 MB / 0.5763 GB Notification: Performance of matching and sorting (n=5): time 0.001126/0.1864, allocations: 341 kB / 0.8372 GB, free: 3.555 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.1864, allocations: 51.41 kB / 0.8372 GB, free: 3.492 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.73e-05/0.1865, allocations: 97.84 kB / 0.8373 GB, free: 3.387 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.1865, allocations: 25.7 kB / 0.8373 GB, free: 3.355 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.1866, allocations: 80.14 kB / 0.8374 GB, free: 3.273 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.1866, allocations: 11.91 kB / 0.8374 GB, free: 3.262 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.1866, allocations: 25.7 kB / 0.8374 GB, free: 3.23 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1868, allocations: 314.8 kB / 0.8377 GB, free: 2.914 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.1869, allocations: 40.09 kB / 0.8378 GB, free: 2.875 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.1871, allocations: 39.89 kB / 0.8378 GB, free: 2.836 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.1874, allocations: 76.81 kB / 0.8379 GB, free: 2.758 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1874, allocations: 0 / 0.8379 GB, free: 2.758 MB / 0.5763 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003684/0.1877, allocations: 113.6 kB / 0.838 GB, free: 2.641 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1878, allocations: 7.938 kB / 0.838 GB, free: 2.633 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1878, allocations: 0 / 0.838 GB, free: 2.633 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1878, allocations: 336 / 0.838 GB, free: 2.633 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1879, allocations: 27.97 kB / 0.838 GB, free: 2.605 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1879, allocations: 4 kB / 0.838 GB, free: 2.602 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.188, allocations: 23.86 kB / 0.8381 GB, free: 2.578 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.188, allocations: 0 / 0.8381 GB, free: 2.578 MB / 0.5763 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.006e-05/0.1881, allocations: 110.5 kB / 0.8382 GB, free: 2.461 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.1881, allocations: 3.938 kB / 0.8382 GB, free: 2.457 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/0.1886, allocations: 141.3 kB / 0.8383 GB, free: 2.309 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1886, allocations: 0 / 0.8383 GB, free: 2.309 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1886, allocations: 4 kB / 0.8383 GB, free: 2.305 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1886, allocations: 0 / 0.8383 GB, free: 2.305 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.1887, allocations: 109.3 kB / 0.8384 GB, free: 2.168 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1887, allocations: 320 / 0.8384 GB, free: 2.168 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.1889, allocations: 31.91 kB / 0.8384 GB, free: 2.137 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1889, allocations: 0 / 0.8384 GB, free: 2.137 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.1889, allocations: 11.94 kB / 0.8384 GB, free: 2.125 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1889, allocations: 0 / 0.8384 GB, free: 2.125 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1889, allocations: 0 / 0.8384 GB, free: 2.125 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005901/0.1895, allocations: 181 kB / 0.8386 GB, free: 1.93 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.1895, allocations: 11.97 kB / 0.8386 GB, free: 1.918 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.1896, allocations: 3.938 kB / 0.8386 GB, free: 1.914 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.1897, allocations: 16.05 kB / 0.8386 GB, free: 1.898 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.1897, allocations: 7.984 kB / 0.8387 GB, free: 1.891 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.1897, allocations: 4 kB / 0.8387 GB, free: 1.887 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 3.809e-05/0.1897, allocations: 75.28 kB / 0.8387 GB, free: 1.812 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.1897, allocations: 4 kB / 0.8387 GB, free: 1.809 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002232/0.19, allocations: 31.86 kB / 0.8388 GB, free: 1.777 MB / 0.5763 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.0001999/0.1902, allocations: 135.1 kB / 0.8389 GB, free: 1.633 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0003636/0.1905, allocations: 83.92 kB / 0.839 GB, free: 1.551 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1905, allocations: 3.938 kB / 0.839 GB, free: 1.547 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.1907, allocations: 39.97 kB / 0.839 GB, free: 1.508 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.1908, allocations: 7.938 kB / 0.839 GB, free: 1.5 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006019/0.1914, allocations: 181.5 kB / 0.8392 GB, free: 1.297 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.091e-05/0.1915, allocations: 63.34 kB / 0.8393 GB, free: 1.215 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 8.692e-05/0.1916, allocations: 15.94 kB / 0.8393 GB, free: 1.199 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.1916, allocations: 19.42 kB / 0.8393 GB, free: 1.18 MB / 0.5763 GB Notification: Performance of SimCode: time 3.41e-07/0.1916, allocations: 4 kB / 0.8393 GB, free: 1.176 MB / 0.5763 GB Notification: Performance of Templates: time 0.003785/0.1954, allocations: 1.191 MB / 0.8405 GB, free: 8 kB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.189453586935997] Failed to read output from testmodel.py, exit status != 0: 0.20352783426642418 0.217695419 0.032445987 Calling exit ...