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.0008086/0.0008086, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000906/0.0009061, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001756/0.001756, allocations: 270 kB / 291.3 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9203/0.9203, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.0004092, allocations: 17.59 kB / 0.598 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1746, allocations: 88.54 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0007273/0.1754, allocations: 347.2 kB / 0.6848 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.177, allocations: 1.395 MB / 0.6862 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.177, allocations: 0 / 0.6862 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.1771, allocations: 0.5625 kB / 0.6862 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.045e-05/0.1772, allocations: 0.5938 kB / 0.6862 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.1775, allocations: 98.39 kB / 0.6863 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.871e-05/0.1776, allocations: 23.91 kB / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.1776, allocations: 0.5 kB / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.358e-05/0.1777, allocations: 15.92 kB / 0.6863 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.877e-05/0.1778, allocations: 20.72 kB / 0.6863 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.1778, allocations: 4 kB / 0.6863 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004118/0.1782, allocations: 299.9 kB / 0.6866 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.1782, allocations: 20.48 kB / 0.6866 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.1783, allocations: 25.7 kB / 0.6867 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.1785, allocations: 134.4 kB / 0.6868 GB, free: 13.06 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1785, allocations: 0 / 0.6868 GB, free: 13.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1785, allocations: 0 / 0.6868 GB, free: 13.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1785, allocations: 0 / 0.6868 GB, free: 13.06 MB / 494.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.0004472/0.1789, allocations: 372.3 kB / 0.6872 GB, free: 12.65 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.179, allocations: 8.031 kB / 0.6872 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003425/0.1793, allocations: 72.92 kB / 0.6872 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.1795, allocations: 187.9 kB / 0.6874 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1795, allocations: 4 kB / 0.6874 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.1795, allocations: 0 / 0.6874 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.1798, allocations: 80.83 kB / 0.6875 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1798, allocations: 4 kB / 0.6875 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1798, allocations: 0 / 0.6875 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1798, allocations: 0 / 0.6875 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/0.1802, allocations: 91.92 kB / 0.6876 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.1803, allocations: 173.6 kB / 0.6878 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.1808, allocations: 142.4 kB / 0.6879 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.181, allocations: 56.94 kB / 0.6879 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.181, allocations: 4 kB / 0.6879 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.181, allocations: 30.56 kB / 0.688 GB, free: 11.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.181, allocations: 0 / 0.688 GB, free: 11.7 MB / 494.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.003641/0.1847, allocations: 0.9477 MB / 0.6889 GB, free: 10.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.1847, allocations: 51.41 kB / 0.6889 GB, free: 10.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.765e-05/0.1848, allocations: 117.8 kB / 0.6891 GB, free: 10.56 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1849, allocations: 29.7 kB / 0.6891 GB, free: 10.53 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.1849, allocations: 88.12 kB / 0.6892 GB, free: 10.44 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.1849, allocations: 27.56 kB / 0.6892 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/0.185, allocations: 0 / 0.6892 GB, free: 10.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1851, allocations: 322.8 kB / 0.6895 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.1854, allocations: 115.9 kB / 0.6896 GB, free: 9.973 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.1858, allocations: 119.9 kB / 0.6897 GB, free: 9.855 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.1862, allocations: 115.8 kB / 0.6898 GB, free: 9.742 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1862, allocations: 0 / 0.6898 GB, free: 9.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007778/0.187, allocations: 285.4 kB / 0.6901 GB, free: 9.457 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.187, allocations: 4 kB / 0.6901 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.187, allocations: 0 / 0.6901 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.187, allocations: 0 / 0.6901 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.1873, allocations: 75.81 kB / 0.6902 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.1873, allocations: 4 kB / 0.6902 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.1876, allocations: 47.91 kB / 0.6902 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.1876, allocations: 8 kB / 0.6902 GB, free: 9.32 MB / 494.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 9.309e-05/0.1877, allocations: 118.5 kB / 0.6904 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.1877, allocations: 3.906 kB / 0.6904 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.985e-05/0.1877, allocations: 12.38 kB / 0.6904 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1877, allocations: 0 / 0.6904 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1878, allocations: 0 / 0.6904 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1878, allocations: 0 / 0.6904 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.1893, allocations: 0.6677 MB / 0.691 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1893, allocations: 0 / 0.691 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.1896, allocations: 64.75 kB / 0.6911 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1896, allocations: 4 kB / 0.6911 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1896, allocations: 3.953 kB / 0.6911 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1896, allocations: 4 kB / 0.6911 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1896, allocations: 3.984 kB / 0.6911 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008244/0.1904, allocations: 381.2 kB / 0.6915 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.1905, allocations: 85.02 kB / 0.6916 GB, free: 7.875 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.1905, allocations: 4.094 kB / 0.6916 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.1907, allocations: 55.84 kB / 0.6916 GB, free: 7.816 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.1908, allocations: 15.98 kB / 0.6916 GB, free: 7.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.1908, allocations: 4 kB / 0.6916 GB, free: 7.797 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.117e-05/0.1909, allocations: 95.25 kB / 0.6917 GB, free: 7.703 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1909, allocations: 0 / 0.6917 GB, free: 7.703 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000287/0.1912, allocations: 35.98 kB / 0.6918 GB, free: 7.668 MB / 494.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.0002347/0.1914, allocations: 129.3 kB / 0.6919 GB, free: 7.535 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008338/0.1922, allocations: 255.7 kB / 0.6921 GB, free: 7.285 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1923, allocations: 0 / 0.6921 GB, free: 7.285 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.1927, allocations: 128 kB / 0.6922 GB, free: 7.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.1929, allocations: 12.69 kB / 0.6923 GB, free: 7.148 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.1943, allocations: 477.4 kB / 0.6927 GB, free: 6.652 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.1945, allocations: 0.6888 MB / 0.6934 GB, free: 5.938 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.1947, allocations: 20.66 kB / 0.6934 GB, free: 5.914 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.368e-05/0.1947, allocations: 19.42 kB / 0.6934 GB, free: 5.895 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1947, allocations: 0 / 0.6934 GB, free: 5.895 MB / 494.1 MB Notification: Performance of Templates: time 0.004012/0.1988, allocations: 1.562 MB / 0.6949 GB, free: 4.336 MB / 494.1 MB 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)