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.001132/0.001132, allocations: 108 kB / 15.6 MB, free: 132 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.001147/0.001147, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.144/1.144, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.498/1.498, allocations: 292.3 MB / 0.5489 GB, free: 13.54 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.001339/0.001339, allocations: 67.16 kB / 0.6715 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1695, allocations: 114.5 MB / 0.7834 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001646/0.1712, allocations: 0.6439 MB / 0.784 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1727, allocations: 1.482 MB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.1727, allocations: 0 / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.1727, allocations: 3.938 kB / 0.7855 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.541e-05/0.1728, allocations: 7.938 kB / 0.7855 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.1731, allocations: 123.5 kB / 0.7856 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.529e-05/0.1732, allocations: 23.98 kB / 0.7856 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.425e-05/0.1732, allocations: 3.984 kB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.913e-05/0.1733, allocations: 15.94 kB / 0.7856 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.368e-05/0.1733, allocations: 27.78 kB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1733, allocations: 11.94 kB / 0.7857 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003904/0.1737, allocations: 311.4 kB / 0.786 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.1738, allocations: 7.984 kB / 0.786 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.1738, allocations: 11.94 kB / 0.786 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.174, allocations: 187.8 kB / 0.7862 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.174, allocations: 0 / 0.7862 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.174, allocations: 0 / 0.7862 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.174, allocations: 0 / 0.7862 GB, free: 10.74 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.0004125/0.1745, allocations: 383.4 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.1745, allocations: 8.031 kB / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003489/0.1748, allocations: 64.77 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.175, allocations: 172.3 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.175, allocations: 8.297 kB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.175, allocations: 4.375 kB / 0.7868 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.1753, allocations: 77.95 kB / 0.7868 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1753, allocations: 0 / 0.7868 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1753, allocations: 4 kB / 0.7868 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1753, allocations: 0 / 0.7868 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/0.1756, allocations: 67.92 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.1758, allocations: 169.7 kB / 0.7871 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005013/0.1763, allocations: 126.4 kB / 0.7872 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.1765, allocations: 44.94 kB / 0.7872 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.1765, allocations: 4 kB / 0.7872 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.1765, allocations: 38.5 kB / 0.7873 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 2.044e-06/0.1765, allocations: 3.984 kB / 0.7873 GB, free: 9.43 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.00378/0.1803, allocations: 0.7794 MB / 0.788 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.1803, allocations: 63.39 kB / 0.7881 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.608e-05/0.1804, allocations: 109.8 kB / 0.7882 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1804, allocations: 33.64 kB / 0.7882 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.732e-05/0.1805, allocations: 80.14 kB / 0.7883 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.1805, allocations: 27.56 kB / 0.7883 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.1806, allocations: 29.7 kB / 0.7884 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.595e-05/0.1807, allocations: 318.8 kB / 0.7887 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004099/0.1811, allocations: 100.1 kB / 0.7888 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/0.1815, allocations: 99.94 kB / 0.7889 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007775/0.1823, allocations: 200.6 kB / 0.7891 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1823, allocations: 0 / 0.7891 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008626/0.1832, allocations: 245.3 kB / 0.7893 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1832, allocations: 7.938 kB / 0.7893 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1832, allocations: 0 / 0.7893 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1832, allocations: 4 kB / 0.7893 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.1835, allocations: 51.94 kB / 0.7893 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1835, allocations: 0 / 0.7893 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.1837, allocations: 39.95 kB / 0.7894 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.1837, allocations: 4 kB / 0.7894 GB, free: 7.203 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.809e-05/0.1838, allocations: 114.4 kB / 0.7895 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.1839, allocations: 7.906 kB / 0.7895 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.1839, allocations: 12.36 kB / 0.7895 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1839, allocations: 4 kB / 0.7895 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1839, allocations: 0 / 0.7895 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1839, allocations: 0 / 0.7895 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.1855, allocations: 0.5974 MB / 0.7901 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1855, allocations: 0 / 0.7901 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.1857, allocations: 56 kB / 0.7902 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1857, allocations: 0 / 0.7902 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1857, allocations: 4 kB / 0.7902 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1858, allocations: 0 / 0.7902 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1858, allocations: 4.281 kB / 0.7902 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008961/0.1867, allocations: 348.8 kB / 0.7905 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.1867, allocations: 89 kB / 0.7906 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.1867, allocations: 0 / 0.7906 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.187, allocations: 47.89 kB / 0.7906 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.187, allocations: 15.86 kB / 0.7906 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.187, allocations: 4 kB / 0.7906 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.873e-05/0.1871, allocations: 95.27 kB / 0.7907 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1871, allocations: 0 / 0.7907 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002592/0.1874, allocations: 36 kB / 0.7908 GB, free: 5.672 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.0001813/0.1875, allocations: 127.2 kB / 0.7909 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008768/0.1884, allocations: 211.7 kB / 0.7911 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1884, allocations: 4 kB / 0.7911 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004214/0.1889, allocations: 104 kB / 0.7912 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.1891, allocations: 8 kB / 0.7912 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.1906, allocations: 410.3 kB / 0.7916 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.1908, allocations: 0.6885 MB / 0.7923 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.969e-05/0.1909, allocations: 21.44 kB / 0.7923 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.1909, allocations: 15.44 kB / 0.7923 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.1909, allocations: 4 kB / 0.7923 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of Templates: time 0.00347/0.1944, allocations: 1.665 MB / 0.7939 GB, free: 2.367 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)