Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009043/0.0009043, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009301/0.0009302, allocations: 194 kB / 16.25 MB, free: 6.617 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.136/1.136, allocations: 205.1 MB / 222.1 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.461/1.461, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.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.001174/0.001174, allocations: 79.59 kB / 0.671 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1651, allocations: 114.5 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001871/0.167, allocations: 0.6626 MB / 0.7835 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1687, allocations: 1.488 MB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.282e-05/0.1687, allocations: 0 / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.1687, allocations: 3.938 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.636e-05/0.1688, allocations: 0 / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.1692, allocations: 115.7 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.304e-05/0.1693, allocations: 27.97 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.1693, allocations: 11.92 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.407e-05/0.1694, allocations: 15.98 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.189e-05/0.1694, allocations: 27.91 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.1695, allocations: 0 / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004077/0.1699, allocations: 315.3 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.1699, allocations: 8 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.1699, allocations: 15.92 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.1702, allocations: 187.6 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1702, allocations: 0 / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1702, allocations: 4 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.1702, allocations: 0 / 0.7857 GB, free: 11 MB / 0.6075 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.0004253/0.1706, allocations: 363.8 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.1707, allocations: 8.031 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004184/0.1711, allocations: 72.75 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.976e-05/0.1712, allocations: 164.3 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.1712, allocations: 4.375 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.1712, allocations: 4.375 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.1715, allocations: 81.94 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1715, allocations: 0 / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1715, allocations: 0 / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1715, allocations: 0 / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.1718, allocations: 63.94 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.1719, allocations: 161.7 kB / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/0.1724, allocations: 126.5 kB / 0.7867 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.1726, allocations: 44.92 kB / 0.7867 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003827/0.173, allocations: 157 kB / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.173, allocations: 34.5 kB / 0.7869 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.173, allocations: 0 / 0.7869 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0009643/0.174, allocations: 406.5 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.174, allocations: 51.41 kB / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.543e-05/0.1741, allocations: 93.86 kB / 0.7874 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1741, allocations: 33.83 kB / 0.7875 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.355e-05/0.1741, allocations: 84.12 kB / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.1742, allocations: 19.67 kB / 0.7876 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.1742, allocations: 21.72 kB / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.409e-05/0.1743, allocations: 318.8 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.1744, allocations: 35.97 kB / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.1746, allocations: 35.97 kB / 0.7879 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.1748, allocations: 76.73 kB / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1748, allocations: 0 / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003084/0.1751, allocations: 121.7 kB / 0.7881 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1752, allocations: 8 kB / 0.7881 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1752, allocations: 3.938 kB / 0.7881 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.1752, allocations: 0 / 0.7881 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.1753, allocations: 27.97 kB / 0.7882 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1753, allocations: 4 kB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.083e-05/0.1754, allocations: 15.97 kB / 0.7882 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.1755, allocations: 4 kB / 0.7882 GB, free: 8.125 MB / 0.6075 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 6.819e-05/0.1755, allocations: 113.8 kB / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.1755, allocations: 3.938 kB / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004004/0.176, allocations: 137.2 kB / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.176, allocations: 0 / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.176, allocations: 0 / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.176, allocations: 0 / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.1761, allocations: 165.7 kB / 0.7886 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1761, allocations: 0 / 0.7886 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.1762, allocations: 31.92 kB / 0.7886 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1762, allocations: 0 / 0.7886 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1763, allocations: 7.922 kB / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1763, allocations: 0 / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1763, allocations: 0 / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004752/0.1768, allocations: 180.9 kB / 0.7888 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.1768, allocations: 93.06 kB / 0.7889 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.1768, allocations: 4.062 kB / 0.7889 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1769, allocations: 11.98 kB / 0.7889 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.177, allocations: 7.984 kB / 0.7889 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.177, allocations: 0 / 0.7889 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.926e-05/0.177, allocations: 79.28 kB / 0.789 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.177, allocations: 3.938 kB / 0.789 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002009/0.1772, allocations: 35.98 kB / 0.789 GB, free: 7.16 MB / 0.6075 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.0001603/0.1774, allocations: 139.2 kB / 0.7892 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003157/0.1777, allocations: 88.05 kB / 0.7893 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1777, allocations: 0 / 0.7893 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.1779, allocations: 48.03 kB / 0.7893 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.178, allocations: 4 kB / 0.7893 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.1785, allocations: 189.3 kB / 0.7895 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.1787, allocations: 0.6846 MB / 0.7901 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001078/0.1788, allocations: 23.92 kB / 0.7902 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.1788, allocations: 11.44 kB / 0.7902 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.1789, allocations: 0 / 0.7902 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of Templates: time 0.002769/0.1816, allocations: 1.145 MB / 0.7913 GB, free: 4.777 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)