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.001108/0.001112, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.099/1.099, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.482/1.482, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.00126/0.00126, allocations: 73.97 kB / 0.6715 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1626, allocations: 114.6 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001565/0.1643, allocations: 0.6017 MB / 0.784 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1657, allocations: 1.49 MB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.714e-05/0.1658, allocations: 0 / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.728e-06/0.1658, allocations: 0 / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.527e-05/0.1658, allocations: 0 / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.1662, allocations: 139.4 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.019e-05/0.1663, allocations: 31.91 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.1663, allocations: 4 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.151e-05/0.1664, allocations: 19.92 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.254e-05/0.1664, allocations: 23.97 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.1664, allocations: 0 / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003787/0.1668, allocations: 315.3 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.1669, allocations: 11.98 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.293e-05/0.1669, allocations: 11.92 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.1671, allocations: 191.6 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1671, allocations: 0 / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1671, allocations: 0 / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.1671, allocations: 4 kB / 0.7861 GB, free: 10.62 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.0004154/0.1676, allocations: 363.8 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.578e-05/0.1676, allocations: 12.03 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004174/0.168, allocations: 68.77 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.186e-05/0.1681, allocations: 164.4 kB / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1681, allocations: 384 / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.1682, allocations: 4.375 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.1684, allocations: 81.89 kB / 0.7868 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.1684, allocations: 0 / 0.7868 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1684, allocations: 4 kB / 0.7868 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.1684, allocations: 0 / 0.7868 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002713/0.1687, allocations: 63.92 kB / 0.7869 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001417/0.1688, allocations: 169.7 kB / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.1694, allocations: 114.5 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.1695, allocations: 52.91 kB / 0.7872 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003925/0.1699, allocations: 153 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.17, allocations: 34.5 kB / 0.7874 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.17, allocations: 0 / 0.7874 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0009994/0.171, allocations: 402.4 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.171, allocations: 59.41 kB / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.554e-05/0.1711, allocations: 97.84 kB / 0.7879 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1711, allocations: 29.7 kB / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.572e-05/0.1711, allocations: 88.02 kB / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.1712, allocations: 11.75 kB / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.1712, allocations: 25.7 kB / 0.7881 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.815e-05/0.1713, allocations: 314.8 kB / 0.7884 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.1714, allocations: 36.09 kB / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.1716, allocations: 39.95 kB / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.1719, allocations: 68.81 kB / 0.7885 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1719, allocations: 3.984 kB / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003268/0.1722, allocations: 121.4 kB / 0.7886 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1722, allocations: 8 kB / 0.7886 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.1722, allocations: 0 / 0.7886 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.1722, allocations: 4.031 kB / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.1724, allocations: 28.22 kB / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1724, allocations: 3.984 kB / 0.7887 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.045e-05/0.1725, allocations: 15.98 kB / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.1725, allocations: 4 kB / 0.7887 GB, free: 7.742 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 5.785e-05/0.1726, allocations: 110.5 kB / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.1726, allocations: 3.938 kB / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/0.173, allocations: 141.1 kB / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.173, allocations: 0 / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.173, allocations: 0 / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.173, allocations: 0 / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.1731, allocations: 165.7 kB / 0.7891 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1731, allocations: 4 kB / 0.7891 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.1733, allocations: 31.91 kB / 0.7891 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1733, allocations: 0 / 0.7891 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1733, allocations: 0 / 0.7891 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1733, allocations: 0 / 0.7891 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1733, allocations: 0 / 0.7891 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/0.1738, allocations: 192.9 kB / 0.7893 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.1739, allocations: 93.06 kB / 0.7894 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.1739, allocations: 0 / 0.7894 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.174, allocations: 11.98 kB / 0.7894 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.1741, allocations: 4 kB / 0.7894 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.1741, allocations: 7.922 kB / 0.7894 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.128e-05/0.1741, allocations: 87.34 kB / 0.7895 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1741, allocations: 0 / 0.7895 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002068/0.1743, allocations: 24 kB / 0.7895 GB, free: 6.777 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.0001522/0.1745, allocations: 131.2 kB / 0.7896 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000341/0.1748, allocations: 91.95 kB / 0.7897 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1748, allocations: 0 / 0.7897 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.175, allocations: 44.2 kB / 0.7898 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.1751, allocations: 10.66 kB / 0.7898 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005065/0.1756, allocations: 189.6 kB / 0.79 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.1758, allocations: 0.6833 MB / 0.7906 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.599e-05/0.1759, allocations: 23.92 kB / 0.7906 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.176, allocations: 11.44 kB / 0.7907 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.176, allocations: 0 / 0.7907 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of Templates: time 0.002706/0.1787, allocations: 1.147 MB / 0.7918 GB, free: 4.398 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)