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.001321/0.001321, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001175/0.001175, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.32/1.32, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 282.7 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.977/0.977, allocations: 169.2 MB / 0.4977 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 93.22 kB / 0.5945 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1634, allocations: 86.98 MB / 0.6794 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.004243/0.1677, allocations: 1.497 MB / 0.6809 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.1698, allocations: 0.8057 MB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.979e-05/0.1699, allocations: 3.938 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.217e-05/0.1699, allocations: 4.922 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.224e-05/0.17, allocations: 3.938 kB / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.1706, allocations: 106.8 kB / 0.6818 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.899e-05/0.1706, allocations: 27.92 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1708, allocations: 4.531 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.699e-05/0.1708, allocations: 19.98 kB / 0.6818 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.527e-05/0.1709, allocations: 23.89 kB / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1709, allocations: 0 / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000758/0.1717, allocations: 311.4 kB / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.1717, allocations: 7.984 kB / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.1718, allocations: 11.92 kB / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004304/0.1722, allocations: 195.9 kB / 0.6824 GB, free: 14.15 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1722, allocations: 0 / 0.6824 GB, free: 14.15 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1723, allocations: 0 / 0.6824 GB, free: 14.15 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.1723, allocations: 0 / 0.6824 GB, free: 14.15 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.0007193/0.173, allocations: 373.4 kB / 0.6827 GB, free: 13.74 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.1731, allocations: 12.03 kB / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006892/0.1738, allocations: 68.84 kB / 0.6828 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.1739, allocations: 168.3 kB / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.174, allocations: 384 / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.174, allocations: 384 / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/0.1745, allocations: 101.8 kB / 0.6831 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1745, allocations: 0 / 0.6831 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.1745, allocations: 0 / 0.6831 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1745, allocations: 4 kB / 0.6831 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006133/0.1752, allocations: 87.89 kB / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008223/0.176, allocations: 304.8 kB / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006412/0.1767, allocations: 94.5 kB / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000363/0.177, allocations: 56.8 kB / 0.6836 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.1771, allocations: 0 / 0.6836 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.1771, allocations: 34.56 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.1771, allocations: 0 / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.001324/0.1785, allocations: 165.5 kB / 0.6838 GB, free: 12.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.1785, allocations: 51.41 kB / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.1787, allocations: 102 kB / 0.6839 GB, free: 12.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.1787, allocations: 29.83 kB / 0.684 GB, free: 12.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.1788, allocations: 88.12 kB / 0.684 GB, free: 12.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.1788, allocations: 3.906 kB / 0.684 GB, free: 12.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.811e-05/0.1789, allocations: 17.66 kB / 0.6841 GB, free: 12.22 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002609/0.1792, allocations: 314.8 kB / 0.6844 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/0.1796, allocations: 55.88 kB / 0.6844 GB, free: 11.85 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/0.18, allocations: 44.02 kB / 0.6845 GB, free: 11.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007457/0.1808, allocations: 92.77 kB / 0.6845 GB, free: 11.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1808, allocations: 0 / 0.6845 GB, free: 11.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0007837/0.1817, allocations: 117.6 kB / 0.6847 GB, free: 11.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.1817, allocations: 8.031 kB / 0.6847 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.1817, allocations: 7.984 kB / 0.6847 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1818, allocations: 0 / 0.6847 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.1821, allocations: 19.98 kB / 0.6847 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1821, allocations: 0 / 0.6847 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.1823, allocations: 23.97 kB / 0.6847 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.1823, allocations: 3.984 kB / 0.6847 GB, free: 11.53 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.1825, allocations: 119 kB / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.1825, allocations: 3.906 kB / 0.6848 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.1826, allocations: 15.05 kB / 0.6848 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1826, allocations: 0 / 0.6848 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1826, allocations: 0 / 0.6848 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1827, allocations: 0 / 0.6848 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.183, allocations: 169.6 kB / 0.685 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.183, allocations: 7.984 kB / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.1832, allocations: 19.98 kB / 0.685 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1833, allocations: 0 / 0.685 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.1833, allocations: 3.984 kB / 0.685 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1833, allocations: 0 / 0.685 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.1833, allocations: 4 kB / 0.685 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008965/0.1842, allocations: 219.4 kB / 0.6853 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.1843, allocations: 81.14 kB / 0.6853 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.1843, allocations: 0 / 0.6853 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.1846, allocations: 15.98 kB / 0.6853 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.1847, allocations: 7.922 kB / 0.6854 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.1847, allocations: 0 / 0.6854 GB, free: 10.79 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.389e-05/0.1848, allocations: 83.28 kB / 0.6854 GB, free: 10.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1848, allocations: 0 / 0.6854 GB, free: 10.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004549/0.1853, allocations: 27.98 kB / 0.6855 GB, free: 10.68 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 (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.0002187/0.1855, allocations: 99.25 kB / 0.6856 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008472/0.1864, allocations: 95.89 kB / 0.6856 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1864, allocations: 0 / 0.6856 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.1868, allocations: 52.02 kB / 0.6857 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005066/0.1873, allocations: 11.88 kB / 0.6857 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/0.1883, allocations: 175.3 kB / 0.6859 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.1888, allocations: 0.6809 MB / 0.6865 GB, free: 9.508 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.1889, allocations: 8 kB / 0.6865 GB, free: 9.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.189, allocations: 7.438 kB / 0.6866 GB, free: 9.492 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.189, allocations: 0 / 0.6866 GB, free: 9.492 MB / 494.1 MB Notification: Performance of Templates: time 0.005081/0.1941, allocations: 0.735 MB / 0.6873 GB, free: 8.766 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)