Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized") translateModel(IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001025/0.001025, allocations: 105.8 kB / 16.4 MB, free: 6.512 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.001015/0.001015, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7591/0.7591, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 68.5 kB / 0.5685 GB, free: 28.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1665, allocations: 77.93 MB / 0.6446 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002662/0.1692, allocations: 1.424 MB / 0.646 GB, free: 7.598 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1705, allocations: 0.7963 MB / 0.6467 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.52e-05/0.1705, allocations: 0 / 0.6467 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.1706, allocations: 3.938 kB / 0.6467 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.534e-05/0.1706, allocations: 3.938 kB / 0.6467 GB, free: 6.785 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.1711, allocations: 127.5 kB / 0.6469 GB, free: 6.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.564e-05/0.1712, allocations: 39.84 kB / 0.6469 GB, free: 6.621 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.727e-05/0.1713, allocations: 4 kB / 0.6469 GB, free: 6.617 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.606e-05/0.1713, allocations: 15.98 kB / 0.6469 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.1714, allocations: 15.92 kB / 0.6469 GB, free: 6.586 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.1714, allocations: 4 kB / 0.6469 GB, free: 6.582 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004352/0.1719, allocations: 323.3 kB / 0.6473 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.1719, allocations: 11.98 kB / 0.6473 GB, free: 6.254 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.1719, allocations: 11.94 kB / 0.6473 GB, free: 6.242 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.1722, allocations: 203.4 kB / 0.6475 GB, free: 6.043 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1722, allocations: 0 / 0.6475 GB, free: 6.043 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1722, allocations: 3.938 kB / 0.6475 GB, free: 6.039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1722, allocations: 0 / 0.6475 GB, free: 6.039 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.0005431/0.1728, allocations: 378.9 kB / 0.6478 GB, free: 5.621 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1728, allocations: 8.625 kB / 0.6478 GB, free: 5.613 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000476/0.1733, allocations: 72.8 kB / 0.6479 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.1734, allocations: 168.4 kB / 0.6481 GB, free: 5.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.1735, allocations: 384 / 0.6481 GB, free: 5.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.1735, allocations: 4.375 kB / 0.6481 GB, free: 5.336 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.1738, allocations: 81.94 kB / 0.6482 GB, free: 5.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.1738, allocations: 0 / 0.6482 GB, free: 5.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1738, allocations: 0 / 0.6482 GB, free: 5.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1738, allocations: 4 kB / 0.6482 GB, free: 5.246 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.1742, allocations: 95.89 kB / 0.6482 GB, free: 5.152 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.1747, allocations: 300.7 kB / 0.6485 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.1751, allocations: 94.5 kB / 0.6486 GB, free: 4.707 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.1753, allocations: 56.86 kB / 0.6487 GB, free: 4.648 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.1754, allocations: 0 / 0.6487 GB, free: 4.648 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.1754, allocations: 34.56 kB / 0.6487 GB, free: 4.605 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.1754, allocations: 0 / 0.6487 GB, free: 4.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006966/0.1761, allocations: 173.5 kB / 0.6489 GB, free: 4.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.1762, allocations: 55.39 kB / 0.6489 GB, free: 4.363 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.454e-05/0.1762, allocations: 97.86 kB / 0.649 GB, free: 4.258 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.1763, allocations: 25.7 kB / 0.649 GB, free: 4.227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.1763, allocations: 84.14 kB / 0.6491 GB, free: 4.141 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.1763, allocations: 7.938 kB / 0.6491 GB, free: 4.133 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.1764, allocations: 21.75 kB / 0.6492 GB, free: 4.105 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.1765, allocations: 310.8 kB / 0.6495 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.1767, allocations: 39.95 kB / 0.6495 GB, free: 3.754 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.1769, allocations: 55.94 kB / 0.6495 GB, free: 3.699 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/0.1773, allocations: 92.77 kB / 0.6496 GB, free: 3.605 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1773, allocations: 0 / 0.6496 GB, free: 3.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004239/0.1777, allocations: 121.5 kB / 0.6497 GB, free: 3.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1778, allocations: 4 kB / 0.6498 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1778, allocations: 0 / 0.6498 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1778, allocations: 0 / 0.6498 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.178, allocations: 28 kB / 0.6498 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.178, allocations: 0 / 0.6498 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.1781, allocations: 20.22 kB / 0.6498 GB, free: 3.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.1781, allocations: 0 / 0.6498 GB, free: 3.43 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 7.156e-05/0.1782, allocations: 114.7 kB / 0.6499 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.1782, allocations: 12 kB / 0.6499 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.1782, allocations: 7.109 kB / 0.6499 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1783, allocations: 0 / 0.6499 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1783, allocations: 0 / 0.6499 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1783, allocations: 3.938 kB / 0.6499 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.1784, allocations: 177.5 kB / 0.6501 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1785, allocations: 3.938 kB / 0.6501 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.1786, allocations: 23.97 kB / 0.6501 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1786, allocations: 4 kB / 0.6501 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.1786, allocations: 0 / 0.6501 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1786, allocations: 7.922 kB / 0.6501 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1786, allocations: 0 / 0.6501 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.1791, allocations: 223.3 kB / 0.6504 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.1792, allocations: 85.09 kB / 0.6504 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.1792, allocations: 0 / 0.6504 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.1793, allocations: 16.02 kB / 0.6504 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.1794, allocations: 11.98 kB / 0.6505 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.1794, allocations: 0 / 0.6505 GB, free: 2.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.552e-05/0.1794, allocations: 79.28 kB / 0.6505 GB, free: 2.582 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1794, allocations: 0 / 0.6505 GB, free: 2.582 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.1797, allocations: 12 kB / 0.6505 GB, free: 2.57 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.0001578/0.1798, allocations: 107.2 kB / 0.6506 GB, free: 2.453 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004643/0.1803, allocations: 99.84 kB / 0.6507 GB, free: 2.355 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1803, allocations: 4.062 kB / 0.6507 GB, free: 2.352 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.1805, allocations: 51.94 kB / 0.6508 GB, free: 2.301 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.1808, allocations: 5.656 kB / 0.6508 GB, free: 2.297 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005524/0.1814, allocations: 161.5 kB / 0.651 GB, free: 2.113 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.1816, allocations: 0.6768 MB / 0.6516 GB, free: 1.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.562e-05/0.1817, allocations: 12 kB / 0.6516 GB, free: 1.398 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.1818, allocations: 11.44 kB / 0.6516 GB, free: 1.387 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1818, allocations: 0 / 0.6516 GB, free: 1.387 MB / 494.1 MB Notification: Performance of Templates: time 0.002842/0.1846, allocations: 0.8162 MB / 0.6524 GB, free: 0.5742 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)