Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.625/1.625, allocations: 288.4 MB / 304.3 MB, free: 8.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009507/0.0009507, allocations: 187.2 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.4 MB / 0.6316 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006651/0.0006651, allocations: 90.25 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003588, allocations: 18.31 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1729, allocations: 115.3 MB / 0.9808 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0005671/0.1735, allocations: 335.7 kB / 0.9811 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.1749, allocations: 1.425 MB / 0.9825 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.729e-05/0.1749, allocations: 0 / 0.9825 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.686e-06/0.1749, allocations: 4 kB / 0.9825 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.648e-05/0.175, allocations: 0 / 0.9825 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.1754, allocations: 111.7 kB / 0.9826 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.119e-05/0.1754, allocations: 19.92 kB / 0.9826 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.261e-05/0.1754, allocations: 11.98 kB / 0.9826 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.851e-05/0.1755, allocations: 12 kB / 0.9826 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.029e-05/0.1755, allocations: 23.94 kB / 0.9826 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.1756, allocations: 4 kB / 0.9826 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003278/0.1759, allocations: 311.3 kB / 0.9829 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.1759, allocations: 7.969 kB / 0.983 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.176, allocations: 33.7 kB / 0.983 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.1761, allocations: 127.9 kB / 0.9831 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1761, allocations: 0 / 0.9831 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1761, allocations: 0 / 0.9831 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.1762, allocations: 4 kB / 0.9831 GB, free: 24.89 MB / 0.6198 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.0003698/0.1765, allocations: 363.7 kB / 0.9835 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1766, allocations: 11.97 kB / 0.9835 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004003/0.177, allocations: 84.7 kB / 0.9836 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.447e-05/0.1771, allocations: 164.4 kB / 0.9837 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.1771, allocations: 384 / 0.9837 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.1771, allocations: 8.375 kB / 0.9837 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.1773, allocations: 77.95 kB / 0.9838 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1774, allocations: 0 / 0.9838 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1774, allocations: 4 kB / 0.9838 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1774, allocations: 8 kB / 0.9838 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002589/0.1777, allocations: 75.92 kB / 0.9839 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.1778, allocations: 161.7 kB / 0.984 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/0.1783, allocations: 146.4 kB / 0.9842 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.1785, allocations: 52.91 kB / 0.9842 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003951/0.1789, allocations: 181 kB / 0.9844 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.1789, allocations: 38.5 kB / 0.9844 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.1789, allocations: 0 / 0.9844 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0009619/0.1799, allocations: 438.2 kB / 0.9848 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.41e-05/0.1799, allocations: 51.41 kB / 0.9849 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.769e-05/0.18, allocations: 97.84 kB / 0.985 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.18, allocations: 29.7 kB / 0.985 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.192e-05/0.18, allocations: 80.27 kB / 0.9851 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.18, allocations: 15.75 kB / 0.9851 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.18, allocations: 4 kB / 0.9851 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.514e-05/0.1801, allocations: 318.8 kB / 0.9854 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.1802, allocations: 47.91 kB / 0.9855 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.1804, allocations: 35.97 kB / 0.9855 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.1806, allocations: 88.8 kB / 0.9856 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1806, allocations: 4 kB / 0.9856 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003047/0.1809, allocations: 129.5 kB / 0.9857 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.181, allocations: 7.938 kB / 0.9857 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.181, allocations: 0 / 0.9857 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.181, allocations: 0 / 0.9857 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.1811, allocations: 28.17 kB / 0.9857 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1811, allocations: 3.984 kB / 0.9857 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.069e-05/0.1812, allocations: 23.98 kB / 0.9858 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1813, allocations: 7.938 kB / 0.9858 GB, free: 21.88 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/0.1813, allocations: 109.8 kB / 0.9859 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.1813, allocations: 3.938 kB / 0.9859 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003859/0.1817, allocations: 149.2 kB / 0.986 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1817, allocations: 0 / 0.986 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.1817, allocations: 0 / 0.986 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.1818, allocations: 85.09 kB / 0.9861 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.1818, allocations: 8 kB / 0.9861 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1819, allocations: 11.98 kB / 0.9861 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.182, allocations: 7.984 kB / 0.9861 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004313/0.1824, allocations: 224.8 kB / 0.9863 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004875/0.1829, allocations: 362.6 kB / 0.9867 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001399/0.183, allocations: 43.98 kB / 0.9867 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.516e-05/0.1831, allocations: 87.28 kB / 0.9868 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of Backend: time 5.51e-07/0.1831, allocations: 3.938 kB / 0.9868 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005261/0.1836, allocations: 170.4 kB / 0.987 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0002557/0.1839, allocations: 0.5685 MB / 0.9875 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of Templates: time 0.003084/0.187, allocations: 1.625 MB / 0.9891 GB, free: 18.35 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)