Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.006914/0.006914, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001229/0.001229, allocations: 190.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.1 MB / 222.6 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6551/0.6551, allocations: 95.49 MB / 365.4 MB, free: 9.691 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 74.41 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1705, allocations: 69.09 MB / 0.5711 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003033/0.1736, allocations: 1.412 MB / 0.5725 GB, free: 6.891 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004442/0.1741, allocations: 140.5 kB / 0.5726 GB, free: 6.754 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.533e-05/0.1741, allocations: 0 / 0.5726 GB, free: 6.754 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.418e-05/0.1742, allocations: 3.938 kB / 0.5726 GB, free: 6.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.708e-05/0.1742, allocations: 7.984 kB / 0.5726 GB, free: 6.742 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.1746, allocations: 27.92 kB / 0.5726 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.84e-05/0.1747, allocations: 23.92 kB / 0.5727 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1748, allocations: 11.98 kB / 0.5727 GB, free: 6.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.992e-05/0.1748, allocations: 11.94 kB / 0.5727 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.518e-05/0.1749, allocations: 11.92 kB / 0.5727 GB, free: 6.656 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.1749, allocations: 0 / 0.5727 GB, free: 6.656 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.425e-05/0.175, allocations: 27.97 kB / 0.5727 GB, free: 6.629 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.175, allocations: 0 / 0.5727 GB, free: 6.629 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.1751, allocations: 19.86 kB / 0.5727 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.1752, allocations: 31.89 kB / 0.5728 GB, free: 6.578 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1752, allocations: 0 / 0.5728 GB, free: 6.578 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1752, allocations: 0 / 0.5728 GB, free: 6.578 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1752, allocations: 4 kB / 0.5728 GB, free: 6.574 MB / 446.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.0005024/0.1757, allocations: 339.5 kB / 0.5731 GB, free: 6.195 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.1758, allocations: 15.98 kB / 0.5731 GB, free: 6.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.863e-05/0.1759, allocations: 4.938 kB / 0.5731 GB, free: 6.176 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.176, allocations: 168.3 kB / 0.5733 GB, free: 5.973 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.176, allocations: 8.125 kB / 0.5733 GB, free: 5.965 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.1761, allocations: 0 / 0.5733 GB, free: 5.965 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1762, allocations: 49.67 kB / 0.5733 GB, free: 5.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.1763, allocations: 4 kB / 0.5733 GB, free: 5.906 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.1763, allocations: 0 / 0.5733 GB, free: 5.906 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1763, allocations: 0 / 0.5733 GB, free: 5.906 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.1764, allocations: 35.95 kB / 0.5734 GB, free: 5.871 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.1768, allocations: 260.8 kB / 0.5736 GB, free: 5.566 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.177, allocations: 42.55 kB / 0.5737 GB, free: 5.516 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.276e-05/0.177, allocations: 20.91 kB / 0.5737 GB, free: 5.492 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005663/0.1776, allocations: 417.5 kB / 0.5741 GB, free: 4.992 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/0.1777, allocations: 30.56 kB / 0.5741 GB, free: 4.953 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.1777, allocations: 0 / 0.5741 GB, free: 4.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004814/0.1782, allocations: 89.58 kB / 0.5742 GB, free: 4.859 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.1783, allocations: 51.41 kB / 0.5742 GB, free: 4.797 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.1784, allocations: 101.9 kB / 0.5743 GB, free: 4.688 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1784, allocations: 25.7 kB / 0.5744 GB, free: 4.656 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.1785, allocations: 84.12 kB / 0.5744 GB, free: 4.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.1785, allocations: 3.906 kB / 0.5744 GB, free: 4.566 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.1786, allocations: 21.84 kB / 0.5745 GB, free: 4.539 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.1788, allocations: 318.7 kB / 0.5748 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.989e-05/0.1789, allocations: 19.98 kB / 0.5748 GB, free: 4.199 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.226e-05/0.179, allocations: 15.97 kB / 0.5748 GB, free: 4.184 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.1791, allocations: 36.89 kB / 0.5748 GB, free: 4.145 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1791, allocations: 4 kB / 0.5748 GB, free: 4.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002277/0.1794, allocations: 73.58 kB / 0.5749 GB, free: 4.062 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.1794, allocations: 4 kB / 0.5749 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1794, allocations: 0 / 0.5749 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.1794, allocations: 0 / 0.5749 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1796, allocations: 15.98 kB / 0.5749 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.1796, allocations: 0 / 0.5749 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.1796, allocations: 8.031 kB / 0.5749 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1797, allocations: 3.938 kB / 0.5749 GB, free: 4.031 MB / 446.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.0001235/0.1798, allocations: 113.8 kB / 0.575 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.1798, allocations: 4 kB / 0.5751 GB, free: 3.906 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.1801, allocations: 76.64 kB / 0.5751 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1801, allocations: 7.938 kB / 0.5751 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1801, allocations: 0 / 0.5751 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1802, allocations: 4.031 kB / 0.5751 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.1804, allocations: 161.6 kB / 0.5753 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1804, allocations: 256 / 0.5753 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.1805, allocations: 12 kB / 0.5753 GB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1805, allocations: 0 / 0.5753 GB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1805, allocations: 0 / 0.5753 GB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1805, allocations: 0 / 0.5753 GB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1805, allocations: 3.984 kB / 0.5753 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.1808, allocations: 167.5 kB / 0.5755 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.1809, allocations: 81.09 kB / 0.5755 GB, free: 3.312 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.1809, allocations: 4 kB / 0.5755 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.112e-05/0.181, allocations: 4 kB / 0.5755 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.1811, allocations: 3.984 kB / 0.5756 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1811, allocations: 0 / 0.5756 GB, free: 3.301 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.188e-05/0.1812, allocations: 87.22 kB / 0.5756 GB, free: 3.215 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1812, allocations: 7.969 kB / 0.5756 GB, free: 3.207 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.1814, allocations: 12 kB / 0.5757 GB, free: 3.195 MB / 446.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.0002093/0.1816, allocations: 103.2 kB / 0.5758 GB, free: 3.082 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002696/0.1819, allocations: 35.95 kB / 0.5758 GB, free: 3.047 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1819, allocations: 0 / 0.5758 GB, free: 3.047 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.661e-05/0.182, allocations: 24.05 kB / 0.5758 GB, free: 3.023 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.1824, allocations: 9.078 kB / 0.5758 GB, free: 3.016 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.1828, allocations: 105.5 kB / 0.5759 GB, free: 2.887 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1832, allocations: 0.6806 MB / 0.5766 GB, free: 2.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.613e-05/0.1832, allocations: 4 kB / 0.5766 GB, free: 2.176 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.1833, allocations: 7.438 kB / 0.5766 GB, free: 2.168 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1833, allocations: 0 / 0.5766 GB, free: 2.168 MB / 446.1 MB Notification: Performance of Templates: time 0.003285/0.1865, allocations: 0.5941 MB / 0.5772 GB, free: 1.582 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)