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.0007417/0.0007418, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005131/0.005132, allocations: 168.5 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001728/0.001728, allocations: 266.7 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9341/0.9341, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004271/0.0004271, allocations: 23.97 kB / 0.5987 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1712, allocations: 88.54 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0006724/0.1719, allocations: 367 kB / 0.6855 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.1735, allocations: 1.451 MB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.699e-05/0.1735, allocations: 2.812 kB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.1735, allocations: 4 kB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.327e-05/0.1736, allocations: 3.938 kB / 0.6869 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.1739, allocations: 93.16 kB / 0.687 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.557e-05/0.174, allocations: 27.97 kB / 0.687 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.174, allocations: 4.5 kB / 0.687 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.576e-05/0.1741, allocations: 7.938 kB / 0.687 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.318e-05/0.1741, allocations: 32.48 kB / 0.6871 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.1742, allocations: 0.5312 kB / 0.6871 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004087/0.1746, allocations: 311.4 kB / 0.6874 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.1746, allocations: 18.16 kB / 0.6874 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.8e-05/0.1746, allocations: 37.62 kB / 0.6874 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.1749, allocations: 187.9 kB / 0.6876 GB, free: 12.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1749, allocations: 0 / 0.6876 GB, free: 12.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1749, allocations: 0 / 0.6876 GB, free: 12.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1749, allocations: 0 / 0.6876 GB, free: 12.52 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.0004169/0.1753, allocations: 373.2 kB / 0.688 GB, free: 12.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1754, allocations: 12.69 kB / 0.688 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/0.1758, allocations: 69.83 kB / 0.688 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.1759, allocations: 176.2 kB / 0.6882 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1759, allocations: 5.094 kB / 0.6882 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.1759, allocations: 4.375 kB / 0.6882 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.1762, allocations: 85.17 kB / 0.6883 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1762, allocations: 0 / 0.6883 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.1762, allocations: 4 kB / 0.6883 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1762, allocations: 0 / 0.6883 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/0.1766, allocations: 79.92 kB / 0.6884 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.1768, allocations: 173.7 kB / 0.6885 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005401/0.1773, allocations: 150.4 kB / 0.6887 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.1775, allocations: 52.94 kB / 0.6887 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.1775, allocations: 3.938 kB / 0.6887 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.1776, allocations: 38.5 kB / 0.6888 GB, free: 11.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1776, allocations: 0 / 0.6888 GB, free: 11.16 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.004189/0.1818, allocations: 0.9517 MB / 0.6897 GB, free: 10.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.1818, allocations: 51.41 kB / 0.6898 GB, free: 10.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.663e-05/0.1819, allocations: 113.8 kB / 0.6899 GB, free: 10.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.1819, allocations: 29.7 kB / 0.6899 GB, free: 9.988 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.5e-05/0.182, allocations: 92.12 kB / 0.69 GB, free: 9.895 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.182, allocations: 27.55 kB / 0.69 GB, free: 9.867 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.182, allocations: 17.7 kB / 0.69 GB, free: 9.844 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.924e-05/0.1821, allocations: 318.8 kB / 0.6903 GB, free: 9.523 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004334/0.1826, allocations: 115.9 kB / 0.6904 GB, free: 9.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.183, allocations: 119.9 kB / 0.6906 GB, free: 9.293 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008299/0.1838, allocations: 236.6 kB / 0.6908 GB, free: 9.059 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1839, allocations: 0 / 0.6908 GB, free: 9.059 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009286/0.1848, allocations: 285.6 kB / 0.6911 GB, free: 8.773 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1848, allocations: 8 kB / 0.6911 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1848, allocations: 96 / 0.6911 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1849, allocations: 3.938 kB / 0.6911 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.1852, allocations: 64.69 kB / 0.6911 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1852, allocations: 3.938 kB / 0.6911 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.1854, allocations: 51.95 kB / 0.6912 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.1855, allocations: 7.984 kB / 0.6912 GB, free: 8.637 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.699e-05/0.1856, allocations: 119.1 kB / 0.6913 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.1856, allocations: 7.906 kB / 0.6913 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.1856, allocations: 8.375 kB / 0.6913 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1856, allocations: 0 / 0.6913 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1856, allocations: 8 kB / 0.6913 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1857, allocations: 3.984 kB / 0.6913 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.1874, allocations: 0.6598 MB / 0.692 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1874, allocations: 0 / 0.692 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.1876, allocations: 64 kB / 0.692 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1877, allocations: 0 / 0.692 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1877, allocations: 11.98 kB / 0.692 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.1877, allocations: 0 / 0.692 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1877, allocations: 4 kB / 0.692 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009393/0.1886, allocations: 376.9 kB / 0.6924 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.1887, allocations: 85.02 kB / 0.6925 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.1887, allocations: 4 kB / 0.6925 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.189, allocations: 47.95 kB / 0.6925 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.189, allocations: 15.86 kB / 0.6926 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.189, allocations: 7.984 kB / 0.6926 GB, free: 7.117 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.295e-05/0.1891, allocations: 91.28 kB / 0.6926 GB, free: 7.027 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1891, allocations: 0 / 0.6926 GB, free: 7.027 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000283/0.1894, allocations: 43.98 kB / 0.6927 GB, free: 6.984 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 (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.0001925/0.1896, allocations: 127.2 kB / 0.6928 GB, free: 6.852 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009372/0.1905, allocations: 256.3 kB / 0.6931 GB, free: 6.602 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1905, allocations: 0 / 0.6931 GB, free: 6.602 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.191, allocations: 132 kB / 0.6932 GB, free: 6.473 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.1912, allocations: 8.969 kB / 0.6932 GB, free: 6.465 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.1928, allocations: 488 kB / 0.6937 GB, free: 5.957 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.193, allocations: 0.6848 MB / 0.6943 GB, free: 5.246 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.1931, allocations: 24.66 kB / 0.6943 GB, free: 5.219 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/0.1932, allocations: 19.42 kB / 0.6944 GB, free: 5.199 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1932, allocations: 0 / 0.6944 GB, free: 5.199 MB / 494.1 MB Notification: Performance of Templates: time 0.003764/0.197, allocations: 1.587 MB / 0.6959 GB, free: 3.617 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)