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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009889/0.0009889, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008557/0.0008557, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001647/0.001647, allocations: 270.1 kB / 291.4 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9294/0.9294, allocations: 169.5 MB / 0.5 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.0003951, allocations: 14.78 kB / 0.598 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1696, allocations: 88.55 MB / 0.6845 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0006565/0.1703, allocations: 323.2 kB / 0.6848 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.1719, allocations: 1.392 MB / 0.6862 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.645e-05/0.172, allocations: 0 / 0.6862 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.154e-05/0.172, allocations: 3.938 kB / 0.6862 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.472e-05/0.172, allocations: 0 / 0.6862 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.1724, allocations: 110.6 kB / 0.6863 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.045e-05/0.1725, allocations: 25.09 kB / 0.6863 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.1725, allocations: 0 / 0.6863 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.256e-05/0.1726, allocations: 15.98 kB / 0.6863 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.596e-05/0.1726, allocations: 29.09 kB / 0.6863 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1727, allocations: 0 / 0.6863 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004149/0.1731, allocations: 303.4 kB / 0.6866 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.853e-05/0.1731, allocations: 11.98 kB / 0.6866 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.1732, allocations: 26.27 kB / 0.6867 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.1734, allocations: 129.3 kB / 0.6868 GB, free: 13.13 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1734, allocations: 0 / 0.6868 GB, free: 13.13 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1734, allocations: 0 / 0.6868 GB, free: 13.13 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1734, allocations: 0 / 0.6868 GB, free: 13.13 MB / 494.1 MB 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.0004493/0.1739, allocations: 370.6 kB / 0.6871 GB, free: 12.72 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1739, allocations: 8.906 kB / 0.6871 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004262/0.1743, allocations: 81.56 kB / 0.6872 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.1745, allocations: 171 kB / 0.6874 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.1745, allocations: 2.062 kB / 0.6874 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.1745, allocations: 7.906 kB / 0.6874 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.1748, allocations: 79.97 kB / 0.6875 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.1748, allocations: 0 / 0.6875 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1748, allocations: 0 / 0.6875 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1748, allocations: 4 kB / 0.6875 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002618/0.1751, allocations: 76.22 kB / 0.6876 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.1753, allocations: 169.6 kB / 0.6877 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005202/0.1758, allocations: 146.5 kB / 0.6879 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.1759, allocations: 48.92 kB / 0.6879 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004061/0.1764, allocations: 173 kB / 0.6881 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1764, allocations: 38.55 kB / 0.6881 GB, free: 11.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1764, allocations: 0 / 0.6881 GB, free: 11.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001082/0.1775, allocations: 442.2 kB / 0.6885 GB, free: 11.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.1775, allocations: 51.41 kB / 0.6886 GB, free: 11.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.693e-05/0.1776, allocations: 93.86 kB / 0.6887 GB, free: 10.97 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.1776, allocations: 29.7 kB / 0.6887 GB, free: 10.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.1777, allocations: 84.08 kB / 0.6888 GB, free: 10.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.1777, allocations: 15.73 kB / 0.6888 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-06/0.1777, allocations: 8.125 kB / 0.6888 GB, free: 10.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1778, allocations: 318.8 kB / 0.6891 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.178, allocations: 39.97 kB / 0.6891 GB, free: 10.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1781, allocations: 43.91 kB / 0.6892 GB, free: 10.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1783, allocations: 43.97 kB / 0.6892 GB, free: 10.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1783, allocations: 0 / 0.6892 GB, free: 10.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003266/0.1786, allocations: 129.6 kB / 0.6893 GB, free: 10.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1786, allocations: 4 kB / 0.6893 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1786, allocations: 4 kB / 0.6893 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1787, allocations: 0 / 0.6893 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1788, allocations: 27.97 kB / 0.6894 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1788, allocations: 4 kB / 0.6894 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.495e-05/0.1789, allocations: 15.98 kB / 0.6894 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1789, allocations: 4 kB / 0.6894 GB, free: 10.19 MB / 494.1 MB 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 0.0001239/0.179, allocations: 118.4 kB / 0.6895 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.1791, allocations: 11.91 kB / 0.6895 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004122/0.1795, allocations: 145.2 kB / 0.6897 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1795, allocations: 0 / 0.6897 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1795, allocations: 0 / 0.6897 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1795, allocations: 0 / 0.6897 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.1796, allocations: 177.6 kB / 0.6898 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1797, allocations: 0 / 0.6898 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.1798, allocations: 28.3 kB / 0.6899 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1798, allocations: 4 kB / 0.6899 GB, free: 9.648 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1798, allocations: 4 kB / 0.6899 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1798, allocations: 320 / 0.6899 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1798, allocations: 0 / 0.6899 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005118/0.1804, allocations: 212.9 kB / 0.6901 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.776e-05/0.1804, allocations: 89.12 kB / 0.6902 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.1805, allocations: 3.984 kB / 0.6902 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.958e-05/0.1806, allocations: 15.98 kB / 0.6902 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.1806, allocations: 4 kB / 0.6902 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-06/0.1806, allocations: 4.062 kB / 0.6902 GB, free: 9.285 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.563e-05/0.1807, allocations: 83.27 kB / 0.6903 GB, free: 9.203 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1807, allocations: 0 / 0.6903 GB, free: 9.203 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.1809, allocations: 31.94 kB / 0.6903 GB, free: 9.172 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001994/0.1811, allocations: 127.2 kB / 0.6904 GB, free: 9.035 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000339/0.1815, allocations: 99.95 kB / 0.6905 GB, free: 8.938 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1815, allocations: 7.938 kB / 0.6905 GB, free: 8.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.1816, allocations: 47.97 kB / 0.6906 GB, free: 8.883 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.1818, allocations: 7.953 kB / 0.6906 GB, free: 8.875 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000555/0.1823, allocations: 210.7 kB / 0.6908 GB, free: 8.648 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.1826, allocations: 0.6809 MB / 0.6914 GB, free: 7.941 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.1827, allocations: 19.94 kB / 0.6915 GB, free: 7.922 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.1828, allocations: 11.44 kB / 0.6915 GB, free: 7.91 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1828, allocations: 0 / 0.6915 GB, free: 7.91 MB / 494.1 MB Notification: Performance of Templates: time 0.003384/0.1861, allocations: 1.098 MB / 0.6925 GB, free: 6.824 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (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)