Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005018/0.005018, allocations: 103.7 kB / 15.74 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.00121, allocations: 188.9 kB / 16.67 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.197/1.197, allocations: 205.1 MB / 222.6 MB, free: 4.367 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.354/1.354, allocations: 251.7 MB / 0.5094 GB, free: 3.059 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 79.91 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1759, allocations: 104.7 MB / 0.8281 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001506/0.1775, allocations: 0.6049 MB / 0.8287 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.179, allocations: 1.498 MB / 0.8301 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.768e-05/0.179, allocations: 4 kB / 0.8301 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.368e-05/0.179, allocations: 3.938 kB / 0.8301 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.826e-05/0.1791, allocations: 0 / 0.8301 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.1795, allocations: 139.4 kB / 0.8303 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.868e-05/0.1796, allocations: 31.92 kB / 0.8303 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.054e-05/0.1796, allocations: 4 kB / 0.8303 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.193e-05/0.1797, allocations: 19.97 kB / 0.8303 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.575e-05/0.1797, allocations: 31.89 kB / 0.8304 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.1798, allocations: 0 / 0.8304 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003973/0.1802, allocations: 307.4 kB / 0.8307 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.1802, allocations: 11.98 kB / 0.8307 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.1802, allocations: 11.92 kB / 0.8307 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.1805, allocations: 191.6 kB / 0.8309 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1805, allocations: 4 kB / 0.8309 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 6.602e-06/0.1805, allocations: 4 kB / 0.8309 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1805, allocations: 3.938 kB / 0.8309 GB, free: 13.34 MB / 0.6544 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.0005062/0.181, allocations: 363.5 kB / 0.8312 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1811, allocations: 8.031 kB / 0.8312 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004346/0.1815, allocations: 72.78 kB / 0.8313 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.1816, allocations: 160.4 kB / 0.8314 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.1817, allocations: 4.375 kB / 0.8315 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.1817, allocations: 384 / 0.8315 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.1819, allocations: 85.94 kB / 0.8315 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.182, allocations: 0 / 0.8315 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.182, allocations: 0 / 0.8315 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.182, allocations: 0 / 0.8315 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.1823, allocations: 63.94 kB / 0.8316 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.1825, allocations: 169.5 kB / 0.8318 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005661/0.183, allocations: 122.6 kB / 0.8319 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.1832, allocations: 44.92 kB / 0.8319 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004173/0.1836, allocations: 149 kB / 0.8321 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.1837, allocations: 46.48 kB / 0.8321 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1837, allocations: 0 / 0.8321 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.001096/0.1848, allocations: 402.2 kB / 0.8325 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.1848, allocations: 51.41 kB / 0.8325 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.16e-05/0.1849, allocations: 97.86 kB / 0.8326 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1849, allocations: 25.7 kB / 0.8327 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.1849, allocations: 80.14 kB / 0.8327 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.185, allocations: 19.77 kB / 0.8327 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.185, allocations: 25.72 kB / 0.8328 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.554e-05/0.1851, allocations: 314.8 kB / 0.8331 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.1853, allocations: 35.95 kB / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.1854, allocations: 39.97 kB / 0.8331 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.1857, allocations: 76.8 kB / 0.8332 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1858, allocations: 4.125 kB / 0.8332 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003407/0.1861, allocations: 117.6 kB / 0.8333 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1861, allocations: 7.984 kB / 0.8333 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1861, allocations: 0 / 0.8333 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1862, allocations: 336 / 0.8333 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.1863, allocations: 23.92 kB / 0.8334 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1863, allocations: 0 / 0.8334 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.526e-05/0.1864, allocations: 15.98 kB / 0.8334 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.1864, allocations: 7.938 kB / 0.8334 GB, free: 10.48 MB / 0.6544 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 7.218e-05/0.1865, allocations: 113.8 kB / 0.8335 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.1865, allocations: 7.938 kB / 0.8335 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004258/0.187, allocations: 137.1 kB / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.187, allocations: 0 / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.187, allocations: 0 / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.187, allocations: 0 / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.1871, allocations: 177.5 kB / 0.8338 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1871, allocations: 3.938 kB / 0.8338 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.1873, allocations: 23.92 kB / 0.8338 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1873, allocations: 0 / 0.8338 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1873, allocations: 0 / 0.8338 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1873, allocations: 4 kB / 0.8338 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1873, allocations: 0 / 0.8338 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005318/0.1878, allocations: 181 kB / 0.834 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.1879, allocations: 93.06 kB / 0.8341 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.1879, allocations: 0 / 0.8341 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.188, allocations: 16.23 kB / 0.8341 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.1881, allocations: 7.984 kB / 0.8341 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.1881, allocations: 4 kB / 0.8341 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.233e-05/0.1881, allocations: 87.22 kB / 0.8342 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1881, allocations: 0 / 0.8342 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002296/0.1884, allocations: 24 kB / 0.8342 GB, free: 9.508 MB / 0.6544 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.0001956/0.1886, allocations: 135.1 kB / 0.8344 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000361/0.1889, allocations: 84.03 kB / 0.8344 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1889, allocations: 0 / 0.8344 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.1891, allocations: 51.89 kB / 0.8345 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.1893, allocations: 4 kB / 0.8345 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005963/0.1899, allocations: 181.6 kB / 0.8347 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.1901, allocations: 0.6922 MB / 0.8353 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.363e-05/0.1902, allocations: 16 kB / 0.8354 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.1902, allocations: 15.38 kB / 0.8354 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.1902, allocations: 4 kB / 0.8354 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.003118/0.1934, allocations: 1.164 MB / 0.8365 GB, free: 7.113 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)