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.001122/0.001122, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 197.3 kB / 16.64 MB, free: 6.445 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.101/1.101, allocations: 205.1 MB / 222.5 MB, free: 4.582 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.493/1.493, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001266/0.001266, allocations: 68.84 kB / 0.6723 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1622, allocations: 114.5 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00166/0.1639, allocations: 0.6384 MB / 0.7848 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.1654, allocations: 1.49 MB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.635e-05/0.1655, allocations: 0 / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.1655, allocations: 0 / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.243e-05/0.1656, allocations: 3.938 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.1659, allocations: 127.5 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.429e-05/0.166, allocations: 31.84 kB / 0.7864 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.166, allocations: 0 / 0.7864 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.777e-05/0.1661, allocations: 15.92 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.379e-05/0.1661, allocations: 19.91 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.1661, allocations: 4 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/0.1665, allocations: 315.4 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.1665, allocations: 7.984 kB / 0.7867 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.1666, allocations: 19.8 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.1668, allocations: 191.6 kB / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.1669, allocations: 0 / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1669, allocations: 0 / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.1669, allocations: 0 / 0.7869 GB, free: 9.906 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.0004184/0.1673, allocations: 371.4 kB / 0.7873 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.1673, allocations: 12.03 kB / 0.7873 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003636/0.1677, allocations: 64.77 kB / 0.7873 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.1678, allocations: 176.3 kB / 0.7875 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1679, allocations: 4.375 kB / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.1679, allocations: 384 / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.1681, allocations: 81.95 kB / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.1681, allocations: 0 / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1681, allocations: 0 / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.1682, allocations: 3.938 kB / 0.7876 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.1685, allocations: 83.78 kB / 0.7877 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.1686, allocations: 161.7 kB / 0.7878 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.1691, allocations: 126.5 kB / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.1693, allocations: 44.95 kB / 0.788 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.1693, allocations: 4 kB / 0.788 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.1693, allocations: 38.5 kB / 0.788 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1694, allocations: 0 / 0.788 GB, free: 8.598 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.00367/0.173, allocations: 0.7899 MB / 0.7888 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.1731, allocations: 51.41 kB / 0.7889 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.656e-05/0.1732, allocations: 109.8 kB / 0.789 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1732, allocations: 33.7 kB / 0.789 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.1732, allocations: 88.12 kB / 0.7891 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.1733, allocations: 31.55 kB / 0.7891 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/0.1733, allocations: 25.7 kB / 0.7891 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.367e-05/0.1734, allocations: 314.8 kB / 0.7894 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.1738, allocations: 95.89 kB / 0.7895 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.1742, allocations: 103.8 kB / 0.7896 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007093/0.1749, allocations: 188.7 kB / 0.7898 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1749, allocations: 3.984 kB / 0.7898 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007926/0.1757, allocations: 249.5 kB / 0.79 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1757, allocations: 8 kB / 0.79 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1757, allocations: 0 / 0.79 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.1757, allocations: 0 / 0.79 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.176, allocations: 55.94 kB / 0.7901 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.176, allocations: 4 kB / 0.7901 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.1762, allocations: 31.95 kB / 0.7901 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.1763, allocations: 4 kB / 0.7901 GB, free: 6.375 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 7.768e-05/0.1763, allocations: 130.4 kB / 0.7903 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.1764, allocations: 3.906 kB / 0.7903 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/0.1764, allocations: 12.38 kB / 0.7903 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1764, allocations: 0 / 0.7903 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1764, allocations: 0 / 0.7903 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1764, allocations: 0 / 0.7903 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.1778, allocations: 0.5935 MB / 0.7909 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1779, allocations: 4 kB / 0.7909 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.1781, allocations: 59.94 kB / 0.7909 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1781, allocations: 4 kB / 0.7909 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1781, allocations: 3.984 kB / 0.7909 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1781, allocations: 4 kB / 0.7909 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1781, allocations: 0 / 0.7909 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008262/0.179, allocations: 348.8 kB / 0.7913 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.179, allocations: 81.02 kB / 0.7913 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.179, allocations: 4 kB / 0.7913 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.1793, allocations: 35.95 kB / 0.7914 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.1793, allocations: 16.3 kB / 0.7914 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1793, allocations: 4 kB / 0.7914 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.448e-05/0.1794, allocations: 91.27 kB / 0.7915 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1794, allocations: 0 / 0.7915 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002509/0.1796, allocations: 39.98 kB / 0.7915 GB, free: 4.844 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.000182/0.1798, allocations: 131.2 kB / 0.7916 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008094/0.1806, allocations: 207.9 kB / 0.7918 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1807, allocations: 0 / 0.7918 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004002/0.1811, allocations: 111.9 kB / 0.792 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.1813, allocations: 12 kB / 0.792 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.1826, allocations: 406.2 kB / 0.7924 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.1828, allocations: 0.6846 MB / 0.793 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.056e-05/0.1829, allocations: 25.44 kB / 0.793 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.183, allocations: 19.42 kB / 0.7931 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.183, allocations: 0 / 0.7931 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of Templates: time 0.003302/0.1863, allocations: 1.657 MB / 0.7947 GB, free: 1.547 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)