Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00102/0.00102, allocations: 195.6 kB / 16.14 MB, free: 6.707 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.322/1.322, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00206/0.00206, allocations: 283.1 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9302/0.9302, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002558/0.002558, allocations: 91.89 kB / 0.5945 GB, free: 28.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1592, allocations: 86.98 MB / 0.6794 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001772/0.161, allocations: 0.6811 MB / 0.6801 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.1628, allocations: 1.48 MB / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.686e-05/0.1628, allocations: 0 / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.826e-05/0.1628, allocations: 1.406 kB / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.66e-05/0.1629, allocations: 3.984 kB / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.1632, allocations: 100.3 kB / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.775e-05/0.1633, allocations: 23.92 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.877e-05/0.1633, allocations: 4 kB / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.414e-05/0.1634, allocations: 15.92 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.891e-05/0.1635, allocations: 23.91 kB / 0.6817 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.1635, allocations: 3.938 kB / 0.6817 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004287/0.1639, allocations: 311.4 kB / 0.682 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.1639, allocations: 11.92 kB / 0.682 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.164, allocations: 19.92 kB / 0.6821 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.1642, allocations: 187.8 kB / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1643, allocations: 0 / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1643, allocations: 0 / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.1643, allocations: 0 / 0.6822 GB, free: 14.31 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004728/0.1647, allocations: 375.4 kB / 0.6826 GB, free: 13.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1648, allocations: 8.031 kB / 0.6826 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003602/0.1652, allocations: 64.77 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.1653, allocations: 168.4 kB / 0.6828 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1653, allocations: 384 / 0.6828 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.1653, allocations: 12.38 kB / 0.6828 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.1656, allocations: 81.89 kB / 0.6829 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1656, allocations: 3.906 kB / 0.6829 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1656, allocations: 0 / 0.6829 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1656, allocations: 0 / 0.6829 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.166, allocations: 75.91 kB / 0.683 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.1661, allocations: 165.7 kB / 0.6831 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004934/0.1666, allocations: 130.5 kB / 0.6833 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.1668, allocations: 36.95 kB / 0.6833 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.1669, allocations: 11.94 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.1669, allocations: 42.48 kB / 0.6834 GB, free: 13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1669, allocations: 0 / 0.6834 GB, free: 13 MB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.003764/0.1707, allocations: 0.774 MB / 0.6841 GB, free: 12.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.1707, allocations: 55.41 kB / 0.6842 GB, free: 12.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.549e-05/0.1708, allocations: 117.8 kB / 0.6843 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.1709, allocations: 29.7 kB / 0.6843 GB, free: 11.99 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.1709, allocations: 84.08 kB / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.1709, allocations: 35.53 kB / 0.6844 GB, free: 11.87 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.171, allocations: 29.7 kB / 0.6844 GB, free: 11.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1711, allocations: 314.8 kB / 0.6847 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/0.1715, allocations: 95.89 kB / 0.6848 GB, free: 11.42 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/0.1719, allocations: 103.9 kB / 0.6849 GB, free: 11.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007518/0.1727, allocations: 192.7 kB / 0.6851 GB, free: 11.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1727, allocations: 0 / 0.6851 GB, free: 11.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008371/0.1735, allocations: 245.3 kB / 0.6854 GB, free: 10.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1735, allocations: 4 kB / 0.6854 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1736, allocations: 0 / 0.6854 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1736, allocations: 4 kB / 0.6854 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.1739, allocations: 55.88 kB / 0.6854 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1739, allocations: 4 kB / 0.6854 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.1741, allocations: 31.95 kB / 0.6855 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.1742, allocations: 8.359 kB / 0.6855 GB, free: 10.78 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 (9): * Single equations (assignments): 9 * 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 8.247e-05/0.1742, allocations: 119.1 kB / 0.6856 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.1743, allocations: 4 kB / 0.6856 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.1743, allocations: 12.38 kB / 0.6856 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1743, allocations: 7.938 kB / 0.6856 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1743, allocations: 0 / 0.6856 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1743, allocations: 0 / 0.6856 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.1759, allocations: 0.5935 MB / 0.6862 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.176, allocations: 3.938 kB / 0.6862 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.1762, allocations: 56 kB / 0.6862 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1762, allocations: 4.75 kB / 0.6862 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1763, allocations: 3.984 kB / 0.6862 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1763, allocations: 0 / 0.6862 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1763, allocations: 4 kB / 0.6862 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008698/0.1771, allocations: 344.8 kB / 0.6866 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.1772, allocations: 81.11 kB / 0.6867 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.1772, allocations: 4 kB / 0.6867 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.1775, allocations: 43.95 kB / 0.6867 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.1775, allocations: 15.86 kB / 0.6867 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.1775, allocations: 11.97 kB / 0.6867 GB, free: 9.371 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.53e-05/0.1776, allocations: 87.67 kB / 0.6868 GB, free: 9.285 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1776, allocations: 0 / 0.6868 GB, free: 9.285 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000288/0.1779, allocations: 47.98 kB / 0.6869 GB, free: 9.238 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.0002132/0.1781, allocations: 127.2 kB / 0.687 GB, free: 9.105 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008783/0.179, allocations: 207.7 kB / 0.6872 GB, free: 8.902 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.179, allocations: 0 / 0.6872 GB, free: 8.902 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004163/0.1794, allocations: 108.2 kB / 0.6873 GB, free: 8.797 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.1797, allocations: 10.64 kB / 0.6873 GB, free: 8.789 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.1811, allocations: 420.1 kB / 0.6877 GB, free: 8.348 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.1814, allocations: 0.6888 MB / 0.6884 GB, free: 7.633 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000116/0.1815, allocations: 24.88 kB / 0.6884 GB, free: 7.605 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.1816, allocations: 19.42 kB / 0.6884 GB, free: 7.586 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1816, allocations: 0 / 0.6884 GB, free: 7.586 MB / 494.1 MB Notification: Performance of Templates: time 0.003731/0.1853, allocations: 1.566 MB / 0.6899 GB, free: 6.023 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)