Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009007/0.0009007, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009357/0.0009358, allocations: 195.5 kB / 16.25 MB, free: 6.621 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.119/1.119, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.452/1.452, allocations: 292.3 MB / 0.5485 GB, free: 13.67 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 70.25 kB / 0.671 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1629, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001615/0.1645, allocations: 0.6977 MB / 0.7836 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1659, allocations: 1.48 MB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.901e-05/0.1659, allocations: 4 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.166, allocations: 3.938 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.662e-05/0.166, allocations: 0 / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.1663, allocations: 103.7 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.626e-05/0.1664, allocations: 31.92 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.244e-05/0.1664, allocations: 3.984 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.521e-05/0.1665, allocations: 15.88 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.746e-05/0.1665, allocations: 19.91 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.1665, allocations: 4 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003493/0.1669, allocations: 315.4 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.1669, allocations: 7.922 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.1669, allocations: 15.88 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.1672, allocations: 191.9 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1672, allocations: 0 / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1672, allocations: 4 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.1672, allocations: 0 / 0.7857 GB, free: 11 MB / 0.6075 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.0003843/0.1676, allocations: 371.4 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.1676, allocations: 8.031 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003314/0.1679, allocations: 68.7 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1681, allocations: 180.3 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1681, allocations: 384 / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.1681, allocations: 4.375 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.1683, allocations: 77.95 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1683, allocations: 0 / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1683, allocations: 4 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-06/0.1684, allocations: 0 / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.1687, allocations: 67.92 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.1688, allocations: 169.7 kB / 0.7866 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.1693, allocations: 126.4 kB / 0.7867 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.1694, allocations: 40.94 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.1695, allocations: 0 / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.1695, allocations: 46.48 kB / 0.7868 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 7.81e-07/0.1695, allocations: 3.938 kB / 0.7868 GB, free: 9.691 MB / 0.6075 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.003572/0.1731, allocations: 0.7901 MB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.1731, allocations: 59.41 kB / 0.7876 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.731e-05/0.1732, allocations: 109.8 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1732, allocations: 25.7 kB / 0.7878 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.584e-05/0.1732, allocations: 84.14 kB / 0.7878 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.1733, allocations: 31.56 kB / 0.7879 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.1733, allocations: 25.7 kB / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.074e-05/0.1734, allocations: 322.8 kB / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.1738, allocations: 95.89 kB / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/0.1741, allocations: 95.94 kB / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006901/0.1748, allocations: 200.6 kB / 0.7886 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1749, allocations: 0 / 0.7886 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000787/0.1756, allocations: 245.3 kB / 0.7888 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1757, allocations: 4 kB / 0.7888 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1757, allocations: 4 kB / 0.7888 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.1757, allocations: 0 / 0.7888 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.176, allocations: 51.94 kB / 0.7889 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.176, allocations: 0 / 0.7889 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.1762, allocations: 43.95 kB / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1762, allocations: 0 / 0.7889 GB, free: 7.469 MB / 0.6075 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 6.574e-05/0.1763, allocations: 117.8 kB / 0.789 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.1763, allocations: 7.906 kB / 0.789 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.1763, allocations: 16.36 kB / 0.789 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1763, allocations: 0 / 0.789 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1764, allocations: 7.938 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1764, allocations: 0 / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.1778, allocations: 0.5897 MB / 0.7896 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1778, allocations: 0 / 0.7896 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.178, allocations: 56 kB / 0.7897 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.178, allocations: 0 / 0.7897 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.178, allocations: 8 kB / 0.7897 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.178, allocations: 0 / 0.7897 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1781, allocations: 15.86 kB / 0.7897 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007874/0.1788, allocations: 341.1 kB / 0.79 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.1789, allocations: 93 kB / 0.7901 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.1789, allocations: 0 / 0.7901 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.1791, allocations: 39.95 kB / 0.7902 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.1792, allocations: 11.92 kB / 0.7902 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.1792, allocations: 8 kB / 0.7902 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.924e-05/0.1792, allocations: 95.64 kB / 0.7903 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1793, allocations: 0 / 0.7903 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002508/0.1795, allocations: 36 kB / 0.7903 GB, free: 5.93 MB / 0.6075 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.0001643/0.1797, allocations: 127.2 kB / 0.7904 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007796/0.1805, allocations: 215.7 kB / 0.7906 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1805, allocations: 0 / 0.7906 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003792/0.1809, allocations: 108 kB / 0.7907 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.1811, allocations: 8 kB / 0.7907 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.1823, allocations: 418.3 kB / 0.7911 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.1825, allocations: 0.6884 MB / 0.7918 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.1826, allocations: 24.66 kB / 0.7918 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.1827, allocations: 19.44 kB / 0.7919 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1827, allocations: 0 / 0.7919 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of Templates: time 0.003152/0.1859, allocations: 1.634 MB / 0.7934 GB, free: 2.641 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)