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.001472/0.001472, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00173/0.001731, allocations: 189.3 kB / 16.25 MB, free: 6.633 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.323/1.323, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002/0.002, allocations: 290.9 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.949/0.949, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 89.81 kB / 0.5947 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.165, allocations: 86.99 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001899/0.1669, allocations: 0.6892 MB / 0.6803 GB, free: 376 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.1688, allocations: 1.451 MB / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.1688, allocations: 0 / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.1689, allocations: 3.938 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.433e-05/0.1689, allocations: 0 / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.1693, allocations: 107.7 kB / 0.6818 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.769e-05/0.1694, allocations: 23.97 kB / 0.6819 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.1694, allocations: 8 kB / 0.6819 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.634e-05/0.1695, allocations: 15.86 kB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.237e-05/0.1696, allocations: 19.92 kB / 0.6819 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1696, allocations: 0 / 0.6819 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004124/0.17, allocations: 319.3 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.17, allocations: 7.938 kB / 0.6822 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.17, allocations: 15.92 kB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.1703, allocations: 183.9 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1703, allocations: 0 / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1703, allocations: 4 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1703, allocations: 0 / 0.6824 GB, free: 14.2 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.0004988/0.1708, allocations: 379.3 kB / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1709, allocations: 12.02 kB / 0.6828 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003682/0.1713, allocations: 60.72 kB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.1714, allocations: 176.4 kB / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.1714, allocations: 4.375 kB / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.1715, allocations: 384 / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.1718, allocations: 77.95 kB / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1718, allocations: 3.906 kB / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1718, allocations: 0 / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1718, allocations: 4 kB / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.1722, allocations: 75.91 kB / 0.6832 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.1724, allocations: 165.6 kB / 0.6833 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005377/0.1729, allocations: 138.5 kB / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.1731, allocations: 44.94 kB / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.1731, allocations: 0 / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.1732, allocations: 42.48 kB / 0.6835 GB, free: 12.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.1732, allocations: 0 / 0.6835 GB, free: 12.88 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.004154/0.1773, allocations: 0.7817 MB / 0.6843 GB, free: 12.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.1774, allocations: 51.41 kB / 0.6844 GB, free: 12.03 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.1775, allocations: 113.8 kB / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.1775, allocations: 25.7 kB / 0.6845 GB, free: 11.88 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.1776, allocations: 88.14 kB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.1776, allocations: 35.55 kB / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.339e-05/0.1777, allocations: 25.7 kB / 0.6846 GB, free: 11.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1778, allocations: 318.8 kB / 0.6849 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/0.1783, allocations: 91.91 kB / 0.685 GB, free: 11.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.1787, allocations: 99.89 kB / 0.6851 GB, free: 11.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007784/0.1795, allocations: 196.6 kB / 0.6853 GB, free: 11.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1795, allocations: 0 / 0.6853 GB, free: 11.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008909/0.1804, allocations: 245.3 kB / 0.6855 GB, free: 10.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1804, allocations: 6.344 kB / 0.6855 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1804, allocations: 8.312 kB / 0.6856 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1804, allocations: 0 / 0.6856 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.1808, allocations: 52.69 kB / 0.6856 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1808, allocations: 0 / 0.6856 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.181, allocations: 39.89 kB / 0.6856 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.181, allocations: 11.98 kB / 0.6857 GB, free: 10.66 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 0.0001057/0.1811, allocations: 115.1 kB / 0.6858 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.1812, allocations: 4 kB / 0.6858 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.1812, allocations: 16.38 kB / 0.6858 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.1812, allocations: 0 / 0.6858 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1813, allocations: 7.938 kB / 0.6858 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1813, allocations: 0 / 0.6858 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.1829, allocations: 0.5974 MB / 0.6864 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1829, allocations: 3.984 kB / 0.6864 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.1832, allocations: 52.02 kB / 0.6864 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1832, allocations: 3.984 kB / 0.6864 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.1832, allocations: 8 kB / 0.6864 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1832, allocations: 0 / 0.6864 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1832, allocations: 3.938 kB / 0.6864 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009271/0.1842, allocations: 344.8 kB / 0.6868 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.1842, allocations: 77.11 kB / 0.6868 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.1843, allocations: 8 kB / 0.6869 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.1845, allocations: 35.95 kB / 0.6869 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.1846, allocations: 11.92 kB / 0.6869 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.1846, allocations: 7.984 kB / 0.6869 GB, free: 9.266 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.905e-05/0.1846, allocations: 87.28 kB / 0.687 GB, free: 9.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1846, allocations: 0 / 0.687 GB, free: 9.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002987/0.185, allocations: 39.98 kB / 0.687 GB, free: 9.141 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.0002098/0.1852, allocations: 131.2 kB / 0.6872 GB, free: 9.004 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009004/0.1861, allocations: 215.7 kB / 0.6874 GB, free: 8.793 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1861, allocations: 3.938 kB / 0.6874 GB, free: 8.789 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004335/0.1865, allocations: 108 kB / 0.6875 GB, free: 8.684 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.1868, allocations: 8 kB / 0.6875 GB, free: 8.676 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.1883, allocations: 418.6 kB / 0.6879 GB, free: 8.234 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.1885, allocations: 0.6884 MB / 0.6885 GB, free: 7.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.1886, allocations: 24.61 kB / 0.6886 GB, free: 7.492 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.867e-05/0.1887, allocations: 23.42 kB / 0.6886 GB, free: 7.469 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1887, allocations: 0 / 0.6886 GB, free: 7.469 MB / 494.1 MB Notification: Performance of Templates: time 0.004234/0.193, allocations: 1.64 MB / 0.6902 GB, free: 5.832 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)