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.004399/0.004399, allocations: 103.5 kB / 15.74 MB, free: 6.484 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.001095/0.001095, allocations: 196.3 kB / 16.68 MB, free: 6.375 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00215/0.002151, allocations: 282.4 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.954/0.954, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 103.8 kB / 0.6815 GB, free: 15.39 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1592, allocations: 86.97 MB / 0.7664 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001697/0.161, allocations: 0.6276 MB / 0.767 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1628, allocations: 1.454 MB / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/0.1628, allocations: 0 / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.1629, allocations: 3.938 kB / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.369e-05/0.1629, allocations: 3.938 kB / 0.7685 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.1634, allocations: 127.4 kB / 0.7686 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.554e-05/0.1634, allocations: 23.98 kB / 0.7686 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.228e-05/0.1635, allocations: 3.984 kB / 0.7686 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.94e-05/0.1635, allocations: 15.88 kB / 0.7686 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.233e-05/0.1636, allocations: 19.91 kB / 0.7687 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.1636, allocations: 4 kB / 0.7687 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.1641, allocations: 315.4 kB / 0.769 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.1641, allocations: 3.984 kB / 0.769 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.1641, allocations: 23.8 kB / 0.769 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.1644, allocations: 195.6 kB / 0.7692 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.1644, allocations: 0 / 0.7692 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.914e-06/0.1644, allocations: 0 / 0.7692 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.1645, allocations: 0 / 0.7692 GB, free: 5.516 MB / 0.5606 GB 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.000478/0.1649, allocations: 375.3 kB / 0.7695 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.165, allocations: 8.031 kB / 0.7695 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003622/0.1653, allocations: 60.86 kB / 0.7696 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.1655, allocations: 180.2 kB / 0.7698 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.1655, allocations: 4.312 kB / 0.7698 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.1656, allocations: 4.375 kB / 0.7698 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.1658, allocations: 77.95 kB / 0.7699 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1658, allocations: 0 / 0.7699 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1659, allocations: 4 kB / 0.7699 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1659, allocations: 0 / 0.7699 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/0.1662, allocations: 71.92 kB / 0.7699 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.1664, allocations: 169.7 kB / 0.7701 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000528/0.1669, allocations: 126.4 kB / 0.7702 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.1671, allocations: 40.94 kB / 0.7702 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1671, allocations: 7.984 kB / 0.7703 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.1672, allocations: 38.5 kB / 0.7703 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1672, allocations: 0 / 0.7703 GB, free: 4.211 MB / 0.5606 GB 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.003947/0.1711, allocations: 0.7868 MB / 0.7711 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.1712, allocations: 51.41 kB / 0.7711 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.493e-05/0.1713, allocations: 117.8 kB / 0.7712 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1713, allocations: 25.7 kB / 0.7712 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.1714, allocations: 88.14 kB / 0.7713 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.1714, allocations: 27.56 kB / 0.7714 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/0.1715, allocations: 25.7 kB / 0.7714 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1716, allocations: 322.8 kB / 0.7717 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.172, allocations: 95.89 kB / 0.7718 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.1724, allocations: 99.94 kB / 0.7719 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008076/0.1733, allocations: 196.6 kB / 0.7721 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1733, allocations: 0 / 0.7721 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009082/0.1742, allocations: 245.3 kB / 0.7723 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1742, allocations: 8 kB / 0.7723 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1742, allocations: 4 kB / 0.7723 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1742, allocations: 0 / 0.7723 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.1745, allocations: 47.94 kB / 0.7724 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1746, allocations: 8 kB / 0.7724 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.1748, allocations: 35.95 kB / 0.7724 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.1748, allocations: 4 kB / 0.7724 GB, free: 1.988 MB / 0.5606 GB 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 9.341e-05/0.1749, allocations: 118.4 kB / 0.7725 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.1749, allocations: 7.906 kB / 0.7725 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.175, allocations: 16.3 kB / 0.7725 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.175, allocations: 4 kB / 0.7725 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.175, allocations: 0 / 0.7725 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.175, allocations: 0 / 0.7725 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.1766, allocations: 0.5935 MB / 0.7731 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1766, allocations: 4 kB / 0.7731 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.1769, allocations: 52 kB / 0.7732 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1769, allocations: 4 kB / 0.7732 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1769, allocations: 4 kB / 0.7732 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1769, allocations: 4 kB / 0.7732 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.177, allocations: 7.922 kB / 0.7732 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009332/0.1779, allocations: 341.1 kB / 0.7735 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.1779, allocations: 89 kB / 0.7736 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.178, allocations: 4 kB / 0.7736 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.1782, allocations: 39.95 kB / 0.7736 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.1783, allocations: 15.91 kB / 0.7737 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.1783, allocations: 8.375 kB / 0.7737 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.208e-05/0.1784, allocations: 91.27 kB / 0.7738 GB, free: 500 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1784, allocations: 0 / 0.7738 GB, free: 500 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002862/0.1787, allocations: 36 kB / 0.7738 GB, free: 464 kB / 0.5606 GB 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.0001925/0.1789, allocations: 131.2 kB / 0.7739 GB, free: 324 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009076/0.1798, allocations: 211.7 kB / 0.7741 GB, free: 112 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1798, allocations: 0 / 0.7741 GB, free: 112 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004403/0.1802, allocations: 108 kB / 0.7742 GB, free: 4 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2791/0.4594, allocations: 8.984 kB / 0.7742 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.4609, allocations: 396.7 kB / 0.7746 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.354e-05/0.461, allocations: 0.6881 MB / 0.7753 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.4611, allocations: 21.3 kB / 0.7753 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.501e-05/0.4612, allocations: 18.59 kB / 0.7753 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.4612, allocations: 1.828 kB / 0.7753 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.003829/0.4651, allocations: 1.67 MB / 0.7769 GB, free: 14.27 MB / 0.5606 GB 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)