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.001108, allocations: 109.4 kB / 15.69 MB, free: 128 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.001088/0.001088, allocations: 190.3 kB / 16.62 MB, free: 6.582 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.104/1.104, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.492/1.492, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001247/0.001247, allocations: 70.42 kB / 0.6723 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1611, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001553/0.1626, allocations: 0.6053 MB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.164, allocations: 1.482 MB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.931e-05/0.1641, allocations: 4 kB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.128e-05/0.1641, allocations: 0 / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.943e-05/0.1641, allocations: 0 / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.1645, allocations: 146.5 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.727e-05/0.1646, allocations: 31.97 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.913e-05/0.1646, allocations: 0 / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.96e-05/0.1647, allocations: 23.97 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.452e-05/0.1647, allocations: 19.91 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.1648, allocations: 0 / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003643/0.1651, allocations: 327.3 kB / 0.7867 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.1652, allocations: 7.984 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.1652, allocations: 7.938 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.1654, allocations: 187.6 kB / 0.7869 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1654, allocations: 0 / 0.7869 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1654, allocations: 0 / 0.7869 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.1654, allocations: 4 kB / 0.7869 GB, free: 9.895 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.0004264/0.1659, allocations: 367.5 kB / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.1659, allocations: 12.03 kB / 0.7873 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003874/0.1663, allocations: 72.75 kB / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.209e-05/0.1664, allocations: 164.4 kB / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1664, allocations: 384 / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.1664, allocations: 384 / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.1666, allocations: 81.94 kB / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.1667, allocations: 0 / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1667, allocations: 4 kB / 0.7876 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.1667, allocations: 0 / 0.7876 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.167, allocations: 67.86 kB / 0.7876 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.1671, allocations: 161.7 kB / 0.7878 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000496/0.1676, allocations: 122.5 kB / 0.7879 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.1678, allocations: 40.98 kB / 0.7879 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003863/0.1681, allocations: 161 kB / 0.7881 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.853e-05/0.1682, allocations: 34.5 kB / 0.7881 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1682, allocations: 4 kB / 0.7881 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0009545/0.1691, allocations: 402.4 kB / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.1692, allocations: 55.34 kB / 0.7886 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.531e-05/0.1692, allocations: 93.86 kB / 0.7887 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1692, allocations: 29.7 kB / 0.7887 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.193e-05/0.1693, allocations: 80.14 kB / 0.7888 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.1693, allocations: 19.73 kB / 0.7888 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.1693, allocations: 25.78 kB / 0.7888 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.1694, allocations: 318.8 kB / 0.7891 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.1696, allocations: 31.97 kB / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.1697, allocations: 35.97 kB / 0.7892 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.17, allocations: 80.8 kB / 0.7892 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.17, allocations: 3.938 kB / 0.7893 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003159/0.1703, allocations: 117.5 kB / 0.7894 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.1703, allocations: 7.938 kB / 0.7894 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1703, allocations: 3.984 kB / 0.7894 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.1704, allocations: 4.031 kB / 0.7894 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1705, allocations: 23.98 kB / 0.7894 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1705, allocations: 7.984 kB / 0.7894 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.723e-05/0.1706, allocations: 16.23 kB / 0.7894 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.1706, allocations: 4 kB / 0.7894 GB, free: 7.008 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.345e-05/0.1707, allocations: 109.8 kB / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.1707, allocations: 3.938 kB / 0.7895 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003918/0.1711, allocations: 141.1 kB / 0.7897 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1711, allocations: 0 / 0.7897 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1711, allocations: 0 / 0.7897 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1711, allocations: 4 kB / 0.7897 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.1712, allocations: 165.6 kB / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1712, allocations: 0 / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.1714, allocations: 23.92 kB / 0.7899 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1714, allocations: 0 / 0.7899 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1714, allocations: 11.98 kB / 0.7899 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1714, allocations: 4 kB / 0.7899 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1714, allocations: 0 / 0.7899 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.1719, allocations: 181 kB / 0.79 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.172, allocations: 85.03 kB / 0.7901 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.172, allocations: 4 kB / 0.7901 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1721, allocations: 19.98 kB / 0.7901 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.1721, allocations: 7.984 kB / 0.7902 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1721, allocations: 4 kB / 0.7902 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.435e-05/0.1722, allocations: 75.28 kB / 0.7902 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.262e-06/0.1722, allocations: 0 / 0.7902 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000199/0.1724, allocations: 39.92 kB / 0.7903 GB, free: 6.039 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.0001531/0.1725, allocations: 131.2 kB / 0.7904 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.1728, allocations: 80.02 kB / 0.7905 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1729, allocations: 4 kB / 0.7905 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.173, allocations: 47.91 kB / 0.7905 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.1731, allocations: 6.406 kB / 0.7905 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/0.1737, allocations: 192.8 kB / 0.7907 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.1738, allocations: 0.6806 MB / 0.7914 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.834e-05/0.1739, allocations: 16 kB / 0.7914 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.174, allocations: 11.44 kB / 0.7914 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.174, allocations: 4 kB / 0.7914 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of Templates: time 0.002633/0.1766, allocations: 1.159 MB / 0.7925 GB, free: 3.66 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)