Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, 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.001079/0.001079, allocations: 192.9 kB / 16.64 MB, free: 6.594 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.11/1.11, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.468/1.468, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001244/0.001244, allocations: 68.91 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1608, allocations: 114.6 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001813/0.1626, allocations: 0.8057 MB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.1641, allocations: 1.507 MB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.731e-05/0.1641, allocations: 0 / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.1642, allocations: 3.938 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.226e-05/0.1642, allocations: 3.938 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.1646, allocations: 143.5 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.397e-05/0.1647, allocations: 47.95 kB / 0.7866 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.1647, allocations: 7.984 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.062e-05/0.1648, allocations: 23.92 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.321e-05/0.1649, allocations: 39.83 kB / 0.7867 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.1649, allocations: 4 kB / 0.7867 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003696/0.1653, allocations: 315.4 kB / 0.787 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.1653, allocations: 15.97 kB / 0.787 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.1653, allocations: 27.86 kB / 0.787 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.1656, allocations: 215.4 kB / 0.7872 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.1656, allocations: 3.938 kB / 0.7872 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1656, allocations: 0 / 0.7872 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.1656, allocations: 0 / 0.7872 GB, free: 9.602 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005263/0.1662, allocations: 399.4 kB / 0.7876 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.521e-05/0.1662, allocations: 12.03 kB / 0.7876 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003923/0.1666, allocations: 72.75 kB / 0.7877 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.842e-05/0.1667, allocations: 164.4 kB / 0.7878 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.1667, allocations: 8.375 kB / 0.7878 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.1667, allocations: 4.375 kB / 0.7878 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.1671, allocations: 119 kB / 0.788 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.1671, allocations: 4 kB / 0.788 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1671, allocations: 0 / 0.788 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1671, allocations: 4 kB / 0.788 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004161/0.1675, allocations: 99.89 kB / 0.7881 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.168, allocations: 340.5 kB / 0.7884 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005639/0.1686, allocations: 166.4 kB / 0.7885 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.1688, allocations: 48.81 kB / 0.7886 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.1688, allocations: 4 kB / 0.7886 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.1688, allocations: 38.56 kB / 0.7886 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1688, allocations: 0 / 0.7886 GB, free: 7.988 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=11): time 0.01557/0.1844, allocations: 2.814 MB / 0.7914 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.1845, allocations: 63.28 kB / 0.7914 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.287e-05/0.1845, allocations: 101.8 kB / 0.7915 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.1846, allocations: 25.7 kB / 0.7916 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.1846, allocations: 103.9 kB / 0.7917 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.098e-05/0.1847, allocations: 39.44 kB / 0.7917 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.1848, allocations: 69.58 kB / 0.7918 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.361e-05/0.1849, allocations: 318.8 kB / 0.7921 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005989/0.1855, allocations: 191.9 kB / 0.7922 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000585/0.1861, allocations: 198.9 kB / 0.7924 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.1873, allocations: 388.5 kB / 0.7928 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1873, allocations: 0 / 0.7928 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001375/0.1887, allocations: 477.1 kB / 0.7933 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.1887, allocations: 4 kB / 0.7933 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.1887, allocations: 0 / 0.7933 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1887, allocations: 8 kB / 0.7933 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000712/0.1895, allocations: 107.8 kB / 0.7934 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.1895, allocations: 4.031 kB / 0.7934 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.19, allocations: 51.88 kB / 0.7934 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/0.1901, allocations: 19.94 kB / 0.7934 GB, free: 2.898 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 (13): * Single equations (assignments): 13 * 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 0.0001164/0.1902, allocations: 118.5 kB / 0.7936 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.1903, allocations: 7.906 kB / 0.7936 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.1903, allocations: 11.97 kB / 0.7936 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1903, allocations: 3.984 kB / 0.7936 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1903, allocations: 7.938 kB / 0.7936 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1903, allocations: 3.938 kB / 0.7936 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.1923, allocations: 1.043 MB / 0.7946 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1923, allocations: 0 / 0.7946 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007116/0.193, allocations: 107.8 kB / 0.7947 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.193, allocations: 3.938 kB / 0.7947 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/0.1931, allocations: 23.92 kB / 0.7947 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1931, allocations: 3.938 kB / 0.7947 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1931, allocations: 0 / 0.7947 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.1951, allocations: 0.7956 MB / 0.7955 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.1953, allocations: 120.9 kB / 0.7956 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/0.1953, allocations: 4 kB / 0.7956 GB, free: 500 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005876/0.1959, allocations: 48 kB / 0.7957 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.052e-05/0.196, allocations: 27.92 kB / 0.7957 GB, free: 424 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.1961, allocations: 23.94 kB / 0.7957 GB, free: 400 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.188e-05/0.1961, allocations: 87.27 kB / 0.7958 GB, free: 312 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1961, allocations: 0 / 0.7958 GB, free: 312 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003207/0.1964, allocations: 44 kB / 0.7959 GB, free: 268 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001596/0.1966, allocations: 123.5 kB / 0.796 GB, free: 136 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001291/0.1979, allocations: 423.6 kB / 0.7964 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1979, allocations: 0 / 0.7964 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006421/0.1986, allocations: 223.7 kB / 0.7966 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.1989, allocations: 19.92 kB / 0.7966 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.2025, allocations: 0.7586 MB / 0.7974 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.2027, allocations: 0.6924 MB / 0.798 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004679/0.2032, allocations: 84.67 kB / 0.7981 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.2034, allocations: 55.3 kB / 0.7982 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2034, allocations: 4 kB / 0.7982 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of Templates: time 0.004933/0.2083, allocations: 3.483 MB / 0.8016 GB, free: 10.36 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)