Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1716/0.1722, allocations: 82.22 MB / 0.5934 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0008156/0.1731, allocations: 322.8 kB / 0.5937 GB, free: 5.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.1748, allocations: 1.359 MB / 0.595 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.625e-05/0.1748, allocations: 0 / 0.595 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.1749, allocations: 0 / 0.595 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.472e-05/0.1749, allocations: 8 kB / 0.595 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.1753, allocations: 75.69 kB / 0.5951 GB, free: 4.223 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.795e-05/0.1754, allocations: 12 kB / 0.5951 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.459e-05/0.1754, allocations: 7.984 kB / 0.5951 GB, free: 4.203 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.343e-05/0.1755, allocations: 15.92 kB / 0.5951 GB, free: 4.188 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.141e-05/0.1756, allocations: 19.91 kB / 0.5951 GB, free: 4.168 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.1756, allocations: 4 kB / 0.5951 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003254/0.1759, allocations: 211.6 kB / 0.5953 GB, free: 3.957 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.176, allocations: 7.984 kB / 0.5954 GB, free: 3.949 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.176, allocations: 33.64 kB / 0.5954 GB, free: 3.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.1762, allocations: 104.1 kB / 0.5955 GB, free: 3.809 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1762, allocations: 3.938 kB / 0.5955 GB, free: 3.805 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1762, allocations: 0 / 0.5955 GB, free: 3.805 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1762, allocations: 0 / 0.5955 GB, free: 3.805 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005136/0.1767, allocations: 370.3 kB / 0.5958 GB, free: 3.398 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1768, allocations: 8.031 kB / 0.5958 GB, free: 3.391 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003963/0.1772, allocations: 75.83 kB / 0.5959 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.1774, allocations: 167.1 kB / 0.5961 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1774, allocations: 0 / 0.5961 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.1774, allocations: 11.95 kB / 0.5961 GB, free: 3.102 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.1777, allocations: 81.58 kB / 0.5962 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1777, allocations: 0 / 0.5962 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1777, allocations: 0 / 0.5962 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.1777, allocations: 0 / 0.5962 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/0.1781, allocations: 91.91 kB / 0.5963 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.1783, allocations: 173.5 kB / 0.5964 GB, free: 2.707 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.1788, allocations: 150.5 kB / 0.5966 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.1789, allocations: 3.953 kB / 0.5966 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.1789, allocations: 38.48 kB / 0.5966 GB, free: 2.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1789, allocations: 0 / 0.5966 GB, free: 2.5 MB / 446.1 MB 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.004042/0.183, allocations: 0.9572 MB / 0.5975 GB, free: 1.539 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.183, allocations: 51.41 kB / 0.5976 GB, free: 1.477 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.175e-05/0.1831, allocations: 117.8 kB / 0.5977 GB, free: 1.352 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1831, allocations: 25.7 kB / 0.5977 GB, free: 1.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.1832, allocations: 92.12 kB / 0.5978 GB, free: 1.227 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.321e-05/0.1833, allocations: 31.5 kB / 0.5978 GB, free: 1.195 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-06/0.1833, allocations: 0 / 0.5978 GB, free: 1.195 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1834, allocations: 318.8 kB / 0.5981 GB, free: 0.875 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/0.1838, allocations: 119.9 kB / 0.5983 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004034/0.1842, allocations: 111.9 kB / 0.5984 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.1846, allocations: 120.1 kB / 0.5985 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1847, allocations: 0 / 0.5985 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008775/0.1855, allocations: 281.4 kB / 0.5988 GB, free: 256 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1856, allocations: 4 kB / 0.5988 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1856, allocations: 3.984 kB / 0.5988 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1856, allocations: 4 kB / 0.5988 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.1859, allocations: 63.94 kB / 0.5988 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1859, allocations: 4 kB / 0.5988 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.1862, allocations: 47.95 kB / 0.5989 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1862, allocations: 4 kB / 0.5989 GB, free: 124 kB / 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.1863, allocations: 118.1 kB / 0.599 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.1863, allocations: 11.84 kB / 0.599 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.1864, allocations: 12.38 kB / 0.599 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1864, allocations: 0 / 0.599 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1864, allocations: 0 / 0.599 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1864, allocations: 0 / 0.599 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.1881, allocations: 0.6599 MB / 0.5997 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1881, allocations: 0 / 0.5997 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.1884, allocations: 67.94 kB / 0.5997 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1884, allocations: 4 kB / 0.5997 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1884, allocations: 4 kB / 0.5997 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1884, allocations: 7.938 kB / 0.5997 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1884, allocations: 0 / 0.5997 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009453/0.1894, allocations: 412.4 kB / 0.6001 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.1894, allocations: 81.02 kB / 0.6002 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.1894, allocations: 4 kB / 0.6002 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.1897, allocations: 47.95 kB / 0.6003 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.1897, allocations: 11.94 kB / 0.6003 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.557e-06/0.1898, allocations: 4.188 kB / 0.6003 GB, free: 14.56 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.765e-05/0.1898, allocations: 91.27 kB / 0.6004 GB, free: 14.47 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1898, allocations: 7.938 kB / 0.6004 GB, free: 14.46 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.1901, allocations: 43.98 kB / 0.6004 GB, free: 14.42 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002219/0.1904, allocations: 127.2 kB / 0.6005 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009082/0.1913, allocations: 247.7 kB / 0.6008 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1913, allocations: 0 / 0.6008 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.1917, allocations: 132 kB / 0.6009 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.1919, allocations: 4 kB / 0.6009 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.1934, allocations: 480.2 kB / 0.6014 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.1937, allocations: 0.6896 MB / 0.602 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.1938, allocations: 17.45 kB / 0.602 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.1939, allocations: 27.36 kB / 0.6021 GB, free: 12.65 MB / 462.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1939, allocations: 3.938 kB / 0.6021 GB, free: 12.64 MB / 462.1 MB Notification: Performance of Templates: time 0.003855/0.1978, allocations: 1.549 MB / 0.6036 GB, free: 11.11 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) Environment - environmentSimulation: