Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008936/0.0008938, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.0008267/0.0008267, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.3 MB / 240 MB, free: 5.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001849/0.001849, allocations: 267.2 kB / 291.3 MB, free: 1.762 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9241/0.9241, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004223/0.0004223, allocations: 14.25 kB / 0.598 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1754, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.001554/0.177, allocations: 1.151 MB / 0.6856 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1781, allocations: 0.7372 MB / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.201e-05/0.1781, allocations: 0 / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.1781, allocations: 3.938 kB / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.14e-05/0.1782, allocations: 0 / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.1785, allocations: 94.06 kB / 0.6864 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.376e-05/0.1786, allocations: 24.42 kB / 0.6864 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.171e-05/0.1787, allocations: 8.562 kB / 0.6864 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.1787, allocations: 13.83 kB / 0.6865 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.993e-05/0.1788, allocations: 19.97 kB / 0.6865 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.1788, allocations: 4 kB / 0.6865 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.1792, allocations: 303.4 kB / 0.6868 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.1792, allocations: 7.938 kB / 0.6868 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.1793, allocations: 30.33 kB / 0.6868 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.1795, allocations: 140 kB / 0.6869 GB, free: 12.94 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1795, allocations: 1.406 kB / 0.6869 GB, free: 12.94 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1795, allocations: 0 / 0.6869 GB, free: 12.94 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.279e-06/0.1795, allocations: 0 / 0.6869 GB, free: 12.94 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004738/0.18, allocations: 373.3 kB / 0.6873 GB, free: 12.53 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.18, allocations: 12.03 kB / 0.6873 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/0.1804, allocations: 81.62 kB / 0.6874 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.1805, allocations: 175 kB / 0.6876 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.1806, allocations: 1.688 kB / 0.6876 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.1806, allocations: 0 / 0.6876 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.1809, allocations: 101.7 kB / 0.6877 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1809, allocations: 0 / 0.6877 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1809, allocations: 0 / 0.6877 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1809, allocations: 0 / 0.6877 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003562/0.1813, allocations: 124.5 kB / 0.6878 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004676/0.1818, allocations: 300.9 kB / 0.6881 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.1821, allocations: 110.5 kB / 0.6882 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.1823, allocations: 72.8 kB / 0.6882 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.1823, allocations: 0 / 0.6882 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.1823, allocations: 34.56 kB / 0.6883 GB, free: 11.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.1823, allocations: 0 / 0.6883 GB, free: 11.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000633/0.183, allocations: 209.4 kB / 0.6885 GB, free: 11.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.183, allocations: 55.41 kB / 0.6885 GB, free: 11.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.84e-05/0.1831, allocations: 102 kB / 0.6886 GB, free: 11.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1831, allocations: 25.7 kB / 0.6886 GB, free: 11.01 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.1832, allocations: 84.14 kB / 0.6887 GB, free: 10.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.1832, allocations: 7.891 kB / 0.6887 GB, free: 10.92 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.1832, allocations: 0 / 0.6887 GB, free: 10.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.1833, allocations: 314.8 kB / 0.689 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.1835, allocations: 59.89 kB / 0.6891 GB, free: 10.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.1837, allocations: 55.95 kB / 0.6891 GB, free: 10.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.1838, allocations: 59.95 kB / 0.6892 GB, free: 10.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1839, allocations: 0 / 0.6892 GB, free: 10.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003828/0.1842, allocations: 149.6 kB / 0.6893 GB, free: 10.28 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1843, allocations: 9.25 kB / 0.6893 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1843, allocations: 0 / 0.6893 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1843, allocations: 0 / 0.6893 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.1845, allocations: 35.94 kB / 0.6894 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.1845, allocations: 3.953 kB / 0.6894 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.913e-05/0.1846, allocations: 23.97 kB / 0.6894 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1846, allocations: 0 / 0.6894 GB, free: 10.21 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.875e-05/0.1847, allocations: 106.5 kB / 0.6895 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.1847, allocations: 8 kB / 0.6895 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.1847, allocations: 7.125 kB / 0.6895 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1847, allocations: 3.938 kB / 0.6895 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1847, allocations: 0 / 0.6895 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1848, allocations: 3.953 kB / 0.6895 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.1849, allocations: 173.6 kB / 0.6897 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1849, allocations: 4 kB / 0.6897 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.1851, allocations: 27.97 kB / 0.6897 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1851, allocations: 0 / 0.6897 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1851, allocations: 4 kB / 0.6897 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1851, allocations: 256 / 0.6897 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1851, allocations: 0 / 0.6897 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.1855, allocations: 247.3 kB / 0.69 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.1856, allocations: 81.11 kB / 0.69 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.1856, allocations: 4 kB / 0.6901 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.1857, allocations: 28 kB / 0.6901 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.1858, allocations: 0 / 0.6901 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.1858, allocations: 3.984 kB / 0.6901 GB, free: 9.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.438e-05/0.1858, allocations: 83.28 kB / 0.6902 GB, free: 9.344 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1858, allocations: 3.938 kB / 0.6902 GB, free: 9.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.1861, allocations: 15.95 kB / 0.6902 GB, free: 9.324 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001556/0.1862, allocations: 111.2 kB / 0.6903 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003914/0.1866, allocations: 119.9 kB / 0.6904 GB, free: 9.086 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1866, allocations: 0 / 0.6904 GB, free: 9.086 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.1868, allocations: 60.02 kB / 0.6905 GB, free: 9.027 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.1871, allocations: 7.984 kB / 0.6905 GB, free: 9.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.1876, allocations: 180.6 kB / 0.6906 GB, free: 8.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.1878, allocations: 0.6848 MB / 0.6913 GB, free: 8.109 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.948e-05/0.1879, allocations: 7.938 kB / 0.6913 GB, free: 8.102 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.1879, allocations: 15.42 kB / 0.6913 GB, free: 8.086 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1879, allocations: 4 kB / 0.6913 GB, free: 8.082 MB / 494.1 MB Notification: Performance of Templates: time 0.00294/0.1909, allocations: 0.7128 MB / 0.692 GB, free: 7.375 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)