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.001187/0.001187, allocations: 108 kB / 15.6 MB, free: 132 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.001157/0.001157, allocations: 198.5 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002027/0.002027, allocations: 283.1 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9137/0.9137, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 97.38 kB / 0.5952 GB, free: 27.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1613, allocations: 86.98 MB / 0.6802 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001771/0.1631, allocations: 0.5931 MB / 0.6808 GB, free: 76 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1647, allocations: 1.452 MB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.1647, allocations: 0 / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.1648, allocations: 0 / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.235e-05/0.1648, allocations: 4.719 kB / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.1653, allocations: 134.1 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.53e-05/0.1653, allocations: 40.44 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.1654, allocations: 5.219 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.82e-05/0.1654, allocations: 11.98 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.346e-05/0.1655, allocations: 23.91 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1655, allocations: 4 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.166, allocations: 320.2 kB / 0.6827 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.166, allocations: 11.98 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.1661, allocations: 8.5 kB / 0.6827 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.1663, allocations: 183.7 kB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1663, allocations: 3.984 kB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1663, allocations: 0 / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1663, allocations: 4 kB / 0.6829 GB, free: 13.87 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.0004846/0.1668, allocations: 359.8 kB / 0.6833 GB, free: 13.47 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.1669, allocations: 8.031 kB / 0.6833 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004652/0.1673, allocations: 68.84 kB / 0.6833 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.49e-05/0.1674, allocations: 172.3 kB / 0.6835 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.1675, allocations: 8.25 kB / 0.6835 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.1675, allocations: 8.375 kB / 0.6835 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.1678, allocations: 81.88 kB / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.1678, allocations: 0 / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1678, allocations: 0 / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1678, allocations: 0 / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.1681, allocations: 67.92 kB / 0.6836 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.1683, allocations: 161.7 kB / 0.6838 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005799/0.1689, allocations: 126.5 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.169, allocations: 44.91 kB / 0.684 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004478/0.1695, allocations: 157 kB / 0.6841 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.1695, allocations: 38.5 kB / 0.6842 GB, free: 12.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.073e-06/0.1695, allocations: 0 / 0.6842 GB, free: 12.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001131/0.1707, allocations: 402.2 kB / 0.6845 GB, free: 11.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.1707, allocations: 55.41 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.422e-05/0.1708, allocations: 89.86 kB / 0.6847 GB, free: 11.81 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1708, allocations: 25.7 kB / 0.6847 GB, free: 11.78 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.1708, allocations: 92.25 kB / 0.6848 GB, free: 11.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.1708, allocations: 15.75 kB / 0.6848 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.1709, allocations: 21.72 kB / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.171, allocations: 318.8 kB / 0.6851 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.1712, allocations: 31.97 kB / 0.6852 GB, free: 11.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.1713, allocations: 39.97 kB / 0.6852 GB, free: 11.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.1716, allocations: 80.73 kB / 0.6853 GB, free: 11.17 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1716, allocations: 0 / 0.6853 GB, free: 11.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003534/0.172, allocations: 113.6 kB / 0.6854 GB, free: 11.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.172, allocations: 8 kB / 0.6854 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.172, allocations: 0 / 0.6854 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.172, allocations: 0 / 0.6854 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.1722, allocations: 24.22 kB / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1722, allocations: 0 / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.1723, allocations: 23.98 kB / 0.6854 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.1723, allocations: 0 / 0.6854 GB, free: 11 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.803e-05/0.1724, allocations: 111.2 kB / 0.6855 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.1724, allocations: 11.78 kB / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004444/0.1729, allocations: 137.1 kB / 0.6857 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1729, allocations: 4 kB / 0.6857 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1729, allocations: 3.938 kB / 0.6857 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1729, allocations: 0 / 0.6857 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.173, allocations: 165.7 kB / 0.6858 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.173, allocations: 0 / 0.6858 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.1732, allocations: 27.91 kB / 0.6859 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1732, allocations: 8 kB / 0.6859 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1732, allocations: 0 / 0.6859 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1732, allocations: 0 / 0.6859 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1732, allocations: 0 / 0.6859 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/0.1738, allocations: 185 kB / 0.6861 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.1738, allocations: 92.97 kB / 0.6861 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.1739, allocations: 0 / 0.6861 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.174, allocations: 24.03 kB / 0.6862 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.174, allocations: 0 / 0.6862 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.174, allocations: 4 kB / 0.6862 GB, free: 10.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.915e-05/0.1741, allocations: 79.28 kB / 0.6862 GB, free: 10.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1741, allocations: 0 / 0.6862 GB, free: 10.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002176/0.1743, allocations: 31.98 kB / 0.6863 GB, free: 10.03 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 (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.0002095/0.1745, allocations: 133.4 kB / 0.6864 GB, free: 9.887 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003723/0.1749, allocations: 87.86 kB / 0.6865 GB, free: 9.801 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1749, allocations: 4 kB / 0.6865 GB, free: 9.797 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.1751, allocations: 39.97 kB / 0.6865 GB, free: 9.758 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.1752, allocations: 8 kB / 0.6865 GB, free: 9.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005635/0.1758, allocations: 185.7 kB / 0.6867 GB, free: 9.543 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.176, allocations: 0.6807 MB / 0.6874 GB, free: 8.836 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.1761, allocations: 20 kB / 0.6874 GB, free: 8.816 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.1762, allocations: 15.42 kB / 0.6874 GB, free: 8.801 MB / 494.1 MB Notification: Performance of SimCode: time 1.713e-06/0.1762, allocations: 0 / 0.6874 GB, free: 8.801 MB / 494.1 MB Notification: Performance of Templates: time 0.003552/0.1797, allocations: 1.172 MB / 0.6886 GB, free: 7.641 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)